Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI.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_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.08438/0.08438, allocations: 12.6 MB / 28.9 MB, free: 312 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.001165/0.001165, allocations: 111.5 kB / 32.5 MB, free: 3.406 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.338/1.338, 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.00153/0.00153, 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.4271/0.4271, allocations: 78.51 MB / 420 MB, free: 11.21 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.002673/0.002673, allocations: 139.7 kB / 0.5565 GB, free: 28.45 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1255/0.1281, allocations: 68.13 MB / 0.6231 GB, free: 15.41 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI): time 0.006543/0.1347, allocations: 6.44 MB / 0.6294 GB, free: 8.941 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003932/0.1387, allocations: 1.944 MB / 0.6312 GB, free: 6.992 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004938/0.1392, allocations: 8 kB / 0.6313 GB, free: 6.984 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006736/0.1399, allocations: 250 kB / 0.6315 GB, free: 6.738 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001734/0.1417, allocations: 0.8465 MB / 0.6323 GB, free: 5.895 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001221/0.1429, allocations: 0.6468 MB / 0.633 GB, free: 5.254 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001417/0.1443, allocations: 1.546 MB / 0.6345 GB, free: 3.703 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004493/0.1448, allocations: 314.4 kB / 0.6348 GB, free: 3.383 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006236/0.1454, allocations: 0.6263 MB / 0.6354 GB, free: 2.754 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007978/0.1462, allocations: 0.8206 MB / 0.6362 GB, free: 1.93 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000169/0.1464, allocations: 120 kB / 0.6363 GB, free: 1.812 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004565/0.1469, allocations: 259.8 kB / 0.6365 GB, free: 1.559 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002751/0.1472, allocations: 334.6 kB / 0.6369 GB, free: 1.23 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005044/0.1477, allocations: 0.6641 MB / 0.6375 GB, free: 0.5625 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001553/0.1492, allocations: 1.649 MB / 0.6391 GB, free: 14.91 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.1493, allocations: 0 / 0.6391 GB, free: 14.91 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.734e-06/0.1493, allocations: 0 / 0.6391 GB, free: 14.91 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.602e-05/0.1493, allocations: 4 kB / 0.6391 GB, free: 14.9 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: 186 * Number of variables: 186 Notification: Performance of Generate backend data structure: time 0.008173/0.1575, allocations: 2.702 MB / 0.6418 GB, free: 12.13 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.701e-05/0.1575, allocations: 15.98 kB / 0.6418 GB, free: 12.12 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004742/0.1623, allocations: 0.7835 MB / 0.6425 GB, free: 11.33 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001464/0.1638, allocations: 0.899 MB / 0.6434 GB, free: 10.38 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002707/0.164, allocations: 238.4 kB / 0.6436 GB, free: 10.11 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001624/0.1642, allocations: 83.95 kB / 0.6437 GB, free: 10.03 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001996/0.1662, allocations: 1.095 MB / 0.6448 GB, free: 8.922 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.143e-05/0.1662, allocations: 0 / 0.6448 GB, free: 8.922 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.41e-05/0.1663, allocations: 32 kB / 0.6448 GB, free: 8.891 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.458e-05/0.1664, allocations: 19.94 kB / 0.6448 GB, free: 8.871 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001925/0.1683, allocations: 0.9994 MB / 0.6458 GB, free: 7.871 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.006019/0.1743, allocations: 3.836 MB / 0.6496 GB, free: 3.844 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006997/0.1813, allocations: 2.339 MB / 0.6518 GB, free: 1.402 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001316/0.1827, allocations: 0.6878 MB / 0.6525 GB, free: 0.7109 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000108/0.1828, allocations: 20.97 kB / 0.6525 GB, free: 0.6914 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.952e-05/0.1828, allocations: 43.56 kB / 0.6526 GB, free: 0.6406 MB / 462.1 MB Notification: Performance of pre-optimization done (n=92): time 3.907e-06/0.1828, allocations: 0 / 0.6526 GB, free: 0.6406 MB / 462.1 MB Notification: Performance of matching and sorting (n=92): time 0.02609/0.2089, allocations: 6.885 MB / 0.6593 GB, free: 9.715 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.084e-05/0.209, allocations: 137.5 kB / 0.6594 GB, free: 9.551 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001811/0.2109, allocations: 1.091 MB / 0.6605 GB, free: 8.445 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001689/0.2111, allocations: 45.7 kB / 0.6605 GB, free: 8.395 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003884/0.2115, allocations: 0.4897 MB / 0.661 GB, free: 7.898 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003938/0.2119, allocations: 360.9 kB / 0.6614 GB, free: 7.543 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005675/0.2124, allocations: 267.5 kB / 0.6616 GB, free: 7.277 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 8.486e-05/0.2125, allocations: 305.1 kB / 0.6619 GB, free: 6.977 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001566/0.2141, allocations: 0.7543 MB / 0.6627 GB, free: 6.219 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001654/0.2158, allocations: 0.9266 MB / 0.6636 GB, free: 5.246 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0222/0.238, allocations: 5.528 MB / 0.669 GB, free: 15.63 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.007e-05/0.238, allocations: 0 / 0.669 GB, free: 15.63 MB / 494.1 MB Notification: Performance of matching and sorting (n=182) (initialization): time 0.01306/0.2511, allocations: 4.337 MB / 0.6732 GB, free: 11.27 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.117e-05/0.2512, allocations: 63.41 kB / 0.6733 GB, free: 11.2 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.424e-05/0.2512, allocations: 0 / 0.6733 GB, free: 11.2 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005405/0.2567, allocations: 1.587 MB / 0.6748 GB, free: 9.605 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001336/0.258, allocations: 263.6 kB / 0.6751 GB, free: 9.348 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01926/0.2773, allocations: 8.515 MB / 0.6834 GB, free: 0.6797 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001918/0.2793, allocations: 191.2 kB / 0.6835 GB, free: 0.4922 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002528/0.2795, allocations: 51.98 kB / 0.6836 GB, free: 452 kB / 494.1 MB 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: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002198/0.2818, allocations: 0.9344 MB / 0.6845 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001686/0.2835, allocations: 0.9149 MB / 0.6854 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.02275/0.3062, allocations: 5.5 MB / 0.6908 GB, free: 8.961 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.799e-06/0.3063, allocations: 0 / 0.6908 GB, free: 8.961 MB / 0.4981 GB Notification: Performance of matching and sorting (n=182) (initialization_lambda0): time 0.01304/0.3193, allocations: 4.313 MB / 0.695 GB, free: 4.621 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 6.233e-05/0.3194, allocations: 59.41 kB / 0.695 GB, free: 4.551 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.558e-05/0.3195, allocations: 7.938 kB / 0.6951 GB, free: 4.543 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00532/0.3248, allocations: 1.593 MB / 0.6966 GB, free: 2.945 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001343/0.3261, allocations: 251.7 kB / 0.6968 GB, free: 2.699 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01878/0.3449, allocations: 8.519 MB / 0.7052 GB, free: 10.03 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001766/0.3468, allocations: 175.4 kB / 0.7053 GB, free: 9.855 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000243/0.347, allocations: 55.97 kB / 0.7054 GB, free: 9.801 MB / 0.5137 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (150): * Single equations (assignments): 147 * 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.0005533/0.3476, allocations: 292 kB / 0.7057 GB, free: 9.504 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003925/0.348, allocations: 131.2 kB / 0.7058 GB, free: 9.375 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01163/0.3596, allocations: 3.751 MB / 0.7095 GB, free: 5.594 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.891e-05/0.3597, allocations: 7.984 kB / 0.7095 GB, free: 5.586 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.398e-06/0.3597, allocations: 3.938 kB / 0.7095 GB, free: 5.582 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004779/0.3602, allocations: 231.9 kB / 0.7097 GB, free: 5.336 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000333/0.3605, allocations: 28 kB / 0.7097 GB, free: 5.309 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001292/0.3618, allocations: 99.88 kB / 0.7098 GB, free: 5.211 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009645/0.3628, allocations: 416.4 kB / 0.7102 GB, free: 4.805 MB / 0.5137 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005546/0.3684, allocations: 2.126 MB / 0.7123 GB, free: 2.648 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004093/0.3725, allocations: 2.277 MB / 0.7145 GB, free: 352 kB / 0.5137 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.3023/0.6748, allocations: 0.57 MB / 0.7151 GB, free: 85.18 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001331/0.6762, allocations: 0.7312 MB / 0.7158 GB, free: 85.07 MB / 0.5137 GB Notification: Performance of Backend: time 9.72e-07/0.6762, allocations: 0 / 0.7158 GB, free: 85.07 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.01116/0.6874, allocations: 3.931 MB / 0.7196 GB, free: 84.37 MB / 0.5137 GB Notification: Performance of SimCode: time 0.003899/0.6913, allocations: 2.876 MB / 0.7224 GB, free: 82.67 MB / 0.5137 GB Notification: Performance of Templates: time 0.04915/0.7405, allocations: 33.06 MB / 0.7547 GB, free: 65.65 MB / 0.5137 GB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI.sim & ./OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI.pipe 2>&1)