Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous.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.001514/0.001514, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.466/1.466, allocations: 230.6 MB / 252.7 MB, free: 8.09 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.001622/0.001622, allocations: 217.8 kB / 309.2 MB, free: 2.918 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.5702/0.5702, allocations: 107.2 MB / 472.8 MB, free: 4.484 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.Discretization.FourthOrder_AVRII_Continuous,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Continuous",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Continuous",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.003745/0.003745, allocations: 95.8 kB / 0.6331 GB, free: 5.008 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5107/0.5145, allocations: 80.13 MB / 0.7113 GB, free: 4.266 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous): time 0.006031/0.5205, allocations: 5.845 MB / 0.717 GB, free: 312 kB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.004497/0.525, allocations: 1.92 MB / 0.7189 GB, free: 14.97 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008523/0.5259, allocations: 11.59 kB / 0.7189 GB, free: 14.97 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0008924/0.5268, allocations: 243 kB / 0.7191 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.002598/0.5294, allocations: 0.8441 MB / 0.72 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001671/0.531, allocations: 0.6247 MB / 0.7206 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.002185/0.5332, allocations: 1.608 MB / 0.7221 GB, free: 13.19 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004424/0.5337, allocations: 210.7 kB / 0.7223 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001051/0.5347, allocations: 0.68 MB / 0.723 GB, free: 12.75 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001083/0.5358, allocations: 0.7706 MB / 0.7238 GB, free: 12.42 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001786/0.536, allocations: 119.8 kB / 0.7239 GB, free: 12.42 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005991/0.5366, allocations: 278.6 kB / 0.7241 GB, free: 12.37 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003686/0.5369, allocations: 334.5 kB / 0.7245 GB, free: 12.15 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0005765/0.5375, allocations: 0.5449 MB / 0.725 GB, free: 11.82 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002168/0.5397, allocations: 1.707 MB / 0.7267 GB, free: 11.05 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.5397, allocations: 0 / 0.7267 GB, free: 11.05 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.633e-06/0.5397, allocations: 3.938 kB / 0.7267 GB, free: 11.05 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.399e-05/0.5397, allocations: 4 kB / 0.7267 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.01027/0.55, allocations: 2.807 MB / 0.7294 GB, free: 9.762 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.244e-05/0.55, allocations: 10.09 kB / 0.7294 GB, free: 9.762 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002186/0.5503, allocations: 127.7 kB / 0.7295 GB, free: 9.672 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005518/0.5558, allocations: 0.8004 MB / 0.7303 GB, free: 9.5 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002251/0.558, allocations: 0.8258 MB / 0.7311 GB, free: 8.957 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004005/0.5584, allocations: 337.4 kB / 0.7314 GB, free: 8.641 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002105/0.5586, allocations: 91.17 kB / 0.7315 GB, free: 8.605 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002442/0.5611, allocations: 1.112 MB / 0.7326 GB, free: 8.043 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.3e-05/0.5611, allocations: 0 / 0.7326 GB, free: 8.043 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001011/0.5612, allocations: 35.3 kB / 0.7327 GB, free: 8.016 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.878e-05/0.5612, allocations: 17.47 kB / 0.7327 GB, free: 8.016 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002185/0.5634, allocations: 1.011 MB / 0.7337 GB, free: 7.508 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.007259/0.5707, allocations: 2.979 MB / 0.7366 GB, free: 5.43 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007323/0.578, allocations: 2.018 MB / 0.7385 GB, free: 4.508 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001486/0.5795, allocations: 0.6467 MB / 0.7392 GB, free: 4.156 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 9.472e-05/0.5796, allocations: 11.31 kB / 0.7392 GB, free: 4.156 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001757/0.5813, allocations: 0.8457 MB / 0.74 GB, free: 3.629 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=96): time 3.026e-06/0.5813, allocations: 0 / 0.74 GB, free: 3.629 MB / 0.4981 GB Notification: Performance of matching and sorting (n=96): time 0.02968/0.611, allocations: 6.956 MB / 0.7468 GB, free: 164 kB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001157/0.6111, allocations: 117.4 kB / 0.7469 GB, free: 28 kB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002563/0.6137, allocations: 1.088 MB / 0.748 GB, free: 15.41 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0003841/0.6141, allocations: 46.2 kB / 0.748 GB, free: 15.36 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005399/0.6146, allocations: 0.4971 MB / 0.7485 GB, free: 14.92 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005633/0.6152, allocations: 373.8 kB / 0.7489 GB, free: 14.6 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005925/0.6158, allocations: 289.8 kB / 0.7491 GB, free: 14.43 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001561/0.6159, allocations: 306.2 kB / 0.7494 GB, free: 14.12 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001829/0.6178, allocations: 0.8152 MB / 0.7502 GB, free: 13.68 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002015/0.6198, allocations: 0.9872 MB / 0.7512 GB, free: 13.06 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02568/0.6454, allocations: 5.783 MB / 0.7568 GB, free: 8.211 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.179e-05/0.6455, allocations: 0 / 0.7568 GB, free: 8.211 MB / 0.5137 GB Notification: Performance of matching and sorting (n=196) (initialization): time 0.01445/0.6599, allocations: 4.375 MB / 0.7611 GB, free: 3.797 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 7.392e-05/0.66, allocations: 63.39 kB / 0.7612 GB, free: 3.723 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.584e-05/0.66, allocations: 7.938 kB / 0.7612 GB, free: 3.715 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005764/0.6658, allocations: 1.512 MB / 0.7627 GB, free: 2.199 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001648/0.6674, allocations: 303.5 kB / 0.7629 GB, free: 1.902 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02082/0.6882, allocations: 7.991 MB / 0.7707 GB, free: 9.785 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00219/0.6904, allocations: 203 kB / 0.7709 GB, free: 9.586 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001706/0.6906, allocations: 59.97 kB / 0.771 GB, free: 9.527 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.0007154/0.6913, allocations: 300.3 kB / 0.7713 GB, free: 9.219 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002705/0.6916, allocations: 139.1 kB / 0.7714 GB, free: 9.082 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01353/0.7051, allocations: 3.871 MB / 0.7752 GB, free: 5.172 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.388e-05/0.7051, allocations: 12 kB / 0.7752 GB, free: 5.16 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.63e-05/0.7051, allocations: 4 kB / 0.7752 GB, free: 5.156 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.057e-05/0.7052, allocations: 3.984 kB / 0.7752 GB, free: 5.152 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.01597/0.7211, allocations: 4.99 MB / 0.7801 GB, free: 96 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.486e-06/0.7212, allocations: 0 / 0.7801 GB, free: 96 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006596/0.7218, allocations: 103.9 kB / 0.7802 GB, free: 15.99 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005936/0.7277, allocations: 1.582 MB / 0.7817 GB, free: 14.4 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001478/0.7279, allocations: 20 kB / 0.7818 GB, free: 14.38 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02177/0.7497, allocations: 9.25 MB / 0.7908 GB, free: 4.891 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.7497, allocations: 0 / 0.7908 GB, free: 4.891 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01569/0.7654, allocations: 4.774 MB / 0.7954 GB, free: 72 kB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000702/0.7661, allocations: 147.1 kB / 0.7956 GB, free: 15.92 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002309/0.7663, allocations: 20 kB / 0.7956 GB, free: 15.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001204/0.7675, allocations: 111.9 kB / 0.7957 GB, free: 15.79 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006279/0.7681, allocations: 204.6 kB / 0.7959 GB, free: 15.59 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.562e-05/0.7682, allocations: 31.98 kB / 0.7959 GB, free: 15.56 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001232/0.7694, allocations: 0.731 MB / 0.7967 GB, free: 14.83 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/0.7694, allocations: 0 / 0.7967 GB, free: 14.83 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001522/0.771, allocations: 475.6 kB / 0.7971 GB, free: 14.36 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.01599/0.787, allocations: 5.359 MB / 0.8023 GB, free: 8.938 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.006779/0.7937, allocations: 2.447 MB / 0.8047 GB, free: 6.434 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.091e-06/0.7937, allocations: 4 kB / 0.8047 GB, free: 6.43 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.004508/0.7982, allocations: 1.552 MB / 0.8062 GB, free: 4.824 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001135/0.7994, allocations: 123.6 kB / 0.8064 GB, free: 4.707 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04139/0.8408, allocations: 16.26 MB / 0.8222 GB, free: 4.168 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006589/0.8414, allocations: 0.5316 MB / 0.8228 GB, free: 3.602 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0006345/0.8421, allocations: 120.1 kB / 0.8229 GB, free: 3.48 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007965/0.8429, allocations: 471.3 kB / 0.8233 GB, free: 3.023 MB / 0.5762 GB Notification: Performance of SimCode: time 1.133e-06/0.8429, allocations: 0 / 0.8233 GB, free: 3.023 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0843/0.9272, allocations: 37.49 MB / 0.8599 GB, free: 13.76 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.44/15.37, allocations: 3.859 kB / 0.8599 GB, free: 13.75 MB / 0.6231 GB " [Timeout remaining time 644] (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Continuous_fmu --startTime=0 --stopTime=20 --stepSize=0.008 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Continuous.fmu > OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 18.917116320692003] Failed to read output from testmodel.py, exit status != 0: 15.51658489415422 15.541338546 14.996752928 Calling exit ...