Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.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.TwoArea.FourthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.07743/0.07743, allocations: 12.6 MB / 28.91 MB, free: 424 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.001111/0.001111, allocations: 115.5 kB / 32.52 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.412/1.412, 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.001466/0.001466, allocations: 207.2 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.4882/0.4882, allocations: 78.52 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.002591/0.002591, allocations: 141.7 kB / 0.5567 GB, free: 17.16 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1467/0.1493, allocations: 68.12 MB / 0.6232 GB, free: 13.01 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII): time 0.01956/0.1689, allocations: 21.82 MB / 0.6445 GB, free: 7.098 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01336/0.1823, allocations: 4.799 MB / 0.6492 GB, free: 2.277 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005351/0.1878, allocations: 40 kB / 0.6492 GB, free: 2.238 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003208/0.1911, allocations: 0.8866 MB / 0.6501 GB, free: 1.344 MB / 462.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/Electrical/Branches/PSAT/TwoWindingTransformer.mo:44:3-44:83:writable] Warning: In relation Tr16.m <> 1.0, <> on Real numbers is only allowed inside functions. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/Electrical/Branches/PSAT/TwoWindingTransformer.mo:44:3-44:83:writable] Warning: In relation Tr67.m <> 1.0, <> on Real numbers is only allowed inside functions. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/Electrical/Branches/PSAT/TwoWindingTransformer.mo:44:3-44:83:writable] Warning: In relation Tr78.m <> 1.0, <> on Real numbers is only allowed inside functions. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/Electrical/Branches/PSAT/TwoWindingTransformer.mo:44:3-44:83:writable] Warning: In relation Tr89.m <> 1.0, <> on Real numbers is only allowed inside functions. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/Electrical/Branches/PSAT/TwoWindingTransformer.mo:44:3-44:83:writable] Warning: In relation Tr49.m <> 1.0, <> on Real numbers is only allowed inside functions. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/Electrical/Branches/PSAT/TwoWindingTransformer.mo:44:3-44:83:writable] Warning: In relation Tr528.m <> 1.0, <> on Real numbers is only allowed inside functions. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/Electrical/Branches/PSAT/TwoWindingTransformer.mo:44:3-44:83:writable] Warning: In relation Tr2829.m <> 1.0, <> on Real numbers is only allowed inside functions. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/Electrical/Branches/PSAT/TwoWindingTransformer.mo:44:3-44:83:writable] Warning: In relation Tr2930.m <> 1.0, <> on Real numbers is only allowed inside functions. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/Electrical/Branches/PSAT/TwoWindingTransformer.mo:44:3-44:83:writable] Warning: In relation Tr3031.m <> 1.0, <> on Real numbers is only allowed inside functions. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/Electrical/Branches/PSAT/TwoWindingTransformer.mo:44:3-44:83:writable] Warning: In relation Tr231.m <> 1.0, <> on Real numbers is only allowed inside functions. Notification: Performance of NFTyping.typeBindings: time 0.008688/0.1998, allocations: 2.293 MB / 0.6523 GB, free: 15.04 MB / 478.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.006174/0.206, allocations: 2.051 MB / 0.6543 GB, free: 13.02 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.009306/0.2153, allocations: 5.705 MB / 0.6599 GB, free: 7.293 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002908/0.2182, allocations: 1.325 MB / 0.6612 GB, free: 5.914 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004208/0.2224, allocations: 2.318 MB / 0.6635 GB, free: 3.586 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004497/0.227, allocations: 2.928 MB / 0.6663 GB, free: 0.6406 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001987/0.229, allocations: 436 kB / 0.6667 GB, free: 220 kB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002765/0.2318, allocations: 0.578 MB / 0.6673 GB, free: 15.64 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001997/0.2338, allocations: 1.147 MB / 0.6684 GB, free: 14.48 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005037/0.2388, allocations: 2.606 MB / 0.671 GB, free: 11.86 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01053/0.2494, allocations: 6.204 MB / 0.677 GB, free: 5.637 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.015e-06/0.2494, allocations: 0 / 0.677 GB, free: 5.637 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.615e-06/0.2494, allocations: 0 / 0.677 GB, free: 5.637 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.000328/0.2498, allocations: 0 / 0.677 GB, free: 5.637 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 893 * Number of variables: 893 Notification: Performance of Generate backend data structure: time 0.3529/0.6027, allocations: 9.114 MB / 0.6859 GB, free: 48.79 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.615e-05/0.6027, allocations: 13.39 kB / 0.6859 GB, free: 48.79 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0291/0.6318, allocations: 4.007 MB / 0.6898 GB, free: 48.48 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007569/0.6394, allocations: 2.654 MB / 0.6924 GB, free: 46.98 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001264/0.6407, allocations: 0.9565 MB / 0.6934 GB, free: 46.16 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001605/0.6424, allocations: 347.1 kB / 0.6937 GB, free: 46.05 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01305/0.6554, allocations: 4.723 MB / 0.6983 GB, free: 44.32 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.204e-05/0.6555, allocations: 15.77 kB / 0.6983 GB, free: 44.31 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004213/0.656, allocations: 140.6 kB / 0.6985 GB, free: 44.2 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.983e-05/0.6561, allocations: 83.44 kB / 0.6985 GB, free: 44.2 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01107/0.6671, allocations: 4.239 MB / 0.7027 GB, free: 42.75 MB / 494.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.03934/0.7065, allocations: 18.19 MB / 0.7204 GB, free: 28.34 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01215/0.7187, allocations: 5.001 MB / 0.7253 GB, free: 25.73 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00598/0.7247, allocations: 2.781 MB / 0.728 GB, free: 23.95 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004893/0.7253, allocations: 73.66 kB / 0.7281 GB, free: 23.89 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006364/0.7316, allocations: 3.165 MB / 0.7312 GB, free: 20.68 MB / 494.1 MB Notification: Performance of pre-optimization done (n=383): time 6.782e-06/0.7317, allocations: 0 / 0.7312 GB, free: 20.68 MB / 494.1 MB Notification: Performance of matching and sorting (n=383): time 0.3123/1.044, allocations: 68.05 MB / 0.7977 GB, free: 0.5273 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001035/1.044, allocations: 145.8 kB / 0.7978 GB, free: 368 kB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005596/1.05, allocations: 3.208 MB / 0.8009 GB, free: 13.14 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.001254/1.051, allocations: 88.89 kB / 0.801 GB, free: 13.05 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.001622/1.053, allocations: 1.98 MB / 0.8029 GB, free: 11.06 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.002057/1.055, allocations: 1.309 MB / 0.8042 GB, free: 9.73 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001403/1.056, allocations: 0.682 MB / 0.8049 GB, free: 9.035 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 9.622e-05/1.056, allocations: 305.1 kB / 0.8052 GB, free: 8.734 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0058/1.062, allocations: 2.585 MB / 0.8077 GB, free: 6.141 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006391/1.068, allocations: 3.209 MB / 0.8108 GB, free: 2.703 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.07329/1.142, allocations: 18.78 MB / 0.8292 GB, free: 15.64 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-05/1.142, allocations: 7.938 kB / 0.8292 GB, free: 15.64 MB / 0.5762 GB Notification: Performance of matching and sorting (n=538) (initialization): time 0.06196/1.204, allocations: 17.25 MB / 0.846 GB, free: 14.34 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001164/1.204, allocations: 71.33 kB / 0.8461 GB, free: 14.25 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.676e-05/1.204, allocations: 16 kB / 0.8461 GB, free: 14.24 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02734/1.231, allocations: 7.15 MB / 0.8531 GB, free: 7.082 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003829/1.235, allocations: 0.6709 MB / 0.8538 GB, free: 6.41 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.09702/1.332, allocations: 33.27 MB / 0.8862 GB, free: 4.941 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006855/1.339, allocations: 0.6132 MB / 0.8868 GB, free: 4.324 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008219/1.34, allocations: 148.8 kB / 0.887 GB, free: 4.18 MB / 0.6231 GB Warning: Assuming fixed start value for the following 5 variables: order4.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order3.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order3.delta:VARIABLE(flow=false start = order3.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real order3.e1q:VARIABLE(start = order3.e1q0 unit = "1" fixed = true ) "q-axis transient voltage" type: Real order4.delta:VARIABLE(flow=false start = order4.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 65 * 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 (403): * Single equations (assignments): 400 * 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 {(92,44,5.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002086/1.342, allocations: 0.664 MB / 0.8876 GB, free: 3.5 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001362/1.344, allocations: 462.3 kB / 0.8881 GB, free: 3.043 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05792/1.401, allocations: 16.84 MB / 0.9045 GB, free: 2.133 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001303/1.402, allocations: 23.92 kB / 0.9046 GB, free: 2.109 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.638e-06/1.402, allocations: 3.125 kB / 0.9046 GB, free: 2.109 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002056/1.404, allocations: 0.5531 MB / 0.9051 GB, free: 1.531 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001584/1.405, allocations: 64 kB / 0.9052 GB, free: 1.469 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004956/1.41, allocations: 355.6 kB / 0.9055 GB, free: 1.121 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.006894/1.417, allocations: 1.914 MB / 0.9074 GB, free: 15.2 MB / 0.6544 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02718/1.444, allocations: 8.307 MB / 0.9155 GB, free: 6.836 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01882/1.463, allocations: 8.194 MB / 0.9235 GB, free: 14.56 MB / 0.67 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.005651/1.469, allocations: 2.273 MB / 0.9257 GB, free: 12.28 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.003448/1.472, allocations: 2.098 MB / 0.9277 GB, free: 10.18 MB / 0.67 GB Notification: Performance of Backend: time 8.11e-07/1.472, allocations: 3.562 kB / 0.9277 GB, free: 10.18 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.0246/1.497, allocations: 6.872 MB / 0.9345 GB, free: 3.277 MB / 0.67 GB Notification: Performance of SimCode: time 0.3471/1.844, allocations: 8.916 MB / 0.9432 GB, free: 227 MB / 0.67 GB Notification: Performance of Templates: time 0.1259/1.97, allocations: 83.87 MB / 1.025 GB, free: 170 MB / 0.67 GB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.sim & ./OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.pipe 2>&1)