Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_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.001579/0.001579, allocations: 103.6 kB / 18.95 MB, free: 2.82 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.515/1.515, allocations: 230.6 MB / 252.7 MB, free: 8.129 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.002339/0.002339, allocations: 218.4 kB / 309.2 MB, free: 2.973 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/package.mo): time 0.5996/0.5996, allocations: 107.2 MB / 472.8 MB, free: 4.543 MB / 334.1 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/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.TwoAreaOld.FourthOrder_AVRII,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_PSATSystems_TwoAreaOld_FourthOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_PSATSystems_TwoAreaOld_FourthOrder_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.00252/0.00252, allocations: 83.88 kB / 0.6331 GB, free: 5.035 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5453/0.5479, allocations: 80.13 MB / 0.7113 GB, free: 4.266 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII): time 0.006775/0.5546, allocations: 5.833 MB / 0.717 GB, free: 316 kB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.005241/0.5599, allocations: 1.922 MB / 0.7189 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001165/0.561, allocations: 10.5 kB / 0.7189 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0009244/0.562, allocations: 244.2 kB / 0.7191 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.002836/0.5648, allocations: 0.8383 MB / 0.7199 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001706/0.5665, allocations: 0.6283 MB / 0.7206 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.002587/0.5691, allocations: 1.613 MB / 0.7221 GB, free: 13.19 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004692/0.5696, allocations: 209.7 kB / 0.7223 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001242/0.5708, allocations: 0.6789 MB / 0.723 GB, free: 12.75 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00144/0.5722, allocations: 0.7632 MB / 0.7237 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002051/0.5724, allocations: 121.1 kB / 0.7239 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006901/0.5731, allocations: 276.4 kB / 0.7241 GB, free: 12.38 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0004014/0.5735, allocations: 328.1 kB / 0.7244 GB, free: 12.17 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0006506/0.5742, allocations: 0.5485 MB / 0.725 GB, free: 11.83 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002728/0.5769, allocations: 1.716 MB / 0.7266 GB, free: 11.05 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.672e-06/0.5769, allocations: 2.562 kB / 0.7266 GB, free: 11.05 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.485e-06/0.5769, allocations: 0 / 0.7266 GB, free: 11.05 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.306e-05/0.577, allocations: 0 / 0.7266 GB, free: 11.05 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 190 * Number of variables: 190 Notification: Performance of Generate backend data structure: time 0.01138/0.5883, allocations: 2.807 MB / 0.7294 GB, free: 9.77 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.826e-05/0.5884, allocations: 18.09 kB / 0.7294 GB, free: 9.762 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002308/0.5886, allocations: 127.5 kB / 0.7295 GB, free: 9.672 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005743/0.5944, allocations: 0.794 MB / 0.7303 GB, free: 9.508 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002769/0.5972, allocations: 0.8252 MB / 0.7311 GB, free: 8.965 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004531/0.5976, allocations: 335.8 kB / 0.7314 GB, free: 8.648 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002407/0.5978, allocations: 88.34 kB / 0.7315 GB, free: 8.617 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002964/0.6008, allocations: 1.114 MB / 0.7326 GB, free: 8.086 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.632e-05/0.6008, allocations: 0 / 0.7326 GB, free: 8.086 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001107/0.6009, allocations: 30.72 kB / 0.7326 GB, free: 8.062 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.051e-05/0.601, allocations: 17.41 kB / 0.7326 GB, free: 8.062 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002732/0.6037, allocations: 1.011 MB / 0.7336 GB, free: 7.555 MB / 0.4981 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.009696/0.6134, allocations: 2.983 MB / 0.7365 GB, free: 5.473 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008278/0.6217, allocations: 2.021 MB / 0.7385 GB, free: 4.551 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001903/0.6236, allocations: 0.6423 MB / 0.7391 GB, free: 4.203 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001787/0.6238, allocations: 18.95 kB / 0.7392 GB, free: 4.195 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002376/0.6261, allocations: 0.8477 MB / 0.74 GB, free: 3.664 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=96): time 6.141e-06/0.6261, allocations: 0 / 0.74 GB, free: 3.664 MB / 0.4981 GB Notification: Performance of matching and sorting (n=96): time 0.03169/0.6578, allocations: 6.948 MB / 0.7468 GB, free: 208 kB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001164/0.658, allocations: 125.8 kB / 0.7469 GB, free: 64 kB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002891/0.6608, allocations: 1.084 MB / 0.748 GB, free: 15.45 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0003821/0.6612, allocations: 41.3 kB / 0.748 GB, free: 15.41 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.00062/0.6618, allocations: 0.497 MB / 0.7485 GB, free: 14.96 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007705/0.6626, allocations: 378.9 kB / 0.7488 GB, free: 14.64 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001067/0.6637, allocations: 288.9 kB / 0.7491 GB, free: 14.46 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001599/0.6638, allocations: 302.2 kB / 0.7494 GB, free: 14.17 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002143/0.666, allocations: 0.8194 MB / 0.7502 GB, free: 13.71 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002378/0.6684, allocations: 0.9838 MB / 0.7512 GB, free: 13.1 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02687/0.6952, allocations: 5.791 MB / 0.7568 GB, free: 8.277 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.634e-05/0.6953, allocations: 0 / 0.7568 GB, free: 8.277 MB / 0.5137 GB Notification: Performance of matching and sorting (n=196) (initialization): time 0.01583/0.7111, allocations: 4.375 MB / 0.7611 GB, free: 3.863 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001027/0.7112, allocations: 65.44 kB / 0.7612 GB, free: 3.789 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.275e-05/0.7112, allocations: 3.984 kB / 0.7612 GB, free: 3.785 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005962/0.7172, allocations: 1.508 MB / 0.7626 GB, free: 2.273 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001808/0.719, allocations: 303.5 kB / 0.7629 GB, free: 1.977 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02191/0.7409, allocations: 7.991 MB / 0.7707 GB, free: 9.859 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002549/0.7434, allocations: 203 kB / 0.7709 GB, free: 9.66 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000436/0.7439, allocations: 59.97 kB / 0.771 GB, free: 9.602 MB / 0.5294 GB Warning: Assuming fixed start value for the following 4 variables: order4.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"Rotor speed [pu]\" type: Real order2.delta:VARIABLE(flow=false start = order2.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" type: Real order4.delta:VARIABLE(flow=false start = order4.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" type: Real order4.e1q:VARIABLE(start = order4.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 ($whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (166): * Single equations (assignments): 163 * 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 {(18,13,25.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001235/0.7451, allocations: 308.5 kB / 0.7713 GB, free: 9.285 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006408/0.7458, allocations: 135.1 kB / 0.7714 GB, free: 9.152 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01409/0.7598, allocations: 3.867 MB / 0.7752 GB, free: 5.246 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.431e-05/0.7599, allocations: 8 kB / 0.7752 GB, free: 5.238 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.084e-05/0.7599, allocations: 8 kB / 0.7752 GB, free: 5.23 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.35e-05/0.7599, allocations: 7.984 kB / 0.7752 GB, free: 5.223 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.01763/0.7776, allocations: 4.986 MB / 0.7801 GB, free: 172 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.662e-05/0.7776, allocations: 0 / 0.7801 GB, free: 172 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007434/0.7783, allocations: 103.8 kB / 0.7802 GB, free: 68 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006142/0.7845, allocations: 1.586 MB / 0.7817 GB, free: 14.47 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003126/0.7848, allocations: 27.98 kB / 0.7817 GB, free: 14.44 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02345/0.8082, allocations: 9.244 MB / 0.7908 GB, free: 4.961 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.869e-06/0.8082, allocations: 0 / 0.7908 GB, free: 4.961 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01627/0.8245, allocations: 4.77 MB / 0.7954 GB, free: 148 kB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008445/0.8253, allocations: 155.1 kB / 0.7956 GB, free: 15.99 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006936/0.826, allocations: 16 kB / 0.7956 GB, free: 15.97 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001802/0.8278, allocations: 111.9 kB / 0.7957 GB, free: 15.86 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000839/0.8287, allocations: 204.6 kB / 0.7959 GB, free: 15.66 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001749/0.8289, allocations: 20 kB / 0.7959 GB, free: 15.64 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001627/0.8305, allocations: 0.731 MB / 0.7966 GB, free: 14.91 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8305, allocations: 4 kB / 0.7966 GB, free: 14.91 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002302/0.8328, allocations: 483.6 kB / 0.7971 GB, free: 14.43 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 10 (order2.delta,order2.w,order4.delta,order4.w,order4.e1q,order4.e1d,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 (64): * Single equations (assignments): 61 * 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 {(19,13,24.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.01656/0.8493, allocations: 5.347 MB / 0.8023 GB, free: 9.02 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.007656/0.857, allocations: 2.46 MB / 0.8047 GB, free: 6.504 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 8.065e-06/0.857, allocations: 4.062 kB / 0.8047 GB, free: 6.5 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.00505/0.8621, allocations: 1.555 MB / 0.8062 GB, free: 4.891 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00201/0.8641, allocations: 119.4 kB / 0.8064 GB, free: 4.777 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04681/0.9109, allocations: 16.26 MB / 0.8222 GB, free: 4.238 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008627/0.9117, allocations: 0.5277 MB / 0.8227 GB, free: 3.676 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.000755/0.9125, allocations: 120.1 kB / 0.8229 GB, free: 3.555 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001017/0.9135, allocations: 471.3 kB / 0.8233 GB, free: 3.098 MB / 0.5762 GB Notification: Performance of SimCode: time 2.154e-06/0.9135, allocations: 0 / 0.8233 GB, free: 3.098 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1003/1.014, allocations: 37.48 MB / 0.8599 GB, free: 13.84 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.09/16.11, allocations: 4.062 kB / 0.8599 GB, free: 13.83 MB / 0.6231 GB " [Timeout remaining time 644] (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Examples_PSATSystems_TwoAreaOld_FourthOrder_AVRII_fmu --startTime=0 --stopTime=20 --stepSize=0.008 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Examples_PSATSystems_TwoAreaOld_FourthOrder_AVRII.fmu > OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 19.842347552999854] Failed to read output from testmodel.py, exit status != 0: 16.248942527920008 16.275408824 15.693090447 Calling exit ...