Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_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.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.1203/0.1203, allocations: 12.61 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.001499/0.001499, 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.339/1.339, 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.001358/0.001358, allocations: 188.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.4302/0.4302, allocations: 78.51 MB / 420 MB, free: 11.27 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.002566/0.002566, allocations: 131.1 kB / 0.5565 GB, free: 28.54 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1192/0.1218, allocations: 68.13 MB / 0.6231 GB, free: 15.41 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII): time 0.006635/0.1285, allocations: 6.562 MB / 0.6295 GB, free: 8.805 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003466/0.132, allocations: 1.92 MB / 0.6314 GB, free: 6.879 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003418/0.1323, allocations: 8 kB / 0.6314 GB, free: 6.871 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005709/0.1329, allocations: 241.9 kB / 0.6316 GB, free: 6.633 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001585/0.1345, allocations: 0.8507 MB / 0.6324 GB, free: 5.785 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001069/0.1356, allocations: 0.6315 MB / 0.633 GB, free: 5.156 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001277/0.1369, allocations: 1.581 MB / 0.6346 GB, free: 3.57 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003988/0.1373, allocations: 322.4 kB / 0.6349 GB, free: 3.242 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006009/0.1379, allocations: 0.6535 MB / 0.6355 GB, free: 2.586 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000739/0.1386, allocations: 0.8283 MB / 0.6363 GB, free: 1.754 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001454/0.1388, allocations: 120 kB / 0.6365 GB, free: 1.637 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003742/0.1392, allocations: 263.8 kB / 0.6367 GB, free: 1.379 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002485/0.1394, allocations: 326.7 kB / 0.637 GB, free: 1.059 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004813/0.1399, allocations: 0.6718 MB / 0.6377 GB, free: 392 kB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001291/0.1412, allocations: 1.658 MB / 0.6393 GB, free: 14.72 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.1412, allocations: 0 / 0.6393 GB, free: 14.72 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.1413, allocations: 4 kB / 0.6393 GB, free: 14.71 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.182e-05/0.1413, allocations: 0 / 0.6393 GB, free: 14.71 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: 189 * Number of variables: 189 Notification: Performance of Generate backend data structure: time 0.008333/0.1496, allocations: 2.684 MB / 0.6419 GB, free: 11.96 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.93e-05/0.1497, allocations: 11.98 kB / 0.6419 GB, free: 11.95 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004903/0.1546, allocations: 0.7749 MB / 0.6427 GB, free: 11.18 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001355/0.1559, allocations: 0.8863 MB / 0.6435 GB, free: 10.23 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002634/0.1562, allocations: 260.2 kB / 0.6438 GB, free: 9.941 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001503/0.1564, allocations: 84 kB / 0.6439 GB, free: 9.859 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00204/0.1584, allocations: 1.086 MB / 0.6449 GB, free: 8.762 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.8e-05/0.1585, allocations: 0 / 0.6449 GB, free: 8.762 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.019e-05/0.1586, allocations: 35.98 kB / 0.645 GB, free: 8.727 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.465e-05/0.1586, allocations: 16 kB / 0.645 GB, free: 8.711 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001917/0.1605, allocations: 0.9838 MB / 0.6459 GB, free: 7.727 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.005839/0.1664, allocations: 3.812 MB / 0.6497 GB, free: 3.734 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007273/0.1736, allocations: 2.362 MB / 0.652 GB, free: 1.281 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001304/0.175, allocations: 0.68 MB / 0.6526 GB, free: 0.5977 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.302e-05/0.1751, allocations: 12.98 kB / 0.6527 GB, free: 0.5859 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00155/0.1766, allocations: 0.8177 MB / 0.6535 GB, free: 15.75 MB / 478.1 MB Notification: Performance of pre-optimization done (n=95): time 3.086e-06/0.1766, allocations: 0 / 0.6535 GB, free: 15.75 MB / 478.1 MB Notification: Performance of matching and sorting (n=95): time 0.02909/0.2057, allocations: 7.186 MB / 0.6605 GB, free: 8.5 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.865e-05/0.2058, allocations: 119.8 kB / 0.6606 GB, free: 8.359 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001652/0.2075, allocations: 1.095 MB / 0.6617 GB, free: 7.25 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001674/0.2077, allocations: 49.73 kB / 0.6617 GB, free: 7.195 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003628/0.208, allocations: 492.8 kB / 0.6622 GB, free: 6.707 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003658/0.2084, allocations: 347.1 kB / 0.6625 GB, free: 6.363 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005126/0.2089, allocations: 283.4 kB / 0.6628 GB, free: 6.082 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 8.467e-05/0.209, allocations: 305.1 kB / 0.6631 GB, free: 5.781 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0016/0.2106, allocations: 0.7535 MB / 0.6638 GB, free: 5.027 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001683/0.2123, allocations: 0.9303 MB / 0.6647 GB, free: 4.055 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02313/0.2355, allocations: 5.552 MB / 0.6701 GB, free: 14.41 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.057e-05/0.2355, allocations: 0 / 0.6701 GB, free: 14.41 MB / 494.1 MB Notification: Performance of matching and sorting (n=192) (initialization): time 0.01388/0.2494, allocations: 4.356 MB / 0.6744 GB, free: 10.03 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.837e-05/0.2495, allocations: 67.34 kB / 0.6744 GB, free: 9.953 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.667e-05/0.2495, allocations: 7.938 kB / 0.6745 GB, free: 9.945 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005795/0.2553, allocations: 1.595 MB / 0.676 GB, free: 8.348 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0014/0.2567, allocations: 279.6 kB / 0.6763 GB, free: 8.074 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02005/0.2768, allocations: 8.498 MB / 0.6846 GB, free: 15.42 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001888/0.2787, allocations: 202.7 kB / 0.6848 GB, free: 15.22 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002287/0.279, allocations: 55.97 kB / 0.6848 GB, free: 15.16 MB / 0.4981 GB Warning: Assuming fixed start value for the following 4 variables: order3.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order2.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 order3.delta:VARIABLE(flow=false start = order3.delta0 unit = "rad" fixed = true ) "Rotor angle" 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 (160): * Single equations (assignments): 157 * 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 {(19,14,24.4%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006765/0.2797, allocations: 303.7 kB / 0.6851 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003039/0.28, allocations: 122.5 kB / 0.6852 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01247/0.2925, allocations: 3.873 MB / 0.689 GB, free: 10.83 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.795e-05/0.2925, allocations: 7.984 kB / 0.689 GB, free: 10.82 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.2925, allocations: 0 / 0.689 GB, free: 10.82 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003365/0.2928, allocations: 219.3 kB / 0.6892 GB, free: 10.59 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002307/0.2931, allocations: 24 kB / 0.6893 GB, free: 10.57 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001153/0.2942, allocations: 111.8 kB / 0.6894 GB, free: 10.46 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009984/0.2953, allocations: 436.3 kB / 0.6898 GB, free: 10.03 MB / 0.4981 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.006511/0.3018, allocations: 2.221 MB / 0.6919 GB, free: 7.781 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004785/0.3066, allocations: 2.257 MB / 0.6941 GB, free: 5.5 MB / 0.4981 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001399/0.308, allocations: 0.5661 MB / 0.6947 GB, free: 4.934 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001576/0.3096, allocations: 0.7353 MB / 0.6954 GB, free: 4.191 MB / 0.4981 GB Notification: Performance of Backend: time 1.082e-06/0.3097, allocations: 0 / 0.6954 GB, free: 4.191 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.006328/0.316, allocations: 2.094 MB / 0.6975 GB, free: 2.047 MB / 0.4981 GB Notification: Performance of SimCode: time 0.003821/0.3198, allocations: 2.863 MB / 0.7003 GB, free: 15.12 MB / 0.5137 GB Notification: Performance of Templates: time 0.3269/0.6468, allocations: 22.71 MB / 0.7224 GB, free: 86.85 MB / 0.5137 GB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.sim & ./OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe 2>&1)