Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_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.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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.SixthOrder_AVRII,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_PSATSystems_ThreeArea_SixthOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_PSATSystems_ThreeArea_SixthOrder_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.001375/0.001375, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.332/1.332, allocations: 222.9 MB / 238.8 MB, free: 4.758 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.001488/0.001488, allocations: 180.5 kB / 289.1 MB, free: 2.508 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4413/0.4413, allocations: 78.53 MB / 417.8 MB, free: 3.316 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001432/0.001432, allocations: 75.88 kB / 496.9 MB, free: 6.719 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1302/0.1317, allocations: 68.18 MB / 0.5518 GB, free: 2.5 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII): time 0.2353/0.367, allocations: 14.6 MB / 0.566 GB, free: 30.74 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.007831/0.3749, allocations: 3.657 MB / 0.5696 GB, free: 29.7 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003106/0.3781, allocations: 36.16 kB / 0.5697 GB, free: 29.69 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001597/0.3797, allocations: 443.5 kB / 0.5701 GB, free: 29.54 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004082/0.3838, allocations: 1.235 MB / 0.5713 GB, free: 28.96 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002966/0.3868, allocations: 1.437 MB / 0.5727 GB, free: 28.77 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.003879/0.3907, allocations: 3.596 MB / 0.5762 GB, free: 27.93 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001141/0.3918, allocations: 0.8074 MB / 0.577 GB, free: 27.71 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002185/0.394, allocations: 1.428 MB / 0.5784 GB, free: 27.27 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002135/0.3962, allocations: 1.911 MB / 0.5802 GB, free: 26.73 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004679/0.3967, allocations: 178.1 kB / 0.5804 GB, free: 26.73 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008484/0.3975, allocations: 309 kB / 0.5807 GB, free: 26.73 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000477/0.398, allocations: 0.6681 MB / 0.5814 GB, free: 26.52 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001251/0.3993, allocations: 1.549 MB / 0.5829 GB, free: 25.54 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002701/0.402, allocations: 3.877 MB / 0.5867 GB, free: 23.77 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.402, allocations: 0 / 0.5867 GB, free: 23.77 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.402, allocations: 3.938 kB / 0.5867 GB, free: 23.77 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.804e-05/0.4021, allocations: 2.75 kB / 0.5867 GB, free: 23.77 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: 525 * Number of variables: 525 Notification: Performance of Generate backend data structure: time 0.0237/0.4258, allocations: 6.671 MB / 0.5932 GB, free: 21.12 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.45e-05/0.4259, allocations: 9.562 kB / 0.5932 GB, free: 21.12 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004455/0.4263, allocations: 308.9 kB / 0.5935 GB, free: 20.93 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01449/0.4408, allocations: 2.278 MB / 0.5957 GB, free: 20.49 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004032/0.4449, allocations: 1.904 MB / 0.5976 GB, free: 19.32 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006482/0.4456, allocations: 0.7298 MB / 0.5983 GB, free: 18.66 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006076/0.4462, allocations: 220.1 kB / 0.5985 GB, free: 18.59 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006863/0.453, allocations: 3.056 MB / 0.6015 GB, free: 17.43 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.531e-05/0.4531, allocations: 3.938 kB / 0.6015 GB, free: 17.42 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002551/0.4534, allocations: 86.06 kB / 0.6016 GB, free: 17.36 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.372e-05/0.4534, allocations: 50.19 kB / 0.6016 GB, free: 17.36 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006144/0.4596, allocations: 2.802 MB / 0.6044 GB, free: 16.41 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.02201/0.4816, allocations: 9.969 MB / 0.6141 GB, free: 10.87 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01115/0.4928, allocations: 4.222 MB / 0.6182 GB, free: 8.93 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004085/0.4969, allocations: 1.985 MB / 0.6201 GB, free: 7.91 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003071/0.4972, allocations: 44.08 kB / 0.6202 GB, free: 7.895 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004311/0.5016, allocations: 2.247 MB / 0.6224 GB, free: 6.602 MB / 430.1 MB Notification: Performance of pre-optimization done (n=250): time 5.32e-06/0.5016, allocations: 1.531 kB / 0.6224 GB, free: 6.602 MB / 430.1 MB Notification: Performance of matching and sorting (n=250): time 0.1185/0.62, allocations: 28.83 MB / 0.6505 GB, free: 9.742 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001182/0.6202, allocations: 180.3 kB / 0.6507 GB, free: 9.527 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003816/0.624, allocations: 2.341 MB / 0.653 GB, free: 7.168 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007564/0.6248, allocations: 73.7 kB / 0.6531 GB, free: 7.09 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009356/0.6257, allocations: 1.174 MB / 0.6542 GB, free: 5.906 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001132/0.6269, allocations: 0.8858 MB / 0.6551 GB, free: 5.008 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001143/0.628, allocations: 0.566 MB / 0.6556 GB, free: 4.434 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 9.228e-05/0.6281, allocations: 305.1 kB / 0.6559 GB, free: 4.133 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004119/0.6323, allocations: 1.99 MB / 0.6579 GB, free: 2.141 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004515/0.6368, allocations: 2.354 MB / 0.6602 GB, free: 15.7 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.05535/0.6922, allocations: 14.39 MB / 0.6742 GB, free: 1.102 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.435e-05/0.6922, allocations: 4 kB / 0.6742 GB, free: 1.098 MB / 478.1 MB Notification: Performance of matching and sorting (n=425) (initialization): time 0.04118/0.7334, allocations: 12.6 MB / 0.6865 GB, free: 4.43 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001174/0.7336, allocations: 118.8 kB / 0.6866 GB, free: 4.289 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.363e-05/0.7336, allocations: 7.984 kB / 0.6866 GB, free: 4.281 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01809/0.7517, allocations: 5.438 MB / 0.692 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003139/0.7549, allocations: 0.5734 MB / 0.6925 GB, free: 14.26 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0551/0.81, allocations: 21.75 MB / 0.7138 GB, free: 8.367 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004856/0.8149, allocations: 498.4 kB / 0.7142 GB, free: 7.879 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004664/0.8154, allocations: 121 kB / 0.7143 GB, free: 7.762 MB / 0.5137 GB Warning: Assuming fixed start value for the following 6 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.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 (336): * Single equations (assignments): 331 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(63,27)} Notification: Performance of prepare postOptimizeDAE: time 0.001378/0.8168, allocations: 0.5411 MB / 0.7149 GB, free: 7.203 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000719/0.8175, allocations: 300.2 kB / 0.7152 GB, free: 6.906 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03829/0.8558, allocations: 11.95 MB / 0.7268 GB, free: 10.85 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.368e-05/0.8559, allocations: 24 kB / 0.7269 GB, free: 10.83 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.2e-05/0.856, allocations: 20 kB / 0.7269 GB, free: 10.81 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.129e-05/0.856, allocations: 11.95 kB / 0.7269 GB, free: 10.8 MB / 0.5294 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.04439/0.9004, allocations: 15.59 MB / 0.7421 GB, free: 10.99 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.325e-05/0.9005, allocations: 0 / 0.7421 GB, free: 10.99 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001835/0.9024, allocations: 248.6 kB / 0.7424 GB, free: 10.75 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01757/0.9199, allocations: 5.288 MB / 0.7475 GB, free: 5.453 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007636/0.9207, allocations: 55.98 kB / 0.7476 GB, free: 5.398 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2592/1.18, allocations: 22.67 MB / 0.7697 GB, free: 163.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/1.18, allocations: 2.219 kB / 0.7697 GB, free: 163.6 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04239/1.222, allocations: 14.33 MB / 0.7837 GB, free: 163.1 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001031/1.224, allocations: 414.1 kB / 0.7841 GB, free: 163 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008575/1.224, allocations: 54.92 kB / 0.7842 GB, free: 163 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003534/1.228, allocations: 301.2 kB / 0.7844 GB, free: 163 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002385/1.23, allocations: 0.5621 MB / 0.785 GB, free: 163 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003546/1.231, allocations: 66.38 kB / 0.7851 GB, free: 163 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003151/1.234, allocations: 1.541 MB / 0.7866 GB, free: 162.9 MB / 0.5606 GB Notification: Performance of sort global known variables: time 3.5e-07/1.234, allocations: 0 / 0.7866 GB, free: 162.9 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004918/1.239, allocations: 1.199 MB / 0.7877 GB, free: 162.9 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 19 (order3_2.delta,order3_2.w,order3_2.e1q,order2.delta,order2.w,Syn2.delta,Syn2.w,Syn2.e1q,Syn2.e1d,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 (159): * Single equations (assignments): 154 * 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 {(66,22,7.7%)} * 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.04657/1.285, allocations: 14.97 MB / 0.8024 GB, free: 161.7 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01972/1.305, allocations: 6.686 MB / 0.8089 GB, free: 159.5 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.162e-06/1.305, allocations: 2.844 kB / 0.8089 GB, free: 159.5 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.01267/1.318, allocations: 4.429 MB / 0.8132 GB, free: 157.8 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002909/1.321, allocations: 258.2 kB / 0.8135 GB, free: 157.6 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1077/1.429, allocations: 47.55 MB / 0.8599 GB, free: 116.9 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001081/1.43, allocations: 1.819 MB / 0.8617 GB, free: 115 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001306/1.431, allocations: 267.8 kB / 0.8619 GB, free: 114.8 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001221/1.432, allocations: 1.233 MB / 0.8631 GB, free: 113.5 MB / 0.5606 GB Notification: Performance of SimCode: time 1.123e-06/1.432, allocations: 10.28 kB / 0.8631 GB, free: 113.5 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09817/1.53, allocations: 83.76 MB / 0.9449 GB, free: 30.19 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001451/1.531, allocations: 233.3 kB / 0.9452 GB, free: 29.93 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.536/6.067, allocations: 0 / 0.9452 GB, free: 29.93 MB / 0.5606 GB (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Examples_PSATSystems_ThreeArea_SixthOrder_AVRII_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Examples_PSATSystems_ThreeArea_SixthOrder_AVRII.fmu > OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.pipe 2>&1)