Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_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.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.0885/0.0885, allocations: 12.6 MB / 28.91 MB, free: 0.6406 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.001157/0.001157, allocations: 111.5 kB / 32.51 MB, free: 3.578 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.478/1.478, 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.001587/0.001587, allocations: 196.4 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.5005/0.5005, allocations: 78.52 MB / 420 MB, free: 11.28 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.002755/0.002755, allocations: 143.5 kB / 0.5567 GB, free: 28.38 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1596/0.1623, allocations: 68.13 MB / 0.6232 GB, free: 15.3 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII): time 0.02072/0.1831, allocations: 21.9 MB / 0.6446 GB, free: 9.305 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01326/0.1964, allocations: 4.823 MB / 0.6493 GB, free: 4.461 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006432/0.2029, allocations: 44 kB / 0.6493 GB, free: 4.418 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003982/0.2069, allocations: 0.8906 MB / 0.6502 GB, free: 3.52 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.01016/0.2172, allocations: 2.301 MB / 0.6524 GB, free: 1.207 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006816/0.224, allocations: 2.068 MB / 0.6545 GB, free: 15.17 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.01076/0.2348, allocations: 5.76 MB / 0.6601 GB, free: 9.387 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003375/0.2382, allocations: 1.314 MB / 0.6614 GB, free: 8.02 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004363/0.2426, allocations: 2.341 MB / 0.6637 GB, free: 5.668 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004928/0.2475, allocations: 2.967 MB / 0.6666 GB, free: 2.688 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002083/0.2496, allocations: 440 kB / 0.667 GB, free: 2.258 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002968/0.2526, allocations: 0.5936 MB / 0.6676 GB, free: 1.664 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002063/0.2547, allocations: 1.147 MB / 0.6687 GB, free: 0.5117 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00509/0.2598, allocations: 2.625 MB / 0.6712 GB, free: 13.87 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009791/0.2696, allocations: 6.254 MB / 0.6773 GB, free: 7.594 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.093e-06/0.2696, allocations: 0 / 0.6773 GB, free: 7.594 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.863e-06/0.2696, allocations: 0 / 0.6773 GB, free: 7.594 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.0002089/0.2699, allocations: 0 / 0.6773 GB, free: 7.594 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: 894 * Number of variables: 894 Notification: Performance of Generate backend data structure: time 0.03209/0.302, allocations: 9.186 MB / 0.6863 GB, free: 14.31 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.634e-05/0.302, allocations: 15.98 kB / 0.6863 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02738/0.3294, allocations: 4.013 MB / 0.6903 GB, free: 10.27 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006243/0.3357, allocations: 2.674 MB / 0.6929 GB, free: 7.52 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001041/0.3368, allocations: 0.9574 MB / 0.6938 GB, free: 6.426 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001168/0.338, allocations: 355.9 kB / 0.6941 GB, free: 6.078 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01063/0.3486, allocations: 4.735 MB / 0.6988 GB, free: 1.312 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.846e-05/0.3487, allocations: 7.875 kB / 0.6988 GB, free: 1.305 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004142/0.3491, allocations: 151.9 kB / 0.6989 GB, free: 1.156 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.676e-05/0.3492, allocations: 84 kB / 0.699 GB, free: 1.074 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009118/0.3583, allocations: 4.248 MB / 0.7031 GB, free: 12.82 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.3507/0.709, allocations: 18.24 MB / 0.721 GB, free: 70.23 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0144/0.7234, allocations: 5.011 MB / 0.7258 GB, free: 69.04 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00717/0.7307, allocations: 2.792 MB / 0.7286 GB, free: 67.95 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005239/0.7312, allocations: 70.55 kB / 0.7286 GB, free: 67.94 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007706/0.7389, allocations: 3.188 MB / 0.7318 GB, free: 66.82 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=384): time 7.514e-06/0.739, allocations: 3.312 kB / 0.7318 GB, free: 66.82 MB / 0.5137 GB Notification: Performance of matching and sorting (n=384): time 0.2902/1.029, allocations: 67.77 MB / 0.7979 GB, free: 16.59 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.386e-05/1.029, allocations: 141.8 kB / 0.7981 GB, free: 16.42 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004096/1.033, allocations: 3.247 MB / 0.8012 GB, free: 13.19 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.00103/1.034, allocations: 89.7 kB / 0.8013 GB, free: 13.1 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.001188/1.036, allocations: 1.979 MB / 0.8033 GB, free: 11.39 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.001593/1.037, allocations: 1.318 MB / 0.8045 GB, free: 10.09 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001247/1.038, allocations: 0.6821 MB / 0.8052 GB, free: 9.391 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 5.55e-05/1.039, allocations: 305.1 kB / 0.8055 GB, free: 9.09 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005122/1.044, allocations: 2.602 MB / 0.808 GB, free: 6.48 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005494/1.049, allocations: 3.241 MB / 0.8112 GB, free: 3.02 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0754/1.125, allocations: 18.99 MB / 0.8298 GB, free: 15.77 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.893e-05/1.125, allocations: 4 kB / 0.8298 GB, free: 15.77 MB / 0.545 GB Notification: Performance of matching and sorting (n=542) (initialization): time 0.06458/1.189, allocations: 17.29 MB / 0.8466 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 9.803e-05/1.189, allocations: 71.39 kB / 0.8467 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.617e-05/1.189, allocations: 12 kB / 0.8467 GB, free: 14.33 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0282/1.218, allocations: 7.154 MB / 0.8537 GB, free: 7.172 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004034/1.222, allocations: 0.6826 MB / 0.8544 GB, free: 6.488 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.09443/1.316, allocations: 33.3 MB / 0.8869 GB, free: 5.008 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006566/1.323, allocations: 0.6114 MB / 0.8875 GB, free: 4.395 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001047/1.324, allocations: 152 kB / 0.8876 GB, free: 4.246 MB / 0.5919 GB Warning: Assuming fixed start value for the following 5 variables: order5.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 order5.delta:VARIABLE(flow=false start = order5.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 (407): * Single equations (assignments): 404 * 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.003212/1.327, allocations: 0.6725 MB / 0.8883 GB, free: 3.559 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001824/1.329, allocations: 462.3 kB / 0.8887 GB, free: 3.102 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05642/1.385, allocations: 16.87 MB / 0.9052 GB, free: 2.168 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001141/1.385, allocations: 23.92 kB / 0.9052 GB, free: 2.145 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.009e-05/1.385, allocations: 7.797 kB / 0.9052 GB, free: 2.141 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00167/1.387, allocations: 0.5532 MB / 0.9058 GB, free: 1.562 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001186/1.388, allocations: 64 kB / 0.9058 GB, free: 1.5 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004141/1.393, allocations: 361.5 kB / 0.9062 GB, free: 1.148 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.006418/1.399, allocations: 1.906 MB / 0.908 GB, free: 15.24 MB / 0.6231 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02464/1.424, allocations: 8.36 MB / 0.9162 GB, free: 6.91 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01761/1.441, allocations: 8.234 MB / 0.9243 GB, free: 14.6 MB / 0.6387 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.005428/1.447, allocations: 2.284 MB / 0.9265 GB, free: 12.3 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.00344/1.45, allocations: 2.133 MB / 0.9286 GB, free: 10.17 MB / 0.6387 GB Notification: Performance of Backend: time 1.012e-06/1.45, allocations: 0 / 0.9286 GB, free: 10.17 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.02293/1.473, allocations: 6.892 MB / 0.9353 GB, free: 3.254 MB / 0.6387 GB Notification: Performance of SimCode: time 0.0154/1.489, allocations: 9.003 MB / 0.9441 GB, free: 10.21 MB / 0.6544 GB Notification: Performance of Templates: time 0.4569/1.946, allocations: 84.5 MB / 1.027 GB, free: 195.3 MB / 0.67 GB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.sim & ./OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.pipe 2>&1)