Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.Tutorial.Example_2.Example_2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/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/Modelica 3.2.3+maint.om/package.mo", uses=false) 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/OpenIPSL 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/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) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/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_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Running command: translateModel(OpenIPSL.Examples.Tutorial.Example_2.Example_2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_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_2.0.0_OpenIPSL.Examples.Tutorial.Example_2.Example_2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.1006/0.1006, allocations: 12.6 MB / 28.91 MB, free: 0.6094 MB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001014/0.001014, allocations: 115.5 kB / 32.51 MB, free: 3.547 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.288/1.288, allocations: 205.1 MB / 241.1 MB, free: 12.38 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001422/0.001422, allocations: 192.5 kB / 291.4 MB, free: 13.41 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4386/0.4386, allocations: 78.51 MB / 420 MB, free: 11.29 MB / 302.1 MB Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002708/0.002708, allocations: 138.1 kB / 0.5565 GB, free: 28.52 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1097/0.1125, allocations: 68.13 MB / 0.623 GB, free: 15.46 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.Tutorial.Example_2.Example_2): time 0.00635/0.1188, allocations: 5.98 MB / 0.6289 GB, free: 9.453 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003424/0.1223, allocations: 2.114 MB / 0.6309 GB, free: 7.328 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003406/0.1226, allocations: 8 kB / 0.6309 GB, free: 7.32 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006283/0.1233, allocations: 242.1 kB / 0.6312 GB, free: 7.082 MB / 446.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/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.00165/0.125, allocations: 0.8042 MB / 0.632 GB, free: 6.273 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001234/0.1262, allocations: 0.7051 MB / 0.6326 GB, free: 5.574 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001566/0.1278, allocations: 1.835 MB / 0.6344 GB, free: 3.734 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004151/0.1282, allocations: 301.3 kB / 0.6347 GB, free: 3.426 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007401/0.1289, allocations: 0.6967 MB / 0.6354 GB, free: 2.727 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008269/0.1298, allocations: 0.7897 MB / 0.6362 GB, free: 1.934 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001892/0.13, allocations: 160 kB / 0.6363 GB, free: 1.777 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004386/0.1304, allocations: 295.9 kB / 0.6366 GB, free: 1.488 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002996/0.1307, allocations: 374.7 kB / 0.637 GB, free: 1.121 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005292/0.1313, allocations: 0.6646 MB / 0.6376 GB, free: 464 kB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001634/0.1329, allocations: 1.947 MB / 0.6395 GB, free: 14.5 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.1329, allocations: 4 kB / 0.6395 GB, free: 14.5 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.1329, allocations: 0 / 0.6395 GB, free: 14.5 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.423e-05/0.133, allocations: 0 / 0.6395 GB, free: 14.5 MB / 462.1 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.007082/0.1401, allocations: 2.274 MB / 0.6417 GB, free: 12.17 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.156e-05/0.1401, allocations: 11.98 kB / 0.6418 GB, free: 12.16 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003612/0.1437, allocations: 0.5536 MB / 0.6423 GB, free: 11.6 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001829/0.1456, allocations: 1.007 MB / 0.6433 GB, free: 10.54 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003076/0.1459, allocations: 247.4 kB / 0.6435 GB, free: 10.26 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001531/0.146, allocations: 75.91 kB / 0.6436 GB, free: 10.18 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002045/0.1481, allocations: 0.9641 MB / 0.6445 GB, free: 9.203 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.528e-05/0.1481, allocations: 0 / 0.6445 GB, free: 9.203 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.175e-05/0.1482, allocations: 28 kB / 0.6446 GB, free: 9.176 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.423e-05/0.1482, allocations: 16 kB / 0.6446 GB, free: 9.16 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002012/0.1503, allocations: 0.9108 MB / 0.6455 GB, free: 8.25 MB / 462.1 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.006046/0.1563, allocations: 3.623 MB / 0.649 GB, free: 4.5 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0148/0.1711, allocations: 3.29 MB / 0.6522 GB, free: 1.164 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001346/0.1725, allocations: 0.576 MB / 0.6528 GB, free: 0.5859 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.991e-05/0.1726, allocations: 20.64 kB / 0.6528 GB, free: 0.5664 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.801e-05/0.1726, allocations: 39.22 kB / 0.6528 GB, free: 0.5195 MB / 462.1 MB Notification: Performance of pre-optimization done (n=76): time 2.826e-06/0.1726, allocations: 0 / 0.6528 GB, free: 0.5195 MB / 462.1 MB Notification: Performance of matching and sorting (n=76): time 0.0129/0.1856, allocations: 3.639 MB / 0.6564 GB, free: 12.8 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.003e-05/0.1856, allocations: 115.5 kB / 0.6565 GB, free: 12.67 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002033/0.1877, allocations: 1.165 MB / 0.6576 GB, free: 11.48 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001193/0.1878, allocations: 41.7 kB / 0.6577 GB, free: 11.44 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000354/0.1882, allocations: 476.5 kB / 0.6581 GB, free: 10.96 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002649/0.1884, allocations: 280 kB / 0.6584 GB, free: 10.69 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000403/0.1889, allocations: 206.8 kB / 0.6586 GB, free: 10.48 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001247/0.189, allocations: 345.9 kB / 0.6589 GB, free: 10.14 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001455/0.1904, allocations: 0.658 MB / 0.6596 GB, free: 9.473 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00152/0.192, allocations: 0.7791 MB / 0.6603 GB, free: 8.668 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0208/0.2128, allocations: 4.524 MB / 0.6647 GB, free: 4.117 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/0.2128, allocations: 0 / 0.6647 GB, free: 4.117 MB / 478.1 MB Notification: Performance of matching and sorting (n=140) (initialization): time 0.008601/0.2214, allocations: 2.758 MB / 0.6674 GB, free: 1.34 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.906e-05/0.2215, allocations: 8 kB / 0.6674 GB, free: 1.332 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.051e-05/0.2215, allocations: 3.938 kB / 0.6675 GB, free: 1.328 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004463/0.2259, allocations: 1.052 MB / 0.6685 GB, free: 272 kB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001186/0.2271, allocations: 219.7 kB / 0.6687 GB, free: 52 kB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0111/0.2383, allocations: 5.067 MB / 0.6736 GB, free: 10.84 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001675/0.24, allocations: 167 kB / 0.6738 GB, free: 10.68 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001007/0.2401, allocations: 51.86 kB / 0.6738 GB, free: 10.62 MB / 494.1 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: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00173/0.2418, allocations: 0.8398 MB / 0.6747 GB, free: 9.781 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001399/0.2432, allocations: 0.7517 MB / 0.6754 GB, free: 9 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.02034/0.2636, allocations: 4.45 MB / 0.6797 GB, free: 4.527 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.739e-06/0.2636, allocations: 0 / 0.6797 GB, free: 4.527 MB / 494.1 MB Notification: Performance of matching and sorting (n=140) (initialization_lambda0): time 0.008326/0.272, allocations: 2.707 MB / 0.6824 GB, free: 1.801 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.608e-05/0.272, allocations: 8 kB / 0.6824 GB, free: 1.793 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.196e-06/0.272, allocations: 0 / 0.6824 GB, free: 1.793 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004348/0.2764, allocations: 1.054 MB / 0.6834 GB, free: 0.7305 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00119/0.2776, allocations: 207.7 kB / 0.6836 GB, free: 0.5273 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01102/0.2886, allocations: 5.076 MB / 0.6886 GB, free: 11.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00173/0.2904, allocations: 159.1 kB / 0.6887 GB, free: 11.14 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.482e-05/0.2905, allocations: 39.98 kB / 0.6888 GB, free: 11.11 MB / 0.4981 GB 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.0003622/0.2908, allocations: 243.4 kB / 0.689 GB, free: 10.86 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002128/0.2911, allocations: 110.6 kB / 0.6891 GB, free: 10.75 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007114/0.2982, allocations: 2.279 MB / 0.6913 GB, free: 8.457 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.204e-05/0.2982, allocations: 3.984 kB / 0.6913 GB, free: 8.453 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.2982, allocations: 4 kB / 0.6913 GB, free: 8.449 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003165/0.2985, allocations: 227.5 kB / 0.6916 GB, free: 8.207 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001861/0.2987, allocations: 20 kB / 0.6916 GB, free: 8.188 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001219/0.3, allocations: 103.9 kB / 0.6917 GB, free: 8.086 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004399/0.3004, allocations: 196.3 kB / 0.6919 GB, free: 7.895 MB / 0.4981 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005837/0.3063, allocations: 1.76 MB / 0.6936 GB, free: 6.117 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004057/0.3103, allocations: 2.004 MB / 0.6955 GB, free: 4.094 MB / 0.4981 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001169/0.3115, allocations: 0.5205 MB / 0.696 GB, free: 3.57 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001561/0.3131, allocations: 0.8194 MB / 0.6968 GB, free: 2.742 MB / 0.4981 GB Notification: Performance of Backend: time 5.51e-07/0.3131, allocations: 0 / 0.6968 GB, free: 2.742 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.008872/0.322, allocations: 3.227 MB / 0.7 GB, free: 15.4 MB / 0.5137 GB Notification: Performance of SimCode: time 0.003205/0.3252, allocations: 2.642 MB / 0.7026 GB, free: 12.7 MB / 0.5137 GB Notification: Performance of Templates: time 0.2786/0.6038, allocations: 28.32 MB / 0.7302 GB, free: 82.17 MB / 0.5137 GB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Examples.Tutorial.Example_2.Example_2.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.Tutorial.Example_2.Example_2.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.Tutorial.Example_2.Example_2.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.Tutorial.Example_2.Example_2.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.Tutorial.Example_2.Example_2.sim & ./OpenIPSL_2.0.0_OpenIPSL.Examples.Tutorial.Example_2.Example_2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Examples.Tutorial.Example_2.Example_2.pipe 2>&1)