Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.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.TwoAreaOld.ThirdOrder_AVRII,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoAreaOld_ThirdOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoAreaOld_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.001451/0.001451, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.464/1.464, allocations: 223.2 MB / 238.9 MB, free: 5.625 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.001403/0.001404, allocations: 184 kB / 290.2 MB, free: 2.316 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5252/0.5252, allocations: 79.45 MB / 420.7 MB, free: 3.938 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004247/0.0004248, allocations: 15.98 kB / 0.4891 GB, free: 5.504 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4873/0.4877, allocations: 69.5 MB / 0.557 GB, free: 37.75 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII): time 0.006257/0.494, allocations: 5.693 MB / 0.5625 GB, free: 37.34 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004739/0.4988, allocations: 1.94 MB / 0.5644 GB, free: 37.07 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008589/0.4997, allocations: 10.75 kB / 0.5644 GB, free: 37.07 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007315/0.5005, allocations: 173.6 kB / 0.5646 GB, free: 37.01 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001934/0.5024, allocations: 0.7108 MB / 0.5653 GB, free: 36.93 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001333/0.5037, allocations: 0.5135 MB / 0.5658 GB, free: 36.91 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001725/0.5055, allocations: 0.9895 MB / 0.5667 GB, free: 36.65 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004181/0.5059, allocations: 269.4 kB / 0.567 GB, free: 36.6 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007493/0.5067, allocations: 0.5619 MB / 0.5676 GB, free: 36.45 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008348/0.5075, allocations: 0.7112 MB / 0.5683 GB, free: 36.26 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001303/0.5077, allocations: 60.28 kB / 0.5683 GB, free: 36.26 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00053/0.5082, allocations: 171.8 kB / 0.5685 GB, free: 36.25 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003064/0.5085, allocations: 253.9 kB / 0.5687 GB, free: 36.18 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002758/0.5088, allocations: 235 kB / 0.5689 GB, free: 36.07 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001153/0.51, allocations: 1.181 MB / 0.5701 GB, free: 35.73 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.417e-06/0.51, allocations: 0 / 0.5701 GB, free: 35.73 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.184e-06/0.51, allocations: 0.5 kB / 0.5701 GB, free: 35.73 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.839e-05/0.51, allocations: 0.5312 kB / 0.5701 GB, free: 35.73 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: 189 * Number of variables: 189 Notification: Performance of Generate backend data structure: time 0.00821/0.5182, allocations: 2.512 MB / 0.5725 GB, free: 34.64 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.95e-05/0.5183, allocations: 9.344 kB / 0.5726 GB, free: 34.64 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003025/0.5186, allocations: 129.8 kB / 0.5727 GB, free: 34.55 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005162/0.5238, allocations: 0.7854 MB / 0.5734 GB, free: 34.4 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001815/0.5256, allocations: 0.8383 MB / 0.5743 GB, free: 33.86 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002839/0.5259, allocations: 268.7 kB / 0.5745 GB, free: 33.63 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001686/0.5261, allocations: 83.77 kB / 0.5746 GB, free: 33.61 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002108/0.5282, allocations: 1.137 MB / 0.5757 GB, free: 33.2 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.716e-05/0.5282, allocations: 0 / 0.5757 GB, free: 33.2 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.652e-05/0.5283, allocations: 30.06 kB / 0.5757 GB, free: 33.17 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.788e-05/0.5284, allocations: 25.36 kB / 0.5758 GB, free: 33.16 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002007/0.5304, allocations: 1.046 MB / 0.5768 GB, free: 32.83 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.007209/0.5376, allocations: 4.101 MB / 0.5808 GB, free: 30.37 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007785/0.5454, allocations: 2.901 MB / 0.5836 GB, free: 29.48 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002061/0.5457, allocations: 19.92 kB / 0.5836 GB, free: 29.48 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002179/0.5479, allocations: 0.8704 MB / 0.5845 GB, free: 29.15 MB / 430.1 MB Notification: Performance of pre-optimization done (n=95): time 4.689e-06/0.5479, allocations: 0.9375 kB / 0.5845 GB, free: 29.15 MB / 430.1 MB Notification: Performance of matching and sorting (n=95): time 0.03286/0.5808, allocations: 8.757 MB / 0.593 GB, free: 27.59 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.768e-05/0.5809, allocations: 122.5 kB / 0.5932 GB, free: 27.46 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00291/0.5838, allocations: 1.078 MB / 0.5942 GB, free: 27.02 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002861/0.5842, allocations: 46.52 kB / 0.5943 GB, free: 26.97 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005298/0.5847, allocations: 494 kB / 0.5947 GB, free: 26.58 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005371/0.5852, allocations: 354.8 kB / 0.5951 GB, free: 26.31 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002299/0.5855, allocations: 29.69 kB / 0.5951 GB, free: 26.29 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001512/0.5856, allocations: 365.2 kB / 0.5954 GB, free: 25.95 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002012/0.5877, allocations: 0.8086 MB / 0.5962 GB, free: 25.67 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002146/0.5898, allocations: 0.9797 MB / 0.5972 GB, free: 25.23 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002206/0.592, allocations: 0.9496 MB / 0.5981 GB, free: 24.78 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.239e-05/0.5921, allocations: 0 / 0.5981 GB, free: 24.78 MB / 430.1 MB Notification: Performance of matching and sorting (n=192) (initialization): time 0.01621/0.6083, allocations: 5.141 MB / 0.6031 GB, free: 23.53 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.58e-05/0.6084, allocations: 59.64 kB / 0.6032 GB, free: 23.47 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.215e-05/0.6085, allocations: 2.844 kB / 0.6032 GB, free: 23.47 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007647/0.6161, allocations: 1.903 MB / 0.6051 GB, free: 23.16 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001792/0.6179, allocations: 293.8 kB / 0.6053 GB, free: 23.13 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02365/0.6416, allocations: 9.5 MB / 0.6146 GB, free: 17.43 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002317/0.644, allocations: 239.6 kB / 0.6148 GB, free: 17.2 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003364/0.6443, allocations: 56.14 kB / 0.6149 GB, free: 17.14 MB / 430.1 MB Warning: Assuming fixed start value for the following 4 variables: order3.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order2.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.e1q:VARIABLE(start = order3.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: 13 * 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 (160): * Single equations (assignments): 157 * 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 {19 14} Notification: Performance of prepare postOptimizeDAE: time 0.001045/0.6454, allocations: 306.2 kB / 0.6152 GB, free: 16.84 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004919/0.6459, allocations: 126.4 kB / 0.6153 GB, free: 16.71 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01281/0.6587, allocations: 4.706 MB / 0.6199 GB, free: 11.98 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.022e-05/0.6588, allocations: 12 kB / 0.6199 GB, free: 11.97 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.027e-05/0.6588, allocations: 15.94 kB / 0.6199 GB, free: 11.95 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.754e-05/0.6589, allocations: 3.984 kB / 0.6199 GB, free: 11.95 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 postOpt removeSimpleEquations (simulation): time 0.01486/0.6737, allocations: 6.344 MB / 0.6261 GB, free: 5.48 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.05e-05/0.6738, allocations: 0 / 0.6261 GB, free: 5.48 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005487/0.6743, allocations: 97.86 kB / 0.6262 GB, free: 5.387 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005577/0.6799, allocations: 1.876 MB / 0.6281 GB, free: 3.504 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001611/0.6801, allocations: 29.3 kB / 0.6281 GB, free: 3.477 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0221/0.7022, allocations: 10.12 MB / 0.638 GB, free: 9.078 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.298e-06/0.7023, allocations: 0.7031 kB / 0.638 GB, free: 9.078 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01627/0.7186, allocations: 5.638 MB / 0.6435 GB, free: 3.395 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007227/0.7193, allocations: 219.4 kB / 0.6437 GB, free: 3.16 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004528/0.7198, allocations: 21.06 kB / 0.6437 GB, free: 3.141 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001482/0.7213, allocations: 147.9 kB / 0.6438 GB, free: 2.996 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006879/0.722, allocations: 192.7 kB / 0.644 GB, free: 2.809 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001258/0.7222, allocations: 28 kB / 0.6441 GB, free: 2.781 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001512/0.7237, allocations: 0.7238 MB / 0.6448 GB, free: 2.051 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.7237, allocations: 3.938 kB / 0.6448 GB, free: 2.047 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002198/0.7259, allocations: 483.4 kB / 0.6452 GB, free: 1.574 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 9 (order2.delta,order2.w,order3.delta,order3.w,order3.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 (63): * Single equations (assignments): 60 * 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 {(20,23.0%) 12} * Non-linear torn systems: 1 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.01656/0.7425, allocations: 6.289 MB / 0.6514 GB, free: 11.23 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.007491/0.75, allocations: 2.762 MB / 0.6541 GB, free: 8.438 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 7.514e-06/0.7501, allocations: 128 / 0.6541 GB, free: 8.438 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005097/0.7552, allocations: 1.808 MB / 0.6558 GB, free: 6.594 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001253/0.7565, allocations: 103.9 kB / 0.6559 GB, free: 6.496 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007815/0.7643, allocations: 4.952 MB / 0.6608 GB, free: 1.473 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009672/0.7653, allocations: 1.147 MB / 0.6619 GB, free: 304 kB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0005961/0.7659, allocations: 117.5 kB / 0.662 GB, free: 188 kB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007949/0.7667, allocations: 475.3 kB / 0.6625 GB, free: 15.72 MB / 478.1 MB Notification: Performance of SimCode: time 3.447e-06/0.7668, allocations: 0 / 0.6625 GB, free: 15.72 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06813/0.8349, allocations: 31.16 MB / 0.6929 GB, free: 0.9727 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002512/0.8352, allocations: 221.8 kB / 0.6931 GB, free: 0.7344 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.866/3.702, allocations: 0 / 0.6931 GB, free: 0.7344 MB / 494.1 MB (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoAreaOld_ThirdOrder_AVRII_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoAreaOld_ThirdOrder_AVRII.fmu > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe 2>&1) Environment - environmentSimulation: