Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.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.TwoArea.FifthOrder_AVRII,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoArea_FifthOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoArea_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.001036/0.001036, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.521/1.521, allocations: 223.3 MB / 239.4 MB, free: 5.391 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.001896/0.001897, allocations: 172.5 kB / 290.6 MB, free: 2.059 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5947/0.5947, allocations: 91.93 MB / 433.7 MB, free: 10.29 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004641/0.0004641, allocations: 12 kB / 0.5049 GB, free: 7.172 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4851/0.4856, allocations: 72.46 MB / 0.5756 GB, free: 36.73 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII): time 0.01609/0.5017, allocations: 22.61 MB / 0.5977 GB, free: 20.18 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01311/0.5149, allocations: 5.145 MB / 0.6027 GB, free: 16.45 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006617/0.5216, allocations: 51.72 kB / 0.6028 GB, free: 16.45 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003635/0.5252, allocations: 0.6758 MB / 0.6034 GB, free: 16.18 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009966/0.5352, allocations: 1.741 MB / 0.6051 GB, free: 14.96 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006295/0.5415, allocations: 1.913 MB / 0.607 GB, free: 13.87 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0112/0.5528, allocations: 5.488 MB / 0.6124 GB, free: 11.1 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002892/0.5557, allocations: 1.126 MB / 0.6135 GB, free: 10.53 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005701/0.5614, allocations: 2.075 MB / 0.6155 GB, free: 9.535 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007341/0.5688, allocations: 2.715 MB / 0.6182 GB, free: 8.238 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003173/0.572, allocations: 237.8 kB / 0.6184 GB, free: 8.238 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004429/0.5765, allocations: 379.2 kB / 0.6187 GB, free: 8.195 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002005/0.5785, allocations: 0.9447 MB / 0.6197 GB, free: 7.605 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008238/0.5867, allocations: 2.402 MB / 0.622 GB, free: 6.039 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01427/0.6011, allocations: 5.885 MB / 0.6278 GB, free: 3.75 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.815e-06/0.6011, allocations: 0 / 0.6278 GB, free: 3.75 MB / 430.1 MB Notification: Performance of FrontEnd: time 6.703e-06/0.6011, allocations: 0 / 0.6278 GB, free: 3.75 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0004272/0.6016, allocations: 3.938 kB / 0.6278 GB, free: 3.746 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: 894 * Number of variables: 894 Notification: Performance of Generate backend data structure: time 0.03926/0.6408, allocations: 8.466 MB / 0.636 GB, free: 15.7 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.935e-05/0.6409, allocations: 15.97 kB / 0.636 GB, free: 15.68 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002759/0.6437, allocations: 492.9 kB / 0.6365 GB, free: 15.19 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02896/0.6727, allocations: 4.048 MB / 0.6405 GB, free: 11.13 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008241/0.681, allocations: 2.678 MB / 0.6431 GB, free: 8.375 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001399/0.6824, allocations: 0.9925 MB / 0.644 GB, free: 7.242 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001815/0.6843, allocations: 351.9 kB / 0.6444 GB, free: 6.898 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01322/0.6975, allocations: 5 MB / 0.6493 GB, free: 1.867 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.115e-05/0.6976, allocations: 0 / 0.6493 GB, free: 1.867 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004461/0.6981, allocations: 140 kB / 0.6494 GB, free: 1.73 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.645e-05/0.6981, allocations: 84 kB / 0.6495 GB, free: 1.648 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0122/0.7103, allocations: 4.521 MB / 0.6539 GB, free: 13.12 MB / 462.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.0477/0.7581, allocations: 18.87 MB / 0.6723 GB, free: 9.074 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0158/0.7739, allocations: 5.759 MB / 0.6779 GB, free: 3.234 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008019/0.782, allocations: 3.049 MB / 0.6809 GB, free: 180 kB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009007/0.783, allocations: 70.92 kB / 0.681 GB, free: 108 kB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.009638/0.7926, allocations: 3.454 MB / 0.6844 GB, free: 12.61 MB / 494.1 MB Notification: Performance of pre-optimization done (n=384): time 9.789e-06/0.7927, allocations: 0 / 0.6844 GB, free: 12.61 MB / 494.1 MB Notification: Performance of matching and sorting (n=384): time 0.3634/1.156, allocations: 81.51 MB / 0.764 GB, free: 10.9 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001416/1.156, allocations: 141.8 kB / 0.7641 GB, free: 10.74 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008458/1.165, allocations: 3.262 MB / 0.7673 GB, free: 7.457 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.001542/1.166, allocations: 89.69 kB / 0.7674 GB, free: 7.363 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.002252/1.169, allocations: 1.978 MB / 0.7693 GB, free: 5.371 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.003367/1.172, allocations: 1.317 MB / 0.7706 GB, free: 4.035 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002261/1.174, allocations: 350.9 kB / 0.7709 GB, free: 3.684 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001789/1.175, allocations: 309.1 kB / 0.7712 GB, free: 3.379 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008061/1.183, allocations: 2.87 MB / 0.774 GB, free: 0.5 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3545/1.537, allocations: 3.486 MB / 0.7774 GB, free: 159.5 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.079/1.616, allocations: 20.89 MB / 0.7978 GB, free: 156.2 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.989e-05/1.616, allocations: 8.094 kB / 0.7978 GB, free: 156.2 MB / 0.5606 GB Notification: Performance of matching and sorting (n=542) (initialization): time 0.06713/1.683, allocations: 21.07 MB / 0.8184 GB, free: 151.2 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 7.912e-05/1.684, allocations: 67.41 kB / 0.8185 GB, free: 151.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.955e-05/1.684, allocations: 16 kB / 0.8185 GB, free: 151.1 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02777/1.711, allocations: 8.489 MB / 0.8268 GB, free: 144.7 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003999/1.715, allocations: 0.6912 MB / 0.8275 GB, free: 144.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08686/1.802, allocations: 34.9 MB / 0.8615 GB, free: 110.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007472/1.81, allocations: 0.7583 MB / 0.8623 GB, free: 109.4 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001217/1.811, allocations: 156 kB / 0.8624 GB, free: 109.2 MB / 0.5606 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.002958/1.814, allocations: 0.6711 MB / 0.8631 GB, free: 108.5 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001463/1.816, allocations: 458.3 kB / 0.8635 GB, free: 108.1 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06043/1.876, allocations: 20.68 MB / 0.8837 GB, free: 87.36 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.141e-05/1.876, allocations: 39.98 kB / 0.8837 GB, free: 87.32 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.53e-05/1.876, allocations: 30.38 kB / 0.8838 GB, free: 87.29 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001551/1.876, allocations: 15.94 kB / 0.8838 GB, free: 87.27 MB / 0.5606 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.07377/1.95, allocations: 25.69 MB / 0.9089 GB, free: 61.54 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-05/1.95, allocations: 7.984 kB / 0.9089 GB, free: 61.53 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002735/1.953, allocations: 391.5 kB / 0.9093 GB, free: 61.15 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02795/1.981, allocations: 8.713 MB / 0.9178 GB, free: 52.42 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001219/1.982, allocations: 71.98 kB / 0.9178 GB, free: 52.35 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.08256/2.065, allocations: 32.67 MB / 0.9497 GB, free: 19.39 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.958e-06/2.065, allocations: 0 / 0.9497 GB, free: 19.39 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.07063/2.136, allocations: 24.31 MB / 0.9735 GB, free: 11.01 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002125/2.138, allocations: 0.5726 MB / 0.974 GB, free: 10.41 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002213/2.14, allocations: 60 kB / 0.9741 GB, free: 10.36 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006701/2.147, allocations: 0.5113 MB / 0.9746 GB, free: 9.844 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004233/2.151, allocations: 0.7685 MB / 0.9753 GB, free: 9.074 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008326/2.152, allocations: 91.98 kB / 0.9754 GB, free: 8.984 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.004468/2.156, allocations: 2.137 MB / 0.9775 GB, free: 6.844 MB / 0.5762 GB Notification: Performance of sort global known variables: time 3.71e-07/2.156, allocations: 4 kB / 0.9775 GB, free: 6.84 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.008997/2.165, allocations: 1.802 MB / 0.9793 GB, free: 5.035 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 12 (order3.delta,order3.w,order3.e1q,order5.delta,order5.w,order5.e1q,order5.e2q,order5.e2d,aVRTypeII.ExcitationSystem.x_scaled[1],aVRTypeII.derivativeBlock.x,aVRTypeII.firstOrder2.y,aVRTypeII.simpleLagLim.state) * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (248): * Single equations (assignments): 245 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(100,36,5.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.3828/2.548, allocations: 24.98 MB / 1.004 GB, free: 172.7 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.03057/2.579, allocations: 10.34 MB / 1.014 GB, free: 171.6 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 7.444e-06/2.579, allocations: 1.062 kB / 1.014 GB, free: 171.6 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.02336/2.602, allocations: 7.091 MB / 1.021 GB, free: 169.7 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005119/2.607, allocations: 385.9 kB / 1.021 GB, free: 169.4 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1983/2.806, allocations: 78.46 MB / 1.098 GB, free: 118.5 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001583/2.807, allocations: 2.45 MB / 1.1 GB, free: 116.6 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001949/2.809, allocations: 375.4 kB / 1.1 GB, free: 116.3 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002375/2.812, allocations: 2.016 MB / 1.102 GB, free: 114.5 MB / 0.5919 GB Notification: Performance of SimCode: time 7.01e-07/2.812, allocations: 0 / 1.102 GB, free: 114.5 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1649/2.977, allocations: 116 MB / 1.216 GB, free: 15.96 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002149/2.977, allocations: 237.8 kB / 1.216 GB, free: 15.71 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.95/8.927, allocations: 0 / 1.216 GB, free: 15.71 MB / 0.6075 GB (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoArea_FifthOrder_AVRII_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoArea_FifthOrder_AVRII.fmu > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.pipe 2>&1)