Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.Tutorial.Example_2.Example_2.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_2.Example_2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.Tutorial.Example_2.Example_2") translateModel(OpenIPSL.Examples.Tutorial.Example_2.Example_2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.Tutorial.Example_2.Example_2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001132/0.001133, allocations: 174.6 kB / 16.1 MB, free: 5.562 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.324/1.324, allocations: 223.3 MB / 240.1 MB, free: 11.66 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.0008358/0.0008358, allocations: 100.7 kB / 291.3 MB, free: 10.75 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4993/0.4993, allocations: 78.61 MB / 421 MB, free: 9.121 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003927/0.0003931, allocations: 12 kB / 0.4894 GB, free: 9.262 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3546/0.355, allocations: 69.34 MB / 0.5571 GB, free: 18.8 MB / 378.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.Tutorial.Example_2.Example_2): time 0.004619/0.3597, allocations: 5.729 MB / 0.5627 GB, free: 13.05 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.003985/0.3637, allocations: 2.133 MB / 0.5648 GB, free: 10.91 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001126/0.3649, allocations: 15.94 kB / 0.5648 GB, free: 10.9 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008059/0.3657, allocations: 194.9 kB / 0.565 GB, free: 10.71 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.002007/0.3677, allocations: 0.6843 MB / 0.5657 GB, free: 10.02 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001173/0.3689, allocations: 0.6616 MB / 0.5663 GB, free: 9.363 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.001324/0.3702, allocations: 1.691 MB / 0.568 GB, free: 7.664 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003382/0.3706, allocations: 266.2 kB / 0.5682 GB, free: 7.391 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000559/0.3711, allocations: 0.5522 MB / 0.5688 GB, free: 6.836 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005722/0.3717, allocations: 0.6844 MB / 0.5694 GB, free: 6.148 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001172/0.3719, allocations: 56 kB / 0.5695 GB, free: 6.094 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003836/0.3722, allocations: 195.8 kB / 0.5697 GB, free: 5.902 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001937/0.3724, allocations: 266.7 kB / 0.5699 GB, free: 5.641 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003436/0.3728, allocations: 0.5725 MB / 0.5705 GB, free: 5.059 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000917/0.3737, allocations: 1.511 MB / 0.572 GB, free: 3.543 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.3737, allocations: 4 kB / 0.572 GB, free: 3.539 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.074e-06/0.3737, allocations: 0 / 0.572 GB, free: 3.539 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.282e-05/0.3738, allocations: 0 / 0.572 GB, free: 3.539 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: 159 * Number of variables: 159 Notification: Performance of Generate backend data structure: time 0.005642/0.3794, allocations: 2.076 MB / 0.574 GB, free: 1.41 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.055e-05/0.3795, allocations: 8.031 kB / 0.574 GB, free: 1.402 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00314/0.3826, allocations: 0.5535 MB / 0.5745 GB, free: 0.8477 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001761/0.3844, allocations: 1.01 MB / 0.5755 GB, free: 15.78 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002946/0.3847, allocations: 247.4 kB / 0.5758 GB, free: 15.5 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001562/0.3849, allocations: 72 kB / 0.5758 GB, free: 15.43 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001935/0.3868, allocations: 1.007 MB / 0.5768 GB, free: 14.41 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.704e-05/0.3868, allocations: 0 / 0.5768 GB, free: 14.41 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.025e-05/0.3869, allocations: 28 kB / 0.5769 GB, free: 14.38 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.757e-05/0.3869, allocations: 16 kB / 0.5769 GB, free: 14.36 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001973/0.3889, allocations: 0.9656 MB / 0.5778 GB, free: 13.4 MB / 394.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.006789/0.3957, allocations: 3.689 MB / 0.5814 GB, free: 9.586 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01399/0.4097, allocations: 4.289 MB / 0.5856 GB, free: 5.25 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001496/0.4113, allocations: 0.6197 MB / 0.5862 GB, free: 4.629 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001022/0.4114, allocations: 20.64 kB / 0.5862 GB, free: 4.609 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.786e-05/0.4114, allocations: 35.22 kB / 0.5863 GB, free: 4.566 MB / 394.7 MB Notification: Performance of pre-optimization done (n=76): time 2.725e-06/0.4114, allocations: 0 / 0.5863 GB, free: 4.566 MB / 394.7 MB Notification: Performance of matching and sorting (n=76): time 0.01218/0.4236, allocations: 4.264 MB / 0.5904 GB, free: 236 kB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.302e-05/0.4237, allocations: 115.5 kB / 0.5905 GB, free: 96 kB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002172/0.4259, allocations: 1.165 MB / 0.5917 GB, free: 14.91 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001255/0.4261, allocations: 41.7 kB / 0.5917 GB, free: 14.86 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003915/0.4265, allocations: 472.4 kB / 0.5922 GB, free: 14.39 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000328/0.4268, allocations: 288 kB / 0.5924 GB, free: 14.11 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001572/0.427, allocations: 97.66 kB / 0.5925 GB, free: 14.01 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001461/0.4271, allocations: 353.9 kB / 0.5929 GB, free: 13.66 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001401/0.4285, allocations: 0.6976 MB / 0.5935 GB, free: 12.96 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001482/0.43, allocations: 0.822 MB / 0.5944 GB, free: 12.11 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01945/0.4495, allocations: 4.812 MB / 0.5991 GB, free: 7.273 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.154e-05/0.4495, allocations: 3.938 kB / 0.5991 GB, free: 7.27 MB / 410.7 MB Notification: Performance of matching and sorting (n=140) (initialization): time 0.00842/0.458, allocations: 3.137 MB / 0.6021 GB, free: 4.113 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001161/0.4581, allocations: 139.4 kB / 0.6023 GB, free: 3.953 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.347e-05/0.4581, allocations: 7.938 kB / 0.6023 GB, free: 3.945 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004255/0.4624, allocations: 1.203 MB / 0.6034 GB, free: 2.734 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001213/0.4636, allocations: 223.7 kB / 0.6036 GB, free: 2.516 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01025/0.4739, allocations: 5.113 MB / 0.6086 GB, free: 13.27 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00173/0.4757, allocations: 199 kB / 0.6088 GB, free: 13.07 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.778e-05/0.4758, allocations: 39.98 kB / 0.6089 GB, free: 13.03 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.468e-06/0.4758, allocations: 4 kB / 0.6089 GB, free: 13.03 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007786/0.4836, allocations: 2.941 MB / 0.6117 GB, free: 10.07 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.064e-05/0.4836, allocations: 0 / 0.6117 GB, free: 10.07 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004163/0.4878, allocations: 1.202 MB / 0.6129 GB, free: 8.863 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001187/0.489, allocations: 211.7 kB / 0.6131 GB, free: 8.656 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01021/0.4992, allocations: 5.101 MB / 0.6181 GB, free: 3.41 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001741/0.501, allocations: 179.1 kB / 0.6183 GB, free: 3.234 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.493e-05/0.5011, allocations: 39.98 kB / 0.6183 GB, free: 3.195 MB / 426.7 MB Warning: Assuming fixed start value for the following 1 variables: 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: 7 * 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 (119): * Single equations (assignments): 116 * 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.0007611/0.5019, allocations: 352.9 kB / 0.6186 GB, free: 2.84 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000199/0.5021, allocations: 110.6 kB / 0.6188 GB, free: 2.73 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00677/0.5089, allocations: 2.654 MB / 0.6213 GB, free: 60 kB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.056e-05/0.5089, allocations: 8 kB / 0.6213 GB, free: 52 kB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.143e-06/0.5089, allocations: 4 kB / 0.6214 GB, free: 48 kB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.598e-06/0.5089, allocations: 3.984 kB / 0.6214 GB, free: 44 kB / 426.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 postOpt removeSimpleEquations (simulation): time 0.008823/0.5178, allocations: 4.244 MB / 0.6255 GB, free: 11.7 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.551e-06/0.5178, allocations: 0 / 0.6255 GB, free: 11.7 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000718/0.5185, allocations: 115.8 kB / 0.6256 GB, free: 11.59 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003284/0.5218, allocations: 1.078 MB / 0.6267 GB, free: 10.5 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.372e-05/0.5219, allocations: 28 kB / 0.6267 GB, free: 10.48 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007941/0.5299, allocations: 4.143 MB / 0.6307 GB, free: 6.203 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/0.5299, allocations: 0 / 0.6307 GB, free: 6.203 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008504/0.5384, allocations: 3.442 MB / 0.6341 GB, free: 2.727 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005664/0.539, allocations: 227.5 kB / 0.6343 GB, free: 2.484 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00017/0.5392, allocations: 19.94 kB / 0.6343 GB, free: 2.465 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001091/0.5403, allocations: 139.8 kB / 0.6345 GB, free: 2.328 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000406/0.5407, allocations: 124.4 kB / 0.6346 GB, free: 2.207 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.242e-05/0.5408, allocations: 24.17 kB / 0.6346 GB, free: 2.184 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001495/0.5423, allocations: 0.8153 MB / 0.6354 GB, free: 1.359 MB / 442.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.5423, allocations: 3.938 kB / 0.6354 GB, free: 1.355 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001694/0.544, allocations: 0.593 MB / 0.636 GB, free: 0.7617 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 12 (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,G1.pss.imLeadLag.TF.x_scaled[1],G1.pss.imLeadLag1.TF.x_scaled[1],G1.pss.derivativeLag.TF.x_scaled[1]) * 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 (59): * Single equations (assignments): 56 * 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.0002827/0.5443, allocations: 139 kB / 0.6361 GB, free: 0.6172 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.008812/0.5531, allocations: 3.883 MB / 0.6399 GB, free: 12.62 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 5.481e-06/0.5531, allocations: 384 / 0.6399 GB, free: 12.62 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003139/0.5563, allocations: 1.381 MB / 0.6413 GB, free: 11.18 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001108/0.5574, allocations: 104.4 kB / 0.6414 GB, free: 11.08 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004618/0.562, allocations: 2.874 MB / 0.6442 GB, free: 8.176 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007221/0.5628, allocations: 1.078 MB / 0.6452 GB, free: 7.07 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003804/0.5632, allocations: 71.42 kB / 0.6453 GB, free: 7 MB / 458.7 MB Notification: Performance of SimCode: time 2.084e-06/0.5632, allocations: 0 / 0.6453 GB, free: 7 MB / 458.7 MB Notification: Performance of Templates: time 0.03543/0.5986, allocations: 29.86 MB / 0.6745 GB, free: 9.125 MB / 490.7 MB make -j1 -f OpenIPSL_release_OpenIPSL.Examples.Tutorial.Example_2.Example_2.makefile (rm -f OpenIPSL_release_OpenIPSL.Examples.Tutorial.Example_2.Example_2.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.Tutorial.Example_2.Example_2.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.Tutorial.Example_2.Example_2.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.Tutorial.Example_2.Example_2.sim & ./OpenIPSL_release_OpenIPSL.Examples.Tutorial.Example_2.Example_2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Examples.Tutorial.Example_2.Example_2.pipe 2>&1)