Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_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.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.134/0.134, allocations: 12.6 MB / 28.91 MB, free: 0.625 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.001566/0.001566, allocations: 111.5 kB / 32.51 MB, free: 3.562 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.302/1.302, allocations: 205.1 MB / 241.1 MB, free: 12.37 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.001436/0.001436, allocations: 196.4 kB / 291.4 MB, free: 13.37 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4387/0.4387, allocations: 78.52 MB / 420 MB, free: 11.22 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.002648/0.002648, allocations: 139.5 kB / 0.5566 GB, free: 28.43 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09966/0.1023, allocations: 68.12 MB / 0.6232 GB, free: 15.3 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII): time 0.01819/0.1205, allocations: 21.97 MB / 0.6446 GB, free: 9.23 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.0101/0.1307, allocations: 4.846 MB / 0.6494 GB, free: 4.359 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003009/0.1338, allocations: 44 kB / 0.6494 GB, free: 4.316 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002189/0.136, allocations: 0.8906 MB / 0.6503 GB, free: 3.418 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.006359/0.1424, allocations: 2.318 MB / 0.6525 GB, free: 1.094 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00502/0.1474, allocations: 2.072 MB / 0.6546 GB, free: 15.05 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.006855/0.1543, allocations: 5.787 MB / 0.6602 GB, free: 9.242 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002051/0.1563, allocations: 1.325 MB / 0.6615 GB, free: 7.863 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003052/0.1594, allocations: 2.353 MB / 0.6638 GB, free: 5.5 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003676/0.1631, allocations: 2.978 MB / 0.6667 GB, free: 2.508 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001235/0.1643, allocations: 444 kB / 0.6671 GB, free: 2.074 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001715/0.1661, allocations: 0.5976 MB / 0.6677 GB, free: 1.477 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001241/0.1673, allocations: 1.159 MB / 0.6689 GB, free: 320 kB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00317/0.1705, allocations: 2.637 MB / 0.6714 GB, free: 13.66 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006791/0.1773, allocations: 6.278 MB / 0.6776 GB, free: 7.359 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.1773, allocations: 0 / 0.6776 GB, free: 7.359 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.442e-06/0.1773, allocations: 0 / 0.6776 GB, free: 7.359 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.000182/0.1775, allocations: 0 / 0.6776 GB, free: 7.359 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: 895 * Number of variables: 895 Notification: Performance of Generate backend data structure: time 0.031/0.2085, allocations: 9.205 MB / 0.6865 GB, free: 14.06 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.229e-05/0.2086, allocations: 11.98 kB / 0.6866 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02756/0.2362, allocations: 4.02 MB / 0.6905 GB, free: 10.02 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005149/0.2413, allocations: 2.686 MB / 0.6931 GB, free: 7.25 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009127/0.2423, allocations: 0.9574 MB / 0.694 GB, free: 6.156 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008372/0.2431, allocations: 348 kB / 0.6944 GB, free: 5.816 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01011/0.2532, allocations: 4.755 MB / 0.699 GB, free: 1.031 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.049e-05/0.2533, allocations: 7.938 kB / 0.699 GB, free: 1.023 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004133/0.2538, allocations: 143.9 kB / 0.6992 GB, free: 0.8828 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.488e-05/0.2538, allocations: 84 kB / 0.6992 GB, free: 0.8008 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008956/0.2628, allocations: 4.256 MB / 0.7034 GB, free: 12.54 MB / 0.5137 GB 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.2506/0.5134, allocations: 18.28 MB / 0.7213 GB, free: 69.43 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01339/0.5268, allocations: 5.03 MB / 0.7262 GB, free: 68.55 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006166/0.533, allocations: 2.798 MB / 0.7289 GB, free: 67.44 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004563/0.5335, allocations: 73.58 kB / 0.729 GB, free: 67.43 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007057/0.5405, allocations: 3.193 MB / 0.7321 GB, free: 66.31 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=385): time 7.825e-06/0.5405, allocations: 0 / 0.7321 GB, free: 66.31 MB / 0.5137 GB Notification: Performance of matching and sorting (n=385): time 0.2945/0.8351, allocations: 66.81 MB / 0.7973 GB, free: 17.02 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.878e-05/0.8352, allocations: 145.8 kB / 0.7975 GB, free: 16.86 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00367/0.8388, allocations: 3.258 MB / 0.8007 GB, free: 13.61 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0008382/0.8397, allocations: 93.7 kB / 0.8007 GB, free: 13.52 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009702/0.8407, allocations: 1.982 MB / 0.8027 GB, free: 11.8 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.001286/0.842, allocations: 1.326 MB / 0.804 GB, free: 10.49 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001256/0.8432, allocations: 0.6823 MB / 0.8046 GB, free: 9.793 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 3.247e-05/0.8433, allocations: 305.1 kB / 0.8049 GB, free: 9.492 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005189/0.8485, allocations: 2.616 MB / 0.8075 GB, free: 6.867 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005515/0.854, allocations: 3.253 MB / 0.8107 GB, free: 3.391 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.07423/0.9282, allocations: 19.13 MB / 0.8293 GB, free: 8 kB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.18e-05/0.9283, allocations: 4 kB / 0.8293 GB, free: 4 kB / 0.5294 GB Notification: Performance of matching and sorting (n=546) (initialization): time 0.0613/0.9896, allocations: 17.25 MB / 0.8462 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 7.363e-05/0.9897, allocations: 67.39 kB / 0.8463 GB, free: 14.63 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.6e-05/0.9898, allocations: 16 kB / 0.8463 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02884/1.019, allocations: 7.295 MB / 0.8534 GB, free: 7.316 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003655/1.022, allocations: 0.6865 MB / 0.8541 GB, free: 6.629 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.09553/1.118, allocations: 33.84 MB / 0.8871 GB, free: 4.645 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006048/1.124, allocations: 0.6054 MB / 0.8877 GB, free: 4.035 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007917/1.125, allocations: 156 kB / 0.8879 GB, free: 3.883 MB / 0.5919 GB Warning: Assuming fixed start value for the following 4 variables: order6.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 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 (409): * Single equations (assignments): 406 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(92,46)} Notification: Performance of prepare postOptimizeDAE: time 0.002323/1.127, allocations: 0.6636 MB / 0.8885 GB, free: 3.207 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001274/1.128, allocations: 458.3 kB / 0.8889 GB, free: 2.754 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06031/1.189, allocations: 16.89 MB / 0.9054 GB, free: 1.789 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001092/1.189, allocations: 19.92 kB / 0.9055 GB, free: 1.77 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.446e-06/1.189, allocations: 0 / 0.9055 GB, free: 1.77 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001558/1.19, allocations: 0.5609 MB / 0.906 GB, free: 1.184 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001354/1.192, allocations: 67.94 kB / 0.9061 GB, free: 1.117 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004943/1.197, allocations: 360.5 kB / 0.9064 GB, free: 0.7656 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.006993/1.204, allocations: 1.912 MB / 0.9083 GB, free: 14.85 MB / 0.6231 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02782/1.232, allocations: 8.398 MB / 0.9165 GB, free: 6.484 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01922/1.251, allocations: 8.25 MB / 0.9245 GB, free: 14.15 MB / 0.6387 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.005678/1.257, allocations: 2.292 MB / 0.9268 GB, free: 11.85 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.003595/1.26, allocations: 2.141 MB / 0.9289 GB, free: 9.707 MB / 0.6387 GB Notification: Performance of Backend: time 8.01e-07/1.26, allocations: 0 / 0.9289 GB, free: 9.707 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.02438/1.285, allocations: 7.062 MB / 0.9358 GB, free: 2.625 MB / 0.6387 GB Notification: Performance of SimCode: time 0.01324/1.298, allocations: 9.075 MB / 0.9446 GB, free: 9.484 MB / 0.6544 GB Notification: Performance of Templates: time 0.3522/1.65, allocations: 88.42 MB / 1.031 GB, free: 190.3 MB / 0.67 GB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.sim & ./OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.pipe 2>&1)