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.07831/0.07831, allocations: 12.6 MB / 28.91 MB, free: 0.6055 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.00103/0.00103, allocations: 111.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.336/1.336, allocations: 205.1 MB / 241.1 MB, free: 12.36 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.001317/0.001317, allocations: 195.5 kB / 291.4 MB, free: 13.39 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4526/0.4526, allocations: 78.51 MB / 420 MB, free: 11.24 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.002678/0.002678, allocations: 131.5 kB / 0.5565 GB, free: 28.64 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1137/0.1164, allocations: 68.13 MB / 0.623 GB, free: 15.48 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.Tutorial.Example_2.Example_2): time 0.006792/0.1233, allocations: 5.987 MB / 0.6289 GB, free: 9.461 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003884/0.1272, allocations: 2.114 MB / 0.6309 GB, free: 7.336 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004642/0.1277, allocations: 8 kB / 0.6309 GB, free: 7.328 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006971/0.1284, allocations: 238.1 kB / 0.6312 GB, free: 7.094 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.001854/0.1303, allocations: 0.8121 MB / 0.632 GB, free: 6.277 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001285/0.1316, allocations: 0.7012 MB / 0.6327 GB, free: 5.582 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001675/0.1332, allocations: 1.843 MB / 0.6345 GB, free: 3.734 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004184/0.1337, allocations: 301.3 kB / 0.6347 GB, free: 3.426 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008288/0.1345, allocations: 0.689 MB / 0.6354 GB, free: 2.734 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009704/0.1355, allocations: 0.7897 MB / 0.6362 GB, free: 1.941 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002182/0.1357, allocations: 164 kB / 0.6363 GB, free: 1.781 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004899/0.1362, allocations: 287.9 kB / 0.6366 GB, free: 1.5 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003143/0.1365, allocations: 374.7 kB / 0.637 GB, free: 1.133 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000547/0.1371, allocations: 0.6684 MB / 0.6376 GB, free: 472 kB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001699/0.1388, allocations: 1.947 MB / 0.6395 GB, free: 14.51 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.1388, allocations: 4 kB / 0.6395 GB, free: 14.5 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.1388, allocations: 0 / 0.6395 GB, free: 14.5 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.401e-05/0.1389, allocations: 4 kB / 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.007206/0.1461, allocations: 2.267 MB / 0.6417 GB, free: 12.18 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.252e-05/0.1461, allocations: 15.98 kB / 0.6418 GB, free: 12.16 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003654/0.1498, allocations: 0.5536 MB / 0.6423 GB, free: 11.61 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001906/0.1517, allocations: 1.011 MB / 0.6433 GB, free: 10.54 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000302/0.152, allocations: 243.4 kB / 0.6435 GB, free: 10.27 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001518/0.1522, allocations: 75.91 kB / 0.6436 GB, free: 10.19 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002008/0.1542, allocations: 0.9641 MB / 0.6445 GB, free: 9.211 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.74e-05/0.1542, allocations: 3.938 kB / 0.6445 GB, free: 9.207 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.211e-05/0.1543, allocations: 28 kB / 0.6446 GB, free: 9.18 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.484e-05/0.1543, allocations: 15.98 kB / 0.6446 GB, free: 9.164 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002052/0.1564, allocations: 0.9109 MB / 0.6455 GB, free: 8.254 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.006261/0.1627, allocations: 3.623 MB / 0.649 GB, free: 4.504 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01458/0.1773, allocations: 3.278 MB / 0.6522 GB, free: 1.18 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001418/0.1787, allocations: 0.5806 MB / 0.6528 GB, free: 0.5938 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.39e-05/0.1788, allocations: 12.64 kB / 0.6528 GB, free: 0.582 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.903e-05/0.1789, allocations: 43.16 kB / 0.6528 GB, free: 0.5312 MB / 462.1 MB Notification: Performance of pre-optimization done (n=76): time 2.926e-06/0.1789, allocations: 0 / 0.6528 GB, free: 0.5312 MB / 462.1 MB Notification: Performance of matching and sorting (n=76): time 0.01288/0.1918, allocations: 3.639 MB / 0.6564 GB, free: 12.82 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.985e-05/0.1919, allocations: 111.5 kB / 0.6565 GB, free: 12.68 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002386/0.1943, allocations: 1.173 MB / 0.6576 GB, free: 11.49 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000211/0.1945, allocations: 41.7 kB / 0.6577 GB, free: 11.45 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004268/0.1949, allocations: 468.6 kB / 0.6581 GB, free: 10.98 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003683/0.1953, allocations: 280 kB / 0.6584 GB, free: 10.7 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004477/0.1958, allocations: 206.8 kB / 0.6586 GB, free: 10.5 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001628/0.1959, allocations: 349.9 kB / 0.6589 GB, free: 10.15 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00145/0.1974, allocations: 0.6618 MB / 0.6596 GB, free: 9.48 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00152/0.1989, allocations: 0.7791 MB / 0.6603 GB, free: 8.676 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02116/0.2201, allocations: 4.524 MB / 0.6647 GB, free: 4.125 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.794e-06/0.2201, allocations: 0 / 0.6647 GB, free: 4.125 MB / 478.1 MB Notification: Performance of matching and sorting (n=140) (initialization): time 0.009211/0.2294, allocations: 2.758 MB / 0.6674 GB, free: 1.348 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.793e-05/0.2294, allocations: 8 kB / 0.6674 GB, free: 1.34 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.348e-05/0.2294, allocations: 3.938 kB / 0.6675 GB, free: 1.336 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004606/0.234, allocations: 1.055 MB / 0.6685 GB, free: 280 kB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00127/0.2353, allocations: 223.7 kB / 0.6687 GB, free: 56 kB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01133/0.2467, allocations: 5.063 MB / 0.6736 GB, free: 10.85 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001862/0.2486, allocations: 167 kB / 0.6738 GB, free: 10.68 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001681/0.2488, allocations: 47.92 kB / 0.6738 GB, free: 10.64 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.001937/0.2507, allocations: 0.8437 MB / 0.6747 GB, free: 9.789 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001579/0.2523, allocations: 0.7517 MB / 0.6754 GB, free: 9.008 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.02063/0.2729, allocations: 4.442 MB / 0.6797 GB, free: 4.543 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.264e-06/0.273, allocations: 4 kB / 0.6797 GB, free: 4.539 MB / 494.1 MB Notification: Performance of matching and sorting (n=140) (initialization_lambda0): time 0.008579/0.2816, allocations: 2.719 MB / 0.6824 GB, free: 1.801 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.657e-05/0.2816, allocations: 8 kB / 0.6824 GB, free: 1.793 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.204e-06/0.2816, allocations: 0 / 0.6824 GB, free: 1.793 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004416/0.286, allocations: 1.042 MB / 0.6834 GB, free: 0.7422 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001187/0.2872, allocations: 211.7 kB / 0.6836 GB, free: 0.5352 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01124/0.2985, allocations: 5.076 MB / 0.6886 GB, free: 11.31 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001853/0.3004, allocations: 159.1 kB / 0.6887 GB, free: 11.15 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001821/0.3006, allocations: 43.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.0004248/0.301, allocations: 235.6 kB / 0.689 GB, free: 10.88 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003369/0.3014, allocations: 110.6 kB / 0.6891 GB, free: 10.77 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007077/0.3084, allocations: 2.279 MB / 0.6913 GB, free: 8.469 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.241e-05/0.3085, allocations: 3.984 kB / 0.6913 GB, free: 8.465 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/0.3085, allocations: 0 / 0.6913 GB, free: 8.465 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000354/0.3088, allocations: 227.5 kB / 0.6916 GB, free: 8.223 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002227/0.3091, allocations: 20 kB / 0.6916 GB, free: 8.203 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001235/0.3103, allocations: 103.9 kB / 0.6917 GB, free: 8.102 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004634/0.3108, allocations: 196.3 kB / 0.6919 GB, free: 7.91 MB / 0.4981 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005786/0.3166, allocations: 1.76 MB / 0.6936 GB, free: 6.133 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004033/0.3206, allocations: 2.004 MB / 0.6955 GB, free: 4.109 MB / 0.4981 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001156/0.3218, allocations: 0.5205 MB / 0.696 GB, free: 3.586 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001617/0.3234, allocations: 0.8194 MB / 0.6968 GB, free: 2.758 MB / 0.4981 GB Notification: Performance of Backend: time 1.072e-06/0.3234, allocations: 0 / 0.6968 GB, free: 2.758 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.009071/0.3325, allocations: 3.231 MB / 0.7 GB, free: 15.41 MB / 0.5137 GB Notification: Performance of SimCode: time 0.003694/0.3362, allocations: 2.642 MB / 0.7026 GB, free: 12.71 MB / 0.5137 GB Notification: Performance of Templates: time 0.2853/0.6215, allocations: 28.32 MB / 0.7302 GB, free: 82.91 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)