Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous.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.Discretization.FourthOrder_AVRII_Continuous,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous") translateModel(OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.08602/0.08602, allocations: 12.6 MB / 28.91 MB, free: 0.6289 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.001259/0.001259, allocations: 107.5 kB / 32.51 MB, free: 3.57 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.417/1.417, 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.001517/0.001517, allocations: 195.3 kB / 291.4 MB, free: 10.96 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.445/0.445, 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.002658/0.002658, allocations: 149 kB / 0.5566 GB, free: 17.3 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1294/0.1321, allocations: 68.12 MB / 0.6231 GB, free: 13.14 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous): time 0.00797/0.1401, allocations: 6.606 MB / 0.6295 GB, free: 6.496 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.004749/0.1449, allocations: 1.932 MB / 0.6314 GB, free: 4.559 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000762/0.1457, allocations: 12 kB / 0.6314 GB, free: 4.547 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007925/0.1465, allocations: 234 kB / 0.6317 GB, free: 4.316 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002418/0.149, allocations: 0.8659 MB / 0.6325 GB, free: 3.453 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.001428/0.1504, allocations: 0.6236 MB / 0.6331 GB, free: 2.836 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001936/0.1523, allocations: 1.596 MB / 0.6347 GB, free: 1.234 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004817/0.1528, allocations: 318.4 kB / 0.635 GB, free: 0.9102 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008433/0.1537, allocations: 0.6574 MB / 0.6356 GB, free: 256 kB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008652/0.1546, allocations: 0.8284 MB / 0.6364 GB, free: 15.42 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001669/0.1547, allocations: 120 kB / 0.6365 GB, free: 15.3 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004964/0.1553, allocations: 259.8 kB / 0.6368 GB, free: 15.05 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003039/0.1556, allocations: 326.6 kB / 0.6371 GB, free: 14.73 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005957/0.1562, allocations: 0.668 MB / 0.6377 GB, free: 14.05 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001743/0.1579, allocations: 1.662 MB / 0.6394 GB, free: 12.39 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.1579, allocations: 3.938 kB / 0.6394 GB, free: 12.38 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.158, allocations: 0 / 0.6394 GB, free: 12.38 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.487e-05/0.158, allocations: 4 kB / 0.6394 GB, free: 12.38 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.009543/0.1675, allocations: 2.692 MB / 0.642 GB, free: 9.621 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.386e-05/0.1676, allocations: 11.98 kB / 0.642 GB, free: 9.609 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005376/0.173, allocations: 0.7787 MB / 0.6428 GB, free: 8.828 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001614/0.1746, allocations: 0.8747 MB / 0.6436 GB, free: 7.898 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002944/0.1749, allocations: 260.2 kB / 0.6439 GB, free: 7.605 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001736/0.1751, allocations: 84 kB / 0.644 GB, free: 7.523 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002309/0.1774, allocations: 1.094 MB / 0.645 GB, free: 6.418 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.938e-05/0.1775, allocations: 0 / 0.645 GB, free: 6.418 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001039/0.1776, allocations: 28 kB / 0.6451 GB, free: 6.391 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.493e-05/0.1776, allocations: 20 kB / 0.6451 GB, free: 6.371 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002158/0.1798, allocations: 0.9877 MB / 0.646 GB, free: 5.383 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.006856/0.1866, allocations: 3.804 MB / 0.6498 GB, free: 1.398 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008155/0.1948, allocations: 2.365 MB / 0.6521 GB, free: 14.94 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001612/0.1964, allocations: 0.6839 MB / 0.6527 GB, free: 14.25 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.564e-05/0.1966, allocations: 12.98 kB / 0.6527 GB, free: 14.24 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001762/0.1983, allocations: 0.8177 MB / 0.6535 GB, free: 13.41 MB / 478.1 MB Notification: Performance of pre-optimization done (n=96): time 3.066e-06/0.1983, allocations: 0 / 0.6535 GB, free: 13.41 MB / 478.1 MB Notification: Performance of matching and sorting (n=96): time 0.03134/0.2297, allocations: 7.081 MB / 0.6605 GB, free: 6.262 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.522e-05/0.2298, allocations: 115.8 kB / 0.6606 GB, free: 6.125 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001729/0.2316, allocations: 1.083 MB / 0.6616 GB, free: 5.027 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002045/0.2318, allocations: 49.7 kB / 0.6617 GB, free: 4.973 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003654/0.2321, allocations: 496.8 kB / 0.6621 GB, free: 4.48 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004009/0.2326, allocations: 355 kB / 0.6625 GB, free: 4.129 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005295/0.2331, allocations: 287.4 kB / 0.6628 GB, free: 3.844 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001106/0.2332, allocations: 301.1 kB / 0.663 GB, free: 3.547 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001728/0.2349, allocations: 0.7652 MB / 0.6638 GB, free: 2.781 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001801/0.2368, allocations: 0.9381 MB / 0.6647 GB, free: 1.801 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02529/0.2621, allocations: 5.587 MB / 0.6702 GB, free: 12.12 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.506e-06/0.2621, allocations: 0 / 0.6702 GB, free: 12.12 MB / 494.1 MB Notification: Performance of matching and sorting (n=196) (initialization): time 0.01448/0.2766, allocations: 4.336 MB / 0.6744 GB, free: 7.762 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.374e-05/0.2767, allocations: 63.41 kB / 0.6745 GB, free: 7.688 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.659e-05/0.2767, allocations: 4 kB / 0.6745 GB, free: 7.684 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005941/0.2827, allocations: 1.511 MB / 0.6759 GB, free: 6.168 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001611/0.2843, allocations: 295.6 kB / 0.6762 GB, free: 5.879 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2873/0.5717, allocations: 8.261 MB / 0.6843 GB, free: 51.39 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00307/0.5748, allocations: 198.4 kB / 0.6845 GB, free: 51.39 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003886/0.5752, allocations: 59.67 kB / 0.6845 GB, free: 51.39 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.001147/0.5764, allocations: 295.3 kB / 0.6848 GB, free: 51.24 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005278/0.5769, allocations: 136.9 kB / 0.6849 GB, free: 51.24 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02055/0.5975, allocations: 3.877 MB / 0.6887 GB, free: 51.09 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.922e-05/0.5976, allocations: 6.531 kB / 0.6887 GB, free: 51.09 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.013e-06/0.5976, allocations: 0 / 0.6887 GB, free: 51.09 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006936/0.5983, allocations: 221.7 kB / 0.689 GB, free: 51 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005979/0.599, allocations: 22.06 kB / 0.689 GB, free: 50.99 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001499/0.6005, allocations: 109.7 kB / 0.6891 GB, free: 50.99 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001513/0.602, allocations: 433.3 kB / 0.6895 GB, free: 50.95 MB / 494.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.008038/0.6101, allocations: 2.23 MB / 0.6917 GB, free: 50.13 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00532/0.6154, allocations: 2.27 MB / 0.6939 GB, free: 49.11 MB / 494.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001609/0.6171, allocations: 0.5704 MB / 0.6944 GB, free: 48.91 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.002089/0.6192, allocations: 0.7251 MB / 0.6951 GB, free: 48.61 MB / 494.1 MB Notification: Performance of Backend: time 1.312e-06/0.6192, allocations: 0 / 0.6951 GB, free: 48.61 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.007756/0.627, allocations: 2.085 MB / 0.6972 GB, free: 47.72 MB / 494.1 MB Notification: Performance of SimCode: time 0.005179/0.6322, allocations: 2.909 MB / 0.7 GB, free: 45.98 MB / 494.1 MB Notification: Performance of Templates: time 0.03574/0.668, allocations: 22.63 MB / 0.7221 GB, free: 33.82 MB / 494.1 MB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous.sim & ./OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous.pipe 2>&1)