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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001431/0.001431, allocations: 114.3 kB / 18.94 MB, free: 2.957 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.524/1.524, allocations: 230.6 MB / 252.6 MB, free: 8.301 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001583/0.001583, allocations: 209.7 kB / 309.2 MB, free: 3.133 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/package.mo): time 0.5871/0.5871, allocations: 101.4 MB / 467 MB, free: 10.3 MB / 334.1 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: OpenIPSL requested package Complex of version 4.0.0. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002412/0.002412, allocations: 80.11 kB / 0.6246 GB, free: 12.79 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5545/0.5569, allocations: 78.6 MB / 0.7013 GB, free: 8.93 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII): time 0.02037/0.5772, allocations: 21.88 MB / 0.7227 GB, free: 9.121 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01537/0.5926, allocations: 4.916 MB / 0.7275 GB, free: 5.516 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007178/0.5998, allocations: 44.12 kB / 0.7275 GB, free: 5.516 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.004457/0.6042, allocations: 0.8877 MB / 0.7284 GB, free: 5.031 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.01249/0.6167, allocations: 2.314 MB / 0.7306 GB, free: 3.383 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.008177/0.6249, allocations: 2.051 MB / 0.7326 GB, free: 2.309 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.01501/0.6399, allocations: 5.743 MB / 0.7383 GB, free: 15.36 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004176/0.6441, allocations: 0.9132 MB / 0.7391 GB, free: 14.84 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00805/0.6522, allocations: 2.397 MB / 0.7415 GB, free: 13.63 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00751/0.6597, allocations: 2.954 MB / 0.7444 GB, free: 11.87 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.002962/0.6626, allocations: 437.2 kB / 0.7448 GB, free: 11.87 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004008/0.6666, allocations: 0.6057 MB / 0.7454 GB, free: 11.79 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.003038/0.6697, allocations: 1.146 MB / 0.7465 GB, free: 10.8 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.007103/0.6768, allocations: 2.616 MB / 0.7491 GB, free: 8.836 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.01533/0.6921, allocations: 6.266 MB / 0.7552 GB, free: 4.145 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 7.474e-06/0.6921, allocations: 1.344 kB / 0.7552 GB, free: 4.145 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.723e-06/0.6921, allocations: 0 / 0.7552 GB, free: 4.145 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 0.0004219/0.6925, allocations: 0 / 0.7552 GB, free: 4.145 MB / 0.5137 GB 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.04027/0.7328, allocations: 9.902 MB / 0.7648 GB, free: 14.34 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.33e-05/0.7329, allocations: 10 kB / 0.7649 GB, free: 14.34 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009152/0.7338, allocations: 485.8 kB / 0.7653 GB, free: 13.96 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0267/0.7605, allocations: 4.054 MB / 0.7693 GB, free: 10.73 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007291/0.7678, allocations: 2.574 MB / 0.7718 GB, free: 8.062 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001234/0.769, allocations: 1.033 MB / 0.7728 GB, free: 6.875 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001376/0.7704, allocations: 352 kB / 0.7731 GB, free: 6.531 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01024/0.7806, allocations: 4.727 MB / 0.7777 GB, free: 1.773 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.846e-05/0.7807, allocations: 0 / 0.7777 GB, free: 1.773 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000384/0.7811, allocations: 140 kB / 0.7779 GB, free: 1.637 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.839e-05/0.7811, allocations: 84 kB / 0.778 GB, free: 1.555 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009276/0.7904, allocations: 4.252 MB / 0.7821 GB, free: 13.3 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 preOpt removeSimpleEquations (simulation): time 0.03918/0.8296, allocations: 18.02 MB / 0.7997 GB, free: 10.09 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01241/0.842, allocations: 4.347 MB / 0.804 GB, free: 5.73 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006352/0.8483, allocations: 2.474 MB / 0.8064 GB, free: 3.246 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005832/0.8489, allocations: 70.86 kB / 0.8064 GB, free: 3.176 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007164/0.8561, allocations: 3.165 MB / 0.8095 GB, free: 15.96 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=382): time 6.823e-06/0.8561, allocations: 0 / 0.8095 GB, free: 15.96 MB / 0.5762 GB Notification: Performance of matching and sorting (n=382): time 0.308/1.164, allocations: 67.94 MB / 0.8759 GB, free: 11.86 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001487/1.164, allocations: 141.8 kB / 0.876 GB, free: 11.7 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0072/1.171, allocations: 3.226 MB / 0.8792 GB, free: 8.453 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.001191/1.173, allocations: 89.73 kB / 0.8793 GB, free: 8.359 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.001959/1.175, allocations: 2.001 MB / 0.8812 GB, free: 6.348 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.002707/1.177, allocations: 1.371 MB / 0.8825 GB, free: 4.965 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001577/1.179, allocations: 0.6743 MB / 0.8832 GB, free: 4.277 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001472/1.179, allocations: 305.1 kB / 0.8835 GB, free: 3.977 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005922/1.185, allocations: 2.581 MB / 0.886 GB, free: 1.387 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006687/1.192, allocations: 3.205 MB / 0.8891 GB, free: 13.96 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.07414/1.266, allocations: 18.97 MB / 0.9077 GB, free: 10.71 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-05/1.266, allocations: 4 kB / 0.9077 GB, free: 10.71 MB / 0.67 GB Notification: Performance of matching and sorting (n=534) (initialization): time 0.05804/1.324, allocations: 16.83 MB / 0.9241 GB, free: 9.828 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001008/1.324, allocations: 63.41 kB / 0.9242 GB, free: 9.754 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.015e-05/1.324, allocations: 16 kB / 0.9242 GB, free: 9.738 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02704/1.351, allocations: 7.221 MB / 0.9312 GB, free: 2.516 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00375/1.355, allocations: 0.6631 MB / 0.9319 GB, free: 1.852 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.09032/1.445, allocations: 33.67 MB / 0.9648 GB, free: 28 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007096/1.452, allocations: 0.6223 MB / 0.9654 GB, free: 15.4 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009296/1.453, allocations: 160 kB / 0.9655 GB, free: 15.24 MB / 0.7325 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 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 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 (398): * Single equations (assignments): 395 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(92,45)} Notification: Performance of prepare postOptimizeDAE: time 0.002124/1.455, allocations: 0.6598 MB / 0.9662 GB, free: 14.57 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001539/1.457, allocations: 484.7 kB / 0.9666 GB, free: 14.09 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.4281/1.885, allocations: 16.7 MB / 0.9829 GB, free: 212.6 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.744e-05/1.885, allocations: 40.81 kB / 0.983 GB, free: 212.6 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.733e-05/1.885, allocations: 28.98 kB / 0.983 GB, free: 212.6 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001312/1.885, allocations: 18 kB / 0.983 GB, free: 212.6 MB / 0.7325 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.06535/1.951, allocations: 21.66 MB / 1.004 GB, free: 211.7 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.402e-05/1.951, allocations: 1.125 kB / 1.004 GB, free: 211.7 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002453/1.953, allocations: 389.2 kB / 1.005 GB, free: 211.7 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02663/1.98, allocations: 7.377 MB / 1.012 GB, free: 211.3 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001097/1.981, allocations: 70.25 kB / 1.012 GB, free: 211.2 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0702/2.051, allocations: 31.64 MB / 1.043 GB, free: 196.1 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.468e-06/2.051, allocations: 4 kB / 1.043 GB, free: 196.1 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0547/2.106, allocations: 20.09 MB / 1.062 GB, free: 176.1 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001836/2.108, allocations: 0.5148 MB / 1.063 GB, free: 175.6 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001352/2.109, allocations: 68 kB / 1.063 GB, free: 175.5 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004565/2.113, allocations: 371.6 kB / 1.063 GB, free: 175.2 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002899/2.116, allocations: 0.8171 MB / 1.064 GB, free: 174.3 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003495/2.117, allocations: 99.73 kB / 1.064 GB, free: 174.3 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.002711/2.119, allocations: 2.117 MB / 1.066 GB, free: 172.1 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1e-07/2.119, allocations: 0 / 1.066 GB, free: 172.1 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.005658/2.125, allocations: 1.804 MB / 1.068 GB, free: 170.4 MB / 0.7325 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 (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.4%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.05531/2.18, allocations: 20.77 MB / 1.088 GB, free: 149.7 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.02246/2.203, allocations: 8.878 MB / 1.097 GB, free: 140.8 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 6.933e-06/2.203, allocations: 4 kB / 1.097 GB, free: 140.8 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.01807/2.221, allocations: 5.9 MB / 1.103 GB, free: 134.9 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004899/2.226, allocations: 386.3 kB / 1.103 GB, free: 134.5 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1378/2.364, allocations: 57.99 MB / 1.16 GB, free: 76.17 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001621/2.365, allocations: 2.446 MB / 1.162 GB, free: 73.69 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001608/2.367, allocations: 379.1 kB / 1.162 GB, free: 73.31 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001974/2.369, allocations: 2.014 MB / 1.164 GB, free: 71.3 MB / 0.7325 GB Notification: Performance of SimCode: time 1.333e-06/2.369, allocations: 0 / 1.164 GB, free: 71.3 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5851/2.954, allocations: 134 MB / 1.295 GB, free: 261.3 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 24.32/27.28, allocations: 2.922 kB / 1.295 GB, free: 261.3 MB / 0.7637 GB " [Timeout remaining time 633] (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 & python3 -m fmpy simulate --output-file OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII_res.csv --start-time 0 --stop-time 20 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.008 OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoArea_ThirdOrder_AVRII.fmu > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 31.342200938001042] Failed to read output from testmodel.py, exit status != 0: 27.46487669799899 27.487942375 26.790692134 Calling exit ...