Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.conf.json 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 4.0.0+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 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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) Running command: "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_ThreeArea_FifthOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_ThreeArea_FifthOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001541/0.001541, allocations: 115.3 kB / 15.34 MB, free: 0.5156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.459/1.459, allocations: 222.9 MB / 239 MB, free: 4.711 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001399/0.001399, allocations: 188.5 kB / 289.3 MB, free: 2.453 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5421/0.5421, allocations: 91.9 MB / 431.3 MB, free: 9.398 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001449/0.001449, allocations: 71.89 kB / 0.5015 GB, free: 7.965 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4775/0.479, allocations: 71.27 MB / 0.5711 GB, free: 36.5 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII): time 0.01227/0.4913, allocations: 14.59 MB / 0.5853 GB, free: 26.87 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.008866/0.5002, allocations: 3.642 MB / 0.5889 GB, free: 24.25 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004055/0.5043, allocations: 34.41 kB / 0.5889 GB, free: 24.25 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002503/0.5069, allocations: 443.4 kB / 0.5893 GB, free: 24.08 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006442/0.5134, allocations: 1.234 MB / 0.5906 GB, free: 23.25 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004393/0.5178, allocations: 1.419 MB / 0.5919 GB, free: 22.46 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.006844/0.5247, allocations: 3.758 MB / 0.5956 GB, free: 20.58 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002382/0.5271, allocations: 0.8961 MB / 0.5965 GB, free: 20.11 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003461/0.5306, allocations: 1.558 MB / 0.598 GB, free: 19.31 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003652/0.5342, allocations: 1.983 MB / 0.5999 GB, free: 18.34 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001825/0.5361, allocations: 291.2 kB / 0.6002 GB, free: 18.34 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002607/0.5387, allocations: 442.5 kB / 0.6006 GB, free: 18.3 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001556/0.5403, allocations: 0.7668 MB / 0.6014 GB, free: 17.79 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004041/0.5444, allocations: 1.67 MB / 0.603 GB, free: 16.65 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007617/0.552, allocations: 3.963 MB / 0.6069 GB, free: 14.82 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.965e-06/0.552, allocations: 0.7031 kB / 0.6069 GB, free: 14.82 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.987e-06/0.5521, allocations: 5.125 kB / 0.6069 GB, free: 14.82 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0002222/0.5523, allocations: 0 / 0.6069 GB, free: 14.82 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 524 * Number of variables: 524 Notification: Performance of Generate backend data structure: time 0.02976/0.5821, allocations: 6.645 MB / 0.6134 GB, free: 12.18 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.616e-05/0.5822, allocations: 10.59 kB / 0.6134 GB, free: 12.18 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005916/0.5828, allocations: 307.8 kB / 0.6137 GB, free: 11.98 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01587/0.5986, allocations: 2.275 MB / 0.6159 GB, free: 11.55 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005719/0.6044, allocations: 1.895 MB / 0.6178 GB, free: 10.38 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008331/0.6053, allocations: 0.7299 MB / 0.6185 GB, free: 9.719 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001131/0.6064, allocations: 220.6 kB / 0.6187 GB, free: 9.645 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008334/0.6148, allocations: 3.042 MB / 0.6217 GB, free: 8.492 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.883e-05/0.6149, allocations: 0 / 0.6217 GB, free: 8.492 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000278/0.6152, allocations: 85.34 kB / 0.6217 GB, free: 8.426 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.789e-05/0.6152, allocations: 50.66 kB / 0.6218 GB, free: 8.426 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007248/0.6225, allocations: 2.797 MB / 0.6245 GB, free: 7.477 MB / 430.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.02107/0.6436, allocations: 9.937 MB / 0.6342 GB, free: 13.37 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01149/0.6551, allocations: 4.211 MB / 0.6383 GB, free: 9.02 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004819/0.66, allocations: 1.972 MB / 0.6403 GB, free: 7.039 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000451/0.6605, allocations: 41.95 kB / 0.6403 GB, free: 7 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005482/0.666, allocations: 2.244 MB / 0.6425 GB, free: 4.734 MB / 446.1 MB Notification: Performance of pre-optimization done (n=249): time 8.506e-06/0.666, allocations: 4 kB / 0.6425 GB, free: 4.73 MB / 446.1 MB Notification: Performance of matching and sorting (n=249): time 0.1184/0.7845, allocations: 27.42 MB / 0.6693 GB, free: 9.188 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001287/0.7847, allocations: 184.2 kB / 0.6694 GB, free: 8.969 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004132/0.7888, allocations: 2.313 MB / 0.6717 GB, free: 6.637 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001114/0.79, allocations: 73.64 kB / 0.6718 GB, free: 6.559 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000989/0.791, allocations: 1.176 MB / 0.6729 GB, free: 5.371 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001511/0.7925, allocations: 0.878 MB / 0.6738 GB, free: 4.48 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00123/0.7937, allocations: 0.5697 MB / 0.6743 GB, free: 3.902 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001181/0.7938, allocations: 305.1 kB / 0.6746 GB, free: 3.602 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004226/0.7981, allocations: 1.97 MB / 0.6766 GB, free: 1.629 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0043/0.8024, allocations: 2.338 MB / 0.6788 GB, free: 15.2 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.05491/0.8573, allocations: 14.29 MB / 0.6928 GB, free: 0.6719 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.72e-05/0.8574, allocations: 7.938 kB / 0.6928 GB, free: 0.6641 MB / 494.1 MB Notification: Performance of matching and sorting (n=421) (initialization): time 0.04091/0.8983, allocations: 12.55 MB / 0.7051 GB, free: 4.035 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001151/0.8985, allocations: 114.8 kB / 0.7052 GB, free: 3.898 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.456e-05/0.8985, allocations: 8 kB / 0.7052 GB, free: 3.891 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0174/0.9159, allocations: 5.273 MB / 0.7103 GB, free: 14.61 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003429/0.9194, allocations: 0.5773 MB / 0.7109 GB, free: 14.04 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06305/0.9825, allocations: 23.2 MB / 0.7335 GB, free: 6.668 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007308/0.9898, allocations: 0.4893 MB / 0.734 GB, free: 6.176 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001556/0.9915, allocations: 120 kB / 0.7341 GB, free: 6.059 MB / 0.5294 GB Warning: Assuming fixed start value for the following 7 variables: order3_2.delta:VARIABLE(flow=false start = order3_2.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real order3_2.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order3_2.e1q:VARIABLE(start = order3_2.e1q0 unit = "1" fixed = true ) "q-axis transient voltage" type: Real order2.delta:VARIABLE(flow=false start = order2.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real order2.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real Syn2.delta:VARIABLE(flow=false start = Syn2.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real Syn2.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,$whenCondition4,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (334): * Single equations (assignments): 329 * Array equations: 0 * Algorithm blocks: 4 * 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 {(63,25,8.1%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003613/0.9951, allocations: 0.536 MB / 0.7347 GB, free: 5.504 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001781/0.9969, allocations: 300.3 kB / 0.7349 GB, free: 5.207 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04364/1.041, allocations: 11.93 MB / 0.7466 GB, free: 9.18 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.37e-05/1.041, allocations: 28 kB / 0.7466 GB, free: 9.152 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.979e-05/1.041, allocations: 16 kB / 0.7466 GB, free: 9.137 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000104/1.041, allocations: 19.94 kB / 0.7467 GB, free: 9.117 MB / 0.545 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 postOpt removeSimpleEquations (simulation): time 0.04975/1.091, allocations: 15.56 MB / 0.7618 GB, free: 9.344 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.25e-05/1.091, allocations: 4 kB / 0.7619 GB, free: 9.34 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001725/1.092, allocations: 247.6 kB / 0.7621 GB, free: 9.098 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01786/1.11, allocations: 5.3 MB / 0.7673 GB, free: 3.781 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001068/1.111, allocations: 51.98 kB / 0.7673 GB, free: 3.73 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3345/1.446, allocations: 24.95 MB / 0.7917 GB, free: 158.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.222e-06/1.446, allocations: 8.188 kB / 0.7917 GB, free: 158.3 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04777/1.494, allocations: 14.31 MB / 0.8057 GB, free: 154.6 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001105/1.495, allocations: 417.8 kB / 0.8061 GB, free: 154.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007643/1.496, allocations: 50.58 kB / 0.8061 GB, free: 154.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003071/1.499, allocations: 299.2 kB / 0.8064 GB, free: 154.3 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00216/1.501, allocations: 0.5788 MB / 0.807 GB, free: 154.1 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002345/1.501, allocations: 64.66 kB / 0.807 GB, free: 154.1 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002208/1.503, allocations: 1.541 MB / 0.8085 GB, free: 153.5 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.01e-07/1.503, allocations: 0 / 0.8085 GB, free: 153.5 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003911/1.507, allocations: 1.178 MB / 0.8097 GB, free: 153.4 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 18 (order3_2.delta,order3_2.w,order3_2.e1q,order2.delta,order2.w,Syn2.delta,Syn2.w,Syn2.e1q,Syn2.e2q,Syn2.e2d,Exc1.ExcitationSystem.x_scaled[1],Exc1.derivativeBlock.x,Exc1.firstOrder2.y,Exc1.simpleLagLim.state,Exc2.ExcitationSystem.x_scaled[1],Exc2.derivativeBlock.x,Exc2.firstOrder2.y,Exc2.simpleLagLim.state) * Number of discrete variables: 4 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (158): * Single equations (assignments): 153 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(67,21,7.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,6), (1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.04007/1.547, allocations: 14.95 MB / 0.8243 GB, free: 145.7 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01831/1.566, allocations: 6.769 MB / 0.8309 GB, free: 138.9 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.432e-06/1.566, allocations: 3.938 kB / 0.8309 GB, free: 138.9 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0121/1.578, allocations: 4.431 MB / 0.8352 GB, free: 134.4 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002646/1.581, allocations: 268.4 kB / 0.8355 GB, free: 134.1 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.101/1.682, allocations: 47.44 MB / 0.8818 GB, free: 84.86 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00138/1.683, allocations: 1.818 MB / 0.8836 GB, free: 83.02 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001638/1.685, allocations: 270.6 kB / 0.8838 GB, free: 82.75 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001784/1.687, allocations: 1.237 MB / 0.885 GB, free: 81.51 MB / 0.5606 GB Notification: Performance of SimCode: time 1.333e-06/1.687, allocations: 0 / 0.885 GB, free: 81.51 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 5.426/7.113, allocations: 85.06 MB / 0.9681 GB, free: 12.7 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000312/7.113, allocations: 244.7 kB / 0.9683 GB, free: 12.45 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.358/11.47, allocations: 0 / 0.9683 GB, free: 12.45 MB / 0.5762 GB (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_ThreeArea_FifthOrder_AVRII_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_ThreeArea_FifthOrder_AVRII.fmu > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.pipe 2>&1)