Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.Tutorial.Example_1.Example_1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(OpenIPSL.Examples.Tutorial.Example_1.Example_1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.Tutorial.Example_1.Example_1") translateModel(OpenIPSL.Examples.Tutorial.Example_1.Example_1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.Tutorial.Example_1.Example_1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00101/0.00101, allocations: 169.2 kB / 16.1 MB, free: 5.688 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.296/1.296, allocations: 223.3 MB / 240.1 MB, free: 9.973 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007957/0.0007958, allocations: 101 kB / 291.3 MB, free: 10.57 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4643/0.4643, allocations: 78.62 MB / 421 MB, free: 9.039 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000434/0.0004343, allocations: 15.94 kB / 0.4894 GB, free: 9.234 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3391/0.3395, allocations: 69.34 MB / 0.5571 GB, free: 18.8 MB / 378.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.Tutorial.Example_1.Example_1): time 0.004352/0.3439, allocations: 5.083 MB / 0.5621 GB, free: 13.69 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.003585/0.3475, allocations: 1.755 MB / 0.5638 GB, free: 11.93 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008622/0.3484, allocations: 4 kB / 0.5638 GB, free: 11.93 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005154/0.349, allocations: 127.2 kB / 0.5639 GB, free: 11.8 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/Electrical/Branches/PSAT/TwoWindingTransformer.mo:44:3-44:83:writable] Warning: In relation transformer.m <> 1.0, <> on Real numbers is only allowed inside functions. Notification: Performance of NFTyping.typeBindings: time 0.001637/0.3506, allocations: 0.5926 MB / 0.5645 GB, free: 11.21 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000876/0.3515, allocations: 465.6 kB / 0.565 GB, free: 10.76 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008205/0.3523, allocations: 1.125 MB / 0.5661 GB, free: 9.629 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003058/0.3526, allocations: 222.7 kB / 0.5663 GB, free: 9.395 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003542/0.353, allocations: 414 kB / 0.5667 GB, free: 8.988 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004492/0.3535, allocations: 0.5327 MB / 0.5672 GB, free: 8.453 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 9.223e-05/0.3536, allocations: 48 kB / 0.5672 GB, free: 8.406 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003389/0.3539, allocations: 179.8 kB / 0.5674 GB, free: 8.23 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001301/0.354, allocations: 183.1 kB / 0.5676 GB, free: 8.051 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002741/0.3543, allocations: 474.9 kB / 0.568 GB, free: 7.578 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006752/0.355, allocations: 1.073 MB / 0.5691 GB, free: 6.504 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.858e-06/0.355, allocations: 0 / 0.5691 GB, free: 6.504 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.303e-06/0.355, allocations: 3.938 kB / 0.5691 GB, free: 6.5 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.2e-05/0.355, allocations: 0 / 0.5691 GB, free: 6.5 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 132 * Number of variables: 132 Notification: Performance of Generate backend data structure: time 0.006184/0.3612, allocations: 1.706 MB / 0.5708 GB, free: 4.742 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.838e-05/0.3613, allocations: 11.97 kB / 0.5708 GB, free: 4.73 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004995/0.3663, allocations: 0.5344 MB / 0.5713 GB, free: 4.195 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001369/0.3677, allocations: 0.678 MB / 0.5719 GB, free: 3.477 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000223/0.3679, allocations: 162.3 kB / 0.5721 GB, free: 3.301 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001555/0.3681, allocations: 55.91 kB / 0.5722 GB, free: 3.246 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002187/0.3703, allocations: 0.8267 MB / 0.573 GB, free: 2.406 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.239e-05/0.3703, allocations: 0 / 0.573 GB, free: 2.406 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.871e-05/0.3705, allocations: 20 kB / 0.573 GB, free: 2.387 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.807e-05/0.3705, allocations: 16 kB / 0.573 GB, free: 2.371 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002093/0.3726, allocations: 0.7351 MB / 0.5737 GB, free: 1.637 MB / 378.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007346/0.38, allocations: 2.944 MB / 0.5766 GB, free: 14.57 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02102/0.401, allocations: 3.926 MB / 0.5804 GB, free: 10.59 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001904/0.403, allocations: 0.5217 MB / 0.5809 GB, free: 10.07 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001304/0.4031, allocations: 12.56 kB / 0.5809 GB, free: 10.05 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.431e-05/0.4032, allocations: 39.12 kB / 0.581 GB, free: 10 MB / 394.7 MB Notification: Performance of pre-optimization done (n=64): time 5.41e-06/0.4032, allocations: 0 / 0.581 GB, free: 10 MB / 394.7 MB Notification: Performance of matching and sorting (n=64): time 0.0188/0.422, allocations: 3.918 MB / 0.5848 GB, free: 6.012 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.192e-05/0.4222, allocations: 85.67 kB / 0.5849 GB, free: 5.91 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001787/0.424, allocations: 0.7821 MB / 0.5857 GB, free: 5.117 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001489/0.4241, allocations: 37.7 kB / 0.5857 GB, free: 5.074 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004554/0.4246, allocations: 380.5 kB / 0.5861 GB, free: 4.699 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003422/0.4249, allocations: 228.7 kB / 0.5863 GB, free: 4.473 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000213/0.4252, allocations: 97.66 kB / 0.5864 GB, free: 4.371 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001935/0.4254, allocations: 349.9 kB / 0.5867 GB, free: 4.023 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001903/0.4273, allocations: 0.5876 MB / 0.5873 GB, free: 3.438 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002092/0.4294, allocations: 0.6937 MB / 0.588 GB, free: 2.711 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02898/0.4584, allocations: 4.31 MB / 0.5922 GB, free: 14.38 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.887e-06/0.4585, allocations: 8 kB / 0.5922 GB, free: 14.38 MB / 410.7 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.0077/0.4662, allocations: 2.872 MB / 0.595 GB, free: 11.48 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001184/0.4663, allocations: 143 kB / 0.5951 GB, free: 11.32 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.308e-06/0.4663, allocations: 0 / 0.5951 GB, free: 11.32 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004203/0.4705, allocations: 1.198 MB / 0.5963 GB, free: 10.11 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008925/0.4714, allocations: 171.8 kB / 0.5964 GB, free: 9.941 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01042/0.4819, allocations: 5.114 MB / 0.6014 GB, free: 4.688 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001315/0.4832, allocations: 147 kB / 0.6016 GB, free: 4.543 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.693e-05/0.4833, allocations: 31.98 kB / 0.6016 GB, free: 4.512 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.588e-06/0.4834, allocations: 4 kB / 0.6016 GB, free: 4.508 MB / 410.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007339/0.4907, allocations: 2.739 MB / 0.6043 GB, free: 1.754 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.064e-05/0.4907, allocations: 7.938 kB / 0.6043 GB, free: 1.746 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004078/0.4948, allocations: 1.205 MB / 0.6055 GB, free: 0.5312 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008991/0.4958, allocations: 163.7 kB / 0.6056 GB, free: 380 kB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01025/0.506, allocations: 5.104 MB / 0.6106 GB, free: 11.13 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001207/0.5073, allocations: 123.3 kB / 0.6107 GB, free: 11.01 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.994e-05/0.5074, allocations: 35.98 kB / 0.6108 GB, free: 10.98 MB / 426.7 MB Warning: Assuming fixed start value for the following 2 variables: G1.machine.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real G1.machine.delta:VARIABLE(flow=false start = G1.machine.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (104): * Single equations (assignments): 101 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(7,13,59.2%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005974/0.508, allocations: 306.6 kB / 0.6111 GB, free: 10.67 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001507/0.5081, allocations: 82.97 kB / 0.6111 GB, free: 10.59 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006344/0.5145, allocations: 2.403 MB / 0.6135 GB, free: 8.16 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.175e-05/0.5145, allocations: 7.984 kB / 0.6135 GB, free: 8.152 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.173e-05/0.5145, allocations: 7.938 kB / 0.6135 GB, free: 8.145 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.047e-05/0.5145, allocations: 7.984 kB / 0.6135 GB, free: 8.137 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00811/0.5227, allocations: 3.678 MB / 0.6171 GB, free: 4.363 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.683e-06/0.5227, allocations: 0 / 0.6171 GB, free: 4.363 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005489/0.5233, allocations: 83.89 kB / 0.6172 GB, free: 4.281 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003349/0.5266, allocations: 1.082 MB / 0.6182 GB, free: 3.191 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.934e-05/0.5267, allocations: 24 kB / 0.6183 GB, free: 3.168 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007969/0.5347, allocations: 4.128 MB / 0.6223 GB, free: 14.91 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.32e-06/0.5347, allocations: 7.984 kB / 0.6223 GB, free: 14.9 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007494/0.5422, allocations: 3.064 MB / 0.6253 GB, free: 11.8 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004639/0.5427, allocations: 191.8 kB / 0.6255 GB, free: 11.59 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001333/0.5429, allocations: 12 kB / 0.6255 GB, free: 11.58 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007575/0.5436, allocations: 79.94 kB / 0.6256 GB, free: 11.5 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004014/0.544, allocations: 120.3 kB / 0.6257 GB, free: 11.38 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.252e-05/0.5441, allocations: 16 kB / 0.6257 GB, free: 11.37 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0008234/0.5449, allocations: 0.5381 MB / 0.6262 GB, free: 10.84 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.545, allocations: 4 kB / 0.6262 GB, free: 10.83 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001723/0.5467, allocations: 0.5189 MB / 0.6267 GB, free: 10.31 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 9 (G1.avr.vm,G1.avr.vr,G1.avr.vf1,G1.machine.delta,G1.machine.w,G1.machine.e1q,G1.machine.e1d,G1.machine.e2q,G1.machine.e2d) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (47): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(9,9,48.1%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002889/0.547, allocations: 131.2 kB / 0.6268 GB, free: 10.18 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.008042/0.555, allocations: 3.535 MB / 0.6303 GB, free: 6.527 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.077e-06/0.5551, allocations: 4.062 kB / 0.6303 GB, free: 6.523 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002957/0.558, allocations: 1.263 MB / 0.6315 GB, free: 5.207 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000815/0.5589, allocations: 79.23 kB / 0.6316 GB, free: 5.125 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003728/0.5626, allocations: 2.253 MB / 0.6338 GB, free: 2.836 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005695/0.5632, allocations: 0.9718 MB / 0.6348 GB, free: 1.84 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002631/0.5635, allocations: 55.42 kB / 0.6348 GB, free: 1.785 MB / 442.7 MB Notification: Performance of SimCode: time 1.152e-06/0.5635, allocations: 0 / 0.6348 GB, free: 1.785 MB / 442.7 MB Notification: Performance of Templates: time 0.02626/0.5897, allocations: 22.47 MB / 0.6568 GB, free: 11.29 MB / 474.7 MB make -j1 -f OpenIPSL_release_OpenIPSL.Examples.Tutorial.Example_1.Example_1.makefile (rm -f OpenIPSL_release_OpenIPSL.Examples.Tutorial.Example_1.Example_1.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.Tutorial.Example_1.Example_1.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.Tutorial.Example_1.Example_1.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.Tutorial.Example_1.Example_1.sim & ./OpenIPSL_release_OpenIPSL.Examples.Tutorial.Example_1.Example_1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Examples.Tutorial.Example_1.Example_1.pipe 2>&1)