Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_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.ThirdOrder_AVRII,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoArea_ThirdOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoArea_ThirdOrder_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.0008614/0.0008614, allocations: 91.3 kB / 15.06 MB, free: 1.098 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.366/1.366, allocations: 223.2 MB / 239 MB, free: 5.461 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.001207/0.001207, allocations: 175.7 kB / 290.3 MB, free: 2.156 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.483/0.483, allocations: 79.47 MB / 420.8 MB, free: 3.949 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003693/0.0003693, allocations: 16 kB / 0.4892 GB, free: 5.496 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4151/0.4155, allocations: 69.51 MB / 0.5571 GB, free: 37.62 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII): time 0.01544/0.431, allocations: 20.8 MB / 0.5774 GB, free: 28.53 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01231/0.4433, allocations: 4.941 MB / 0.5822 GB, free: 24.92 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006311/0.4497, allocations: 51.84 kB / 0.5823 GB, free: 24.92 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003828/0.4536, allocations: 0.6061 MB / 0.5829 GB, free: 24.66 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008842/0.4624, allocations: 1.746 MB / 0.5846 GB, free: 23.44 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005665/0.4681, allocations: 1.766 MB / 0.5863 GB, free: 22.57 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.008276/0.4764, allocations: 5.166 MB / 0.5913 GB, free: 19.86 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003141/0.4796, allocations: 1.06 MB / 0.5924 GB, free: 19.39 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003801/0.4834, allocations: 2 MB / 0.5943 GB, free: 18.46 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004813/0.4882, allocations: 2.58 MB / 0.5969 GB, free: 17.27 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002249/0.4905, allocations: 238.4 kB / 0.5971 GB, free: 17.27 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003106/0.4936, allocations: 370.1 kB / 0.5974 GB, free: 17.23 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00197/0.4956, allocations: 0.8997 MB / 0.5983 GB, free: 16.68 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002661/0.4983, allocations: 0.8338 MB / 0.5991 GB, free: 16.18 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006728/0.5051, allocations: 4.631 MB / 0.6037 GB, free: 14.7 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.151e-06/0.5051, allocations: 2.094 kB / 0.6037 GB, free: 14.7 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.5051, allocations: 0 / 0.6037 GB, free: 14.7 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0003414/0.5054, allocations: 0 / 0.6037 GB, free: 14.7 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: 892 * Number of variables: 892 Notification: Performance of Generate backend data structure: time 0.02941/0.5349, allocations: 8.451 MB / 0.6119 GB, free: 11.57 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.798e-05/0.5349, allocations: 9.75 kB / 0.6119 GB, free: 11.57 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00213/0.5371, allocations: 490.1 kB / 0.6124 GB, free: 11.28 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0265/0.5636, allocations: 4.051 MB / 0.6163 GB, free: 10.56 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009373/0.573, allocations: 2.491 MB / 0.6188 GB, free: 9.102 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001328/0.5744, allocations: 0.9955 MB / 0.6197 GB, free: 8.266 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002075/0.5765, allocations: 348 kB / 0.6201 GB, free: 8.152 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02053/0.597, allocations: 4.956 MB / 0.6249 GB, free: 6.129 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002128/0.5973, allocations: 1.969 kB / 0.6249 GB, free: 6.129 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001814/0.5991, allocations: 145.6 kB / 0.6251 GB, free: 6.016 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001102/0.5992, allocations: 90.11 kB / 0.6251 GB, free: 6.012 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01334/0.6126, allocations: 4.479 MB / 0.6295 GB, free: 2.656 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.0427/0.6553, allocations: 18.79 MB / 0.6479 GB, free: 14.68 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01321/0.6686, allocations: 5.721 MB / 0.6535 GB, free: 8.875 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006574/0.6752, allocations: 3.033 MB / 0.6564 GB, free: 5.832 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008475/0.6761, allocations: 70.81 kB / 0.6565 GB, free: 5.766 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007915/0.684, allocations: 3.419 MB / 0.6598 GB, free: 2.305 MB / 462.1 MB Notification: Performance of pre-optimization done (n=382): time 7.884e-06/0.6841, allocations: 0 / 0.6598 GB, free: 2.305 MB / 462.1 MB Notification: Performance of matching and sorting (n=382): time 0.3118/0.9959, allocations: 81.46 MB / 0.7394 GB, free: 0.6523 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.748e-05/0.996, allocations: 145.8 kB / 0.7395 GB, free: 496 kB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004846/1.001, allocations: 3.191 MB / 0.7426 GB, free: 13.27 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.001034/1.002, allocations: 85.7 kB / 0.7427 GB, free: 13.18 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.001607/1.004, allocations: 1.97 MB / 0.7446 GB, free: 11.2 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.001917/1.005, allocations: 1.313 MB / 0.7459 GB, free: 9.867 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003186/1.006, allocations: 84.03 kB / 0.746 GB, free: 9.785 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0002442/1.006, allocations: 468.8 kB / 0.7464 GB, free: 9.32 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005674/1.012, allocations: 2.823 MB / 0.7492 GB, free: 6.488 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006241/1.018, allocations: 3.451 MB / 0.7526 GB, free: 2.816 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006916/1.025, allocations: 3.092 MB / 0.7556 GB, free: 15.7 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.871e-05/1.025, allocations: 4 kB / 0.7556 GB, free: 15.7 MB / 0.5606 GB Notification: Performance of matching and sorting (n=534) (initialization): time 0.3729/1.398, allocations: 20.71 MB / 0.7758 GB, free: 156.5 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 8.465e-05/1.398, allocations: 63.12 kB / 0.7759 GB, free: 156.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.326e-05/1.398, allocations: 14.38 kB / 0.7759 GB, free: 156.4 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0339/1.432, allocations: 8.622 MB / 0.7843 GB, free: 156.4 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003252/1.435, allocations: 0.6674 MB / 0.785 GB, free: 156.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.09024/1.526, allocations: 35.44 MB / 0.8196 GB, free: 149.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007673/1.533, allocations: 0.7545 MB / 0.8203 GB, free: 149.7 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001236/1.535, allocations: 153.9 kB / 0.8205 GB, free: 149.7 MB / 0.5606 GB Warning: Assuming fixed start value for the following 4 variables: order3_1.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 aVRTypeII.firstOrder2.y:VARIABLE(flow=false start = aVRTypeII.firstOrder2.y_start fixed = true ) "Connector of Real output signal" type: Real order3_1.e1q:VARIABLE(start = order3_1.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 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (397): * Single equations (assignments): 394 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {93 45} Notification: Performance of prepare postOptimizeDAE: time 0.002117/1.537, allocations: 0.667 MB / 0.8211 GB, free: 149.2 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001301/1.538, allocations: 454.6 kB / 0.8215 GB, free: 149 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05119/1.589, allocations: 20.61 MB / 0.8417 GB, free: 137.6 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.051e-05/1.589, allocations: 41.53 kB / 0.8417 GB, free: 137.5 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.217e-05/1.589, allocations: 28 kB / 0.8417 GB, free: 137.5 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001209/1.59, allocations: 15.42 kB / 0.8418 GB, free: 137.5 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.05842/1.648, allocations: 25.59 MB / 0.8667 GB, free: 112 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.333e-05/1.648, allocations: 4.953 kB / 0.8668 GB, free: 112 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002389/1.65, allocations: 387.5 kB / 0.8671 GB, free: 111.6 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02335/1.674, allocations: 8.707 MB / 0.8756 GB, free: 102.9 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001375/1.675, allocations: 71.98 kB / 0.8757 GB, free: 102.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06863/1.744, allocations: 32.64 MB / 0.9076 GB, free: 69.89 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.795e-06/1.744, allocations: 4.938 kB / 0.9076 GB, free: 69.88 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0571/1.801, allocations: 24.21 MB / 0.9312 GB, free: 45.6 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002111/1.803, allocations: 0.5609 MB / 0.9318 GB, free: 45.01 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002299/1.806, allocations: 64 kB / 0.9318 GB, free: 44.95 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005209/1.811, allocations: 0.504 MB / 0.9323 GB, free: 44.45 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003441/1.814, allocations: 0.788 MB / 0.9331 GB, free: 43.66 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006462/1.815, allocations: 99.94 kB / 0.9332 GB, free: 43.56 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.00301/1.818, allocations: 2.08 MB / 0.9352 GB, free: 41.48 MB / 0.5606 GB Notification: Performance of sort global known variables: time 4.81e-07/1.818, allocations: 0 / 0.9352 GB, free: 41.48 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.007646/1.826, allocations: 1.797 MB / 0.937 GB, free: 39.68 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 10 (order3.delta,order3.w,order3.e1q,order3_1.delta,order3_1.w,order3_1.e1q,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 (246): * Single equations (assignments): 243 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(100,5.4%) 36} * Non-linear torn systems: 1 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.05693/1.883, allocations: 24.87 MB / 0.9613 GB, free: 14.72 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.02487/1.907, allocations: 10.25 MB / 0.9713 GB, free: 4.43 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.542e-06/1.908, allocations: 4.062 kB / 0.9713 GB, free: 4.43 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0198/1.927, allocations: 7.058 MB / 0.9782 GB, free: 13.34 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004841/1.932, allocations: 387.1 kB / 0.9785 GB, free: 12.96 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3722/2.305, allocations: 50.97 MB / 1.028 GB, free: 166.7 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003094/2.308, allocations: 2.447 MB / 1.031 GB, free: 165.8 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.002432/2.31, allocations: 371.4 kB / 1.031 GB, free: 165.8 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002558/2.313, allocations: 2.005 MB / 1.033 GB, free: 165.4 MB / 0.5762 GB Notification: Performance of SimCode: time 1.102e-06/2.313, allocations: 1 kB / 1.033 GB, free: 165.4 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1639/2.477, allocations: 116.8 MB / 1.147 GB, free: 62.81 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001467/2.477, allocations: 222.9 kB / 1.147 GB, free: 62.57 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.557/8.034, allocations: 2.391 kB / 1.147 GB, free: 62.57 MB / 0.5762 GB (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoArea_ThirdOrder_AVRII_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoArea_ThirdOrder_AVRII.fmu > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.pipe 2>&1) Environment - environmentSimulation: