Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.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.PSATSystems.TwoAreaOld.FourthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.07281/0.07281, allocations: 12.6 MB / 28.91 MB, free: 408 kB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00101/0.00101, allocations: 107.5 kB / 32.51 MB, free: 3.41 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.402/1.402, 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.001596/0.001596, allocations: 208.1 kB / 291.4 MB, free: 10.93 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4599/0.4599, allocations: 78.51 MB / 420 MB, free: 10.75 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.002559/0.002559, allocations: 139.8 kB / 0.5565 GB, free: 17.27 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1417/0.1443, allocations: 68.12 MB / 0.6231 GB, free: 13.12 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII): time 0.008099/0.1525, allocations: 6.621 MB / 0.6295 GB, free: 6.465 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.004689/0.1572, allocations: 1.92 MB / 0.6314 GB, free: 4.539 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007875/0.1581, allocations: 8 kB / 0.6314 GB, free: 4.531 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007692/0.1588, allocations: 238 kB / 0.6316 GB, free: 4.297 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002147/0.161, allocations: 0.862 MB / 0.6325 GB, free: 3.434 MB / 446.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/Electrical/Machines/PSAT/Order4.mo:25:3-30:9:writable] Warning: In relation order4.xq <> order4.x1q, <> on Real numbers is only allowed inside functions. Notification: Performance of NFTyping.typeClassSections: time 0.001338/0.1623, allocations: 0.6387 MB / 0.6331 GB, free: 2.801 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001662/0.164, allocations: 1.588 MB / 0.6347 GB, free: 1.207 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000457/0.1645, allocations: 326.4 kB / 0.635 GB, free: 0.875 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000832/0.1653, allocations: 0.6535 MB / 0.6356 GB, free: 224 kB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009067/0.1662, allocations: 0.8285 MB / 0.6364 GB, free: 15.38 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000158/0.1664, allocations: 120 kB / 0.6365 GB, free: 15.27 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004958/0.1669, allocations: 259.8 kB / 0.6368 GB, free: 15.02 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002801/0.1672, allocations: 318.7 kB / 0.6371 GB, free: 14.7 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005352/0.1677, allocations: 0.6719 MB / 0.6377 GB, free: 14.03 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001605/0.1694, allocations: 1.662 MB / 0.6394 GB, free: 12.36 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.1694, allocations: 0 / 0.6394 GB, free: 12.36 MB / 462.1 MB Notification: Performance of FrontEnd: time 3.206e-06/0.1694, allocations: 4 kB / 0.6394 GB, free: 12.36 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.357e-05/0.1694, allocations: 3.938 kB / 0.6394 GB, free: 12.35 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: 190 * Number of variables: 190 Notification: Performance of Generate backend data structure: time 0.008953/0.1784, allocations: 2.676 MB / 0.642 GB, free: 9.609 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.835e-05/0.1784, allocations: 11.98 kB / 0.642 GB, free: 9.598 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005088/0.1835, allocations: 0.7865 MB / 0.6428 GB, free: 8.809 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001713/0.1853, allocations: 0.8902 MB / 0.6436 GB, free: 7.863 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000304/0.1856, allocations: 248.2 kB / 0.6439 GB, free: 7.582 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001675/0.1858, allocations: 88 kB / 0.644 GB, free: 7.496 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00221/0.188, allocations: 1.086 MB / 0.645 GB, free: 6.398 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.969e-05/0.188, allocations: 0 / 0.645 GB, free: 6.398 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001013/0.1881, allocations: 32 kB / 0.645 GB, free: 6.367 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.734e-05/0.1881, allocations: 16 kB / 0.6451 GB, free: 6.352 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002051/0.1902, allocations: 0.9916 MB / 0.646 GB, free: 5.359 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.006615/0.1968, allocations: 3.796 MB / 0.6497 GB, free: 1.383 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007559/0.2044, allocations: 2.38 MB / 0.6521 GB, free: 14.91 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001509/0.2059, allocations: 0.6722 MB / 0.6527 GB, free: 14.23 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.423e-05/0.206, allocations: 24.92 kB / 0.6527 GB, free: 14.21 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001619/0.2077, allocations: 0.8177 MB / 0.6535 GB, free: 13.38 MB / 478.1 MB Notification: Performance of pre-optimization done (n=96): time 3.717e-06/0.2077, allocations: 3.938 kB / 0.6535 GB, free: 13.37 MB / 478.1 MB Notification: Performance of matching and sorting (n=96): time 0.02899/0.2367, allocations: 7.077 MB / 0.6605 GB, free: 6.23 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.769e-05/0.2368, allocations: 111.8 kB / 0.6606 GB, free: 6.098 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001835/0.2386, allocations: 1.087 MB / 0.6616 GB, free: 4.996 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002987/0.239, allocations: 41.73 kB / 0.6617 GB, free: 4.949 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004432/0.2394, allocations: 0.4891 MB / 0.6621 GB, free: 4.453 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004507/0.2399, allocations: 355 kB / 0.6625 GB, free: 4.102 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005404/0.2404, allocations: 287.4 kB / 0.6628 GB, free: 3.816 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001072/0.2405, allocations: 301.1 kB / 0.663 GB, free: 3.52 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001643/0.2422, allocations: 0.7691 MB / 0.6638 GB, free: 2.75 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001792/0.244, allocations: 0.9343 MB / 0.6647 GB, free: 1.773 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02363/0.2676, allocations: 5.587 MB / 0.6702 GB, free: 12.1 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.977e-06/0.2677, allocations: 0 / 0.6702 GB, free: 12.1 MB / 494.1 MB Notification: Performance of matching and sorting (n=196) (initialization): time 0.01346/0.2811, allocations: 4.336 MB / 0.6744 GB, free: 7.734 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.71e-05/0.2813, allocations: 60.33 kB / 0.6744 GB, free: 7.664 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.964e-05/0.2813, allocations: 4 kB / 0.6745 GB, free: 7.66 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005502/0.2868, allocations: 1.504 MB / 0.6759 GB, free: 6.152 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001578/0.2884, allocations: 303.5 kB / 0.6762 GB, free: 5.855 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3092/0.5976, allocations: 8.255 MB / 0.6843 GB, free: 50.81 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001957/0.5996, allocations: 199.1 kB / 0.6845 GB, free: 50.81 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001293/0.5997, allocations: 57.98 kB / 0.6845 GB, free: 50.81 MB / 494.1 MB Warning: Assuming fixed start value for the following 4 variables: order4.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order2.delta:VARIABLE(flow=false start = order2.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real order4.delta:VARIABLE(flow=false start = order4.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real order4.e1q:VARIABLE(start = order4.e1q0 unit = "1" fixed = true ) "q-axis transient voltage" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (166): * Single equations (assignments): 163 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(18,13,25.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005885/0.6003, allocations: 302.2 kB / 0.6848 GB, free: 50.66 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002068/0.6005, allocations: 129.1 kB / 0.6849 GB, free: 50.66 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01421/0.6147, allocations: 3.871 MB / 0.6887 GB, free: 50.53 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.008e-05/0.6148, allocations: 12.64 kB / 0.6887 GB, free: 50.53 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.6148, allocations: 0.6562 kB / 0.6887 GB, free: 50.53 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004609/0.6153, allocations: 224.8 kB / 0.6889 GB, free: 50.43 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002304/0.6155, allocations: 23.8 kB / 0.689 GB, free: 50.43 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001158/0.6167, allocations: 108.4 kB / 0.6891 GB, free: 50.43 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001167/0.6179, allocations: 433.1 kB / 0.6895 GB, free: 50.36 MB / 494.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.006924/0.6248, allocations: 2.229 MB / 0.6917 GB, free: 49.54 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004834/0.6297, allocations: 2.27 MB / 0.6939 GB, free: 48.51 MB / 494.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001414/0.6311, allocations: 0.5704 MB / 0.6944 GB, free: 48.32 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001288/0.6324, allocations: 0.7257 MB / 0.6951 GB, free: 48.02 MB / 494.1 MB Notification: Performance of Backend: time 6.81e-07/0.6324, allocations: 5.219 kB / 0.6951 GB, free: 48.02 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.006416/0.6388, allocations: 2.071 MB / 0.6972 GB, free: 47.13 MB / 494.1 MB Notification: Performance of SimCode: time 0.003952/0.6428, allocations: 2.928 MB / 0.7 GB, free: 45.4 MB / 494.1 MB Notification: Performance of Templates: time 0.03251/0.6753, allocations: 22.61 MB / 0.7221 GB, free: 33.5 MB / 494.1 MB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.sim & ./OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.pipe 2>&1)