Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.TwoAreas.Two_Areas_PSAT.conf.json 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/Modelica 4.0.0+maint.om/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/OpenIPSL 3.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/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 with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/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) Running command: translateModel(OpenIPSL.Examples.TwoAreas.Two_Areas_PSAT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.TwoAreas.Two_Areas_PSAT") translateModel(OpenIPSL.Examples.TwoAreas.Two_Areas_PSAT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.TwoAreas.Two_Areas_PSAT") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000868/0.0008681, allocations: 171.1 kB / 16.08 MB, free: 5.691 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.239/1.239, allocations: 222.9 MB / 239.7 MB, free: 10.16 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007071/0.000707, allocations: 92.45 kB / 290.5 MB, free: 11 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4412/0.4412, allocations: 78.41 MB / 419.6 MB, free: 9.734 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003731/0.0003731, allocations: 16 kB / 499.1 MB, free: 10.62 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2664/0.2667, allocations: 68.75 MB / 0.5545 GB, free: 20.2 MB / 378.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.TwoAreas.Two_Areas_PSAT): time 0.008849/0.2756, allocations: 14.85 MB / 0.569 GB, free: 5.289 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.006432/0.2821, allocations: 4.233 MB / 0.5731 GB, free: 1.039 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00261/0.2847, allocations: 32 kB / 0.5732 GB, free: 1.008 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001977/0.2868, allocations: 0.5242 MB / 0.5737 GB, free: 492 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/Electrical/Branches/PSAT/TwoWindingTransformer.mo:44:3-44:83:writable] Warning: In relation trafo1.m <> 1.0, <> on Real numbers is only allowed inside functions. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/Electrical/Branches/PSAT/TwoWindingTransformer.mo:44:3-44:83:writable] Warning: In relation trafo2.m <> 1.0, <> on Real numbers is only allowed inside functions. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/Electrical/Branches/PSAT/TwoWindingTransformer.mo:44:3-44:83:writable] Warning: In relation trafo3.m <> 1.0, <> on Real numbers is only allowed inside functions. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/Electrical/Branches/PSAT/TwoWindingTransformer.mo:44:3-44:83:writable] Warning: In relation trafo4.m <> 1.0, <> on Real numbers is only allowed inside functions. Notification: Performance of NFTyping.typeBindings: time 0.004516/0.2913, allocations: 1.394 MB / 0.5751 GB, free: 15.09 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002698/0.294, allocations: 1.171 MB / 0.5762 GB, free: 13.93 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.004974/0.299, allocations: 3.828 MB / 0.5799 GB, free: 10.09 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001174/0.3002, allocations: 0.6736 MB / 0.5806 GB, free: 9.375 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002079/0.3023, allocations: 1.392 MB / 0.582 GB, free: 7.977 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002512/0.3048, allocations: 1.886 MB / 0.5838 GB, free: 6.082 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007687/0.3056, allocations: 168 kB / 0.584 GB, free: 5.918 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001327/0.3069, allocations: 311.8 kB / 0.5843 GB, free: 5.613 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006405/0.3076, allocations: 0.6295 MB / 0.5849 GB, free: 4.98 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001586/0.3092, allocations: 1.541 MB / 0.5864 GB, free: 3.43 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003742/0.3129, allocations: 4.28 MB / 0.5905 GB, free: 15.13 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.656e-06/0.3129, allocations: 0 / 0.5905 GB, free: 15.13 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.934e-06/0.3129, allocations: 0 / 0.5905 GB, free: 15.13 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.941e-05/0.313, allocations: 4 kB / 0.5906 GB, free: 15.13 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 451 * Number of variables: 451 Notification: Performance of Generate backend data structure: time 0.01803/0.331, allocations: 5.153 MB / 0.5956 GB, free: 9.906 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.596e-05/0.3311, allocations: 16.02 kB / 0.5956 GB, free: 9.891 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01327/0.3444, allocations: 2.037 MB / 0.5976 GB, free: 7.848 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003919/0.3484, allocations: 2.022 MB / 0.5996 GB, free: 5.762 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004453/0.3488, allocations: 443.1 kB / 0.6 GB, free: 5.273 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004131/0.3492, allocations: 195.9 kB / 0.6002 GB, free: 5.082 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004594/0.3538, allocations: 2.311 MB / 0.6024 GB, free: 2.758 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.976e-05/0.3539, allocations: 0 / 0.6024 GB, free: 2.758 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002032/0.3541, allocations: 68 kB / 0.6025 GB, free: 2.691 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.621e-05/0.3541, allocations: 47.94 kB / 0.6025 GB, free: 2.645 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004377/0.3585, allocations: 2.325 MB / 0.6048 GB, free: 324 kB / 410.7 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.01645/0.375, allocations: 9.721 MB / 0.6143 GB, free: 6.148 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009405/0.3844, allocations: 4.165 MB / 0.6184 GB, free: 1.766 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003097/0.3875, allocations: 1.617 MB / 0.62 GB, free: 152 kB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002355/0.3878, allocations: 29.98 kB / 0.62 GB, free: 124 kB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.174e-05/0.3878, allocations: 72.36 kB / 0.62 GB, free: 40 kB / 426.7 MB Notification: Performance of pre-optimization done (n=223): time 3.757e-06/0.3878, allocations: 0 / 0.62 GB, free: 40 kB / 426.7 MB Notification: Performance of matching and sorting (n=223): time 0.08307/0.4709, allocations: 20.08 MB / 0.6397 GB, free: 11.9 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.288e-05/0.471, allocations: 73.41 kB / 0.6397 GB, free: 11.82 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003868/0.4749, allocations: 2.691 MB / 0.6424 GB, free: 9.113 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004751/0.4754, allocations: 65.7 kB / 0.6424 GB, free: 9.043 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008773/0.4763, allocations: 1.165 MB / 0.6436 GB, free: 7.867 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008945/0.4772, allocations: 0.8088 MB / 0.6443 GB, free: 7.047 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004287/0.4776, allocations: 304.7 kB / 0.6446 GB, free: 6.742 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 9.614e-05/0.4777, allocations: 305.1 kB / 0.6449 GB, free: 6.441 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003424/0.4811, allocations: 1.799 MB / 0.6467 GB, free: 4.641 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003614/0.4848, allocations: 2.151 MB / 0.6488 GB, free: 2.406 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.05734/0.5421, allocations: 13.08 MB / 0.6616 GB, free: 5.195 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.546e-05/0.5422, allocations: 0 / 0.6616 GB, free: 5.195 MB / 474.7 MB Notification: Performance of matching and sorting (n=429) (initialization): time 0.02077/0.563, allocations: 7.452 MB / 0.6688 GB, free: 13.66 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.22e-05/0.563, allocations: 12 kB / 0.6689 GB, free: 13.65 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.123e-05/0.5631, allocations: 8 kB / 0.6689 GB, free: 13.64 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0129/0.576, allocations: 3.223 MB / 0.672 GB, free: 10.38 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007925/0.584, allocations: 1.42 MB / 0.6734 GB, free: 8.953 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2627/0.8467, allocations: 15.61 MB / 0.6886 GB, free: 106.5 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004107/0.8509, allocations: 382 kB / 0.689 GB, free: 106.5 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006038/0.8515, allocations: 119.1 kB / 0.6891 GB, free: 106.5 MB / 490.7 MB Warning: Assuming fixed start value for the following 8 variables: g4.order6_1.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real g3.order6_1.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real g2.order6_1.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real g1.order6_1.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real g1.order6_1.delta:VARIABLE(flow=false start = g1.order6_1.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real g1.order6_1.e1d:VARIABLE(start = g1.order6_1.e1d0 unit = "1" fixed = true ) "d-axis transient voltage" type: Real g2.order6_1.delta:VARIABLE(flow=false start = g2.order6_1.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real g2.order6_1.e1d:VARIABLE(start = g2.order6_1.e1d0 unit = "1" fixed = true ) "d-axis transient voltage" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * 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 (361): * Single equations (assignments): 347 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 9 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 9 systems {(2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%), (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): 4 systems {(4,2,75.0%), (4,2,75.0%), (1,1,100.0%), (3,17,88.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(8,22)} Notification: Performance of prepare postOptimizeDAE: time 0.001587/0.8531, allocations: 0.5044 MB / 0.6896 GB, free: 106.1 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007951/0.8539, allocations: 309.1 kB / 0.6899 GB, free: 106.1 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02502/0.8789, allocations: 8.119 MB / 0.6978 GB, free: 104.2 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.541e-05/0.879, allocations: 7.781 kB / 0.6978 GB, free: 104.2 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.913e-06/0.879, allocations: 0 / 0.6978 GB, free: 104.2 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009869/0.88, allocations: 461.7 kB / 0.6983 GB, free: 104 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008796/0.8809, allocations: 46.5 kB / 0.6983 GB, free: 103.9 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002736/0.8837, allocations: 159 kB / 0.6985 GB, free: 103.9 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002143/0.8858, allocations: 0.8289 MB / 0.6993 GB, free: 103.8 MB / 490.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01445/0.9003, allocations: 4.839 MB / 0.704 GB, free: 102.3 MB / 490.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.008241/0.9086, allocations: 4.792 MB / 0.7087 GB, free: 100.3 MB / 490.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002255/0.9108, allocations: 1.278 MB / 0.7099 GB, free: 99.68 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.00257/0.9134, allocations: 1.778 MB / 0.7117 GB, free: 98.15 MB / 490.7 MB Notification: Performance of Backend: time 4.3e-07/0.9135, allocations: 0 / 0.7117 GB, free: 98.15 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01186/0.9253, allocations: 5.171 MB / 0.7167 GB, free: 93.25 MB / 490.7 MB Notification: Performance of SimCode: time 0.008092/0.9334, allocations: 7.616 MB / 0.7242 GB, free: 85.63 MB / 490.7 MB Notification: Performance of Templates: time 0.06215/0.9956, allocations: 47.2 MB / 0.7703 GB, free: 38.48 MB / 490.7 MB make -j1 -f OpenIPSL_release_OpenIPSL.Examples.TwoAreas.Two_Areas_PSAT.makefile (rm -f OpenIPSL_release_OpenIPSL.Examples.TwoAreas.Two_Areas_PSAT.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.TwoAreas.Two_Areas_PSAT.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.TwoAreas.Two_Areas_PSAT.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.TwoAreas.Two_Areas_PSAT.sim & ./OpenIPSL_release_OpenIPSL.Examples.TwoAreas.Two_Areas_PSAT -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Examples.TwoAreas.Two_Areas_PSAT.pipe 2>&1)