Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete.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.001166/0.001166, allocations: 80.44 kB / 19.17 MB, free: 0.7344 MB / 13.93 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 0.9418/0.9418, allocations: 177.1 MB / 199.4 MB, free: 5.93 MB / 186.7 MB " [Timeout remaining time 179] 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.001102/0.001102, allocations: 152.6 kB / 256 MB, free: 13.33 MB / 250.7 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.2596/0.2596, allocations: 80.25 MB / 392.6 MB, free: 2.441 MB / 314.7 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_Discrete,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discrete",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discrete",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 0.5548 GB, free: 12.69 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.6e-05/1.758e-05, allocations: 2.281 kB / 0.5548 GB, free: 12.69 MB / 490.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete): time 0.004293/0.00431, allocations: 5.504 MB / 0.5602 GB, free: 7.156 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.002231/0.006541, allocations: 1.818 MB / 0.562 GB, free: 5.332 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002813/0.006822, allocations: 12 kB / 0.562 GB, free: 5.32 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003439/0.007166, allocations: 214.1 kB / 0.5622 GB, free: 5.109 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00113/0.008296, allocations: 0.8105 MB / 0.563 GB, free: 4.297 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006865/0.008982, allocations: 0.5824 MB / 0.5635 GB, free: 3.723 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009004/0.009883, allocations: 1.416 MB / 0.5649 GB, free: 2.301 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002523/0.01013, allocations: 188.3 kB / 0.5651 GB, free: 2.105 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000713/0.01085, allocations: 0.8259 MB / 0.5659 GB, free: 1.277 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004946/0.01134, allocations: 0.6114 MB / 0.5665 GB, free: 0.6641 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001032/0.01145, allocations: 104 kB / 0.5666 GB, free: 0.5625 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002898/0.01174, allocations: 251.7 kB / 0.5669 GB, free: 324 kB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001617/0.0119, allocations: 294.6 kB / 0.5671 GB, free: 28 kB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002565/0.01215, allocations: 422.6 kB / 0.5675 GB, free: 15.61 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0009943/0.01315, allocations: 1.546 MB / 0.569 GB, free: 14.06 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.685e-06/0.01315, allocations: 0 / 0.569 GB, free: 14.06 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.192e-06/0.01315, allocations: 3.844 kB / 0.5691 GB, free: 14.06 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.092e-05/0.01316, allocations: 0 / 0.5691 GB, free: 14.06 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 178 * Number of variables: 178 Notification: Performance of Generate backend data structure: time 0.004137/0.0173, allocations: 2.459 MB / 0.5715 GB, free: 11.56 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.733e-05/0.01734, allocations: 12.03 kB / 0.5715 GB, free: 11.55 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001114/0.01745, allocations: 118.5 kB / 0.5716 GB, free: 11.43 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002383/0.01983, allocations: 0.7719 MB / 0.5723 GB, free: 10.65 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001231/0.02106, allocations: 0.7333 MB / 0.573 GB, free: 9.879 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000208/0.02127, allocations: 367 kB / 0.5734 GB, free: 9.457 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001047/0.02138, allocations: 76 kB / 0.5735 GB, free: 9.383 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001548/0.02292, allocations: 1.177 MB / 0.5746 GB, free: 8.18 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.666e-05/0.02294, allocations: 0 / 0.5746 GB, free: 8.18 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.015e-05/0.02301, allocations: 32 kB / 0.5747 GB, free: 8.148 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.444e-05/0.02302, allocations: 19.94 kB / 0.5747 GB, free: 8.129 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001221/0.02425, allocations: 0.9498 MB / 0.5756 GB, free: 7.18 MB / 0.4948 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.0035/0.02775, allocations: 2.729 MB / 0.5783 GB, free: 4.367 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003861/0.03161, allocations: 1.935 MB / 0.5802 GB, free: 2.406 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007647/0.03237, allocations: 0.5931 MB / 0.5807 GB, free: 1.809 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 7.103e-05/0.03244, allocations: 12.64 kB / 0.5807 GB, free: 1.797 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.407e-05/0.03247, allocations: 47.22 kB / 0.5808 GB, free: 1.742 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=92): time 2.495e-06/0.03247, allocations: 0 / 0.5808 GB, free: 1.742 MB / 0.4948 GB Notification: Performance of matching and sorting (n=92): time 0.01446/0.04693, allocations: 6.689 MB / 0.5873 GB, free: 11.03 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.499e-05/0.04702, allocations: 93.7 kB / 0.5874 GB, free: 10.92 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009402/0.04796, allocations: 0.9774 MB / 0.5884 GB, free: 9.926 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 7.492e-05/0.04803, allocations: 45.7 kB / 0.5884 GB, free: 9.875 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002554/0.04829, allocations: 465.4 kB / 0.5889 GB, free: 9.414 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002261/0.04851, allocations: 321.3 kB / 0.5892 GB, free: 9.098 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002806/0.04879, allocations: 247.5 kB / 0.5894 GB, free: 8.848 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 9.902e-05/0.04889, allocations: 361.9 kB / 0.5897 GB, free: 8.488 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008903/0.04978, allocations: 0.691 MB / 0.5904 GB, free: 7.797 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009718/0.05076, allocations: 0.8706 MB / 0.5913 GB, free: 6.875 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01171/0.06247, allocations: 5.228 MB / 0.5964 GB, free: 1.594 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.096e-06/0.06248, allocations: 0 / 0.5964 GB, free: 1.594 MB / 0.5105 GB Notification: Performance of matching and sorting (n=174) (initialization): time 0.2145/0.277, allocations: 4.082 MB / 0.6004 GB, free: 92.11 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 3.13e-05/0.277, allocations: 8.781 kB / 0.6004 GB, free: 92.11 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.475e-05/0.277, allocations: 3.812 kB / 0.6004 GB, free: 92.11 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002865/0.2799, allocations: 1.52 MB / 0.6019 GB, free: 92.1 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007177/0.2806, allocations: 242.4 kB / 0.6021 GB, free: 92.1 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01117/0.2918, allocations: 7.982 MB / 0.6099 GB, free: 88.91 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001244/0.293, allocations: 177.2 kB / 0.61 GB, free: 88.88 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.591e-05/0.2931, allocations: 52.36 kB / 0.6101 GB, free: 88.87 MB / 0.5105 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: 17 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 4 (aVRTypeII.vf,aVRTypeII.vr2,aVRTypeII.vr1,aVRTypeII.vm) * Top-level inputs: 0 Notification: Strong component statistics for initialization (144): * Single equations (assignments): 143 * Array equations: 0 * Algorithm blocks: 0 * 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 {(19,12,24.4%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005739/0.2937, allocations: 256.3 kB / 0.6103 GB, free: 88.67 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006623/0.2943, allocations: 349.9 kB / 0.6107 GB, free: 88.55 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006778/0.3011, allocations: 3.559 MB / 0.6142 GB, free: 87.75 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.178e-05/0.3011, allocations: 10.19 kB / 0.6142 GB, free: 87.75 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.048e-05/0.3011, allocations: 6.875 kB / 0.6142 GB, free: 87.75 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.57e-05/0.3011, allocations: 6.203 kB / 0.6142 GB, free: 87.75 MB / 0.5105 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.008499/0.3096, allocations: 4.657 MB / 0.6187 GB, free: 86.41 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.158e-06/0.3097, allocations: 1.281 kB / 0.6187 GB, free: 86.41 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003806/0.31, allocations: 111.3 kB / 0.6188 GB, free: 86.4 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00336/0.3134, allocations: 1.571 MB / 0.6204 GB, free: 86.12 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001201/0.3135, allocations: 18.77 kB / 0.6204 GB, free: 86.11 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01142/0.3249, allocations: 10.39 MB / 0.6305 GB, free: 79.59 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.926e-06/0.3249, allocations: 1.312 kB / 0.6305 GB, free: 79.59 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007858/0.3328, allocations: 4.59 MB / 0.635 GB, free: 78.09 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003332/0.3331, allocations: 137 kB / 0.6351 GB, free: 78 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001042/0.3332, allocations: 21.58 kB / 0.6352 GB, free: 77.98 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004966/0.3337, allocations: 86.31 kB / 0.6352 GB, free: 77.95 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003983/0.3341, allocations: 184 kB / 0.6354 GB, free: 77.82 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.575e-05/0.3342, allocations: 29.27 kB / 0.6354 GB, free: 77.81 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0005756/0.3347, allocations: 0.6419 MB / 0.6361 GB, free: 77.44 MB / 0.5105 GB Notification: Performance of sort global known variables: time 7e-08/0.3347, allocations: 0 / 0.6361 GB, free: 77.44 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001127/0.3359, allocations: 440.4 kB / 0.6365 GB, free: 77.38 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (order2.delta,order2.w,order4.delta,order4.w,order4.e1q,order4.e1d) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 4 (aVRTypeII.vm,aVRTypeII.vr1,aVRTypeII.vr2,aVRTypeII.vf) * Top-level inputs: 0 Notification: Strong component statistics for simulation (61): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * 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 {(20,12,23.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.007368/0.3432, allocations: 5.171 MB / 0.6415 GB, free: 74.5 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.003294/0.3465, allocations: 2.148 MB / 0.6436 GB, free: 73.42 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.3465, allocations: 1 kB / 0.6436 GB, free: 73.42 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001954/0.3485, allocations: 1.255 MB / 0.6449 GB, free: 72.41 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009814/0.3495, allocations: 347.6 kB / 0.6452 GB, free: 72.06 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01841/0.3679, allocations: 14.71 MB / 0.6596 GB, free: 57.15 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002757/0.3682, allocations: 493.9 kB / 0.66 GB, free: 56.62 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0002744/0.3684, allocations: 93.03 kB / 0.6601 GB, free: 56.53 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003423/0.3688, allocations: 440.3 kB / 0.6605 GB, free: 56.1 MB / 0.5105 GB Notification: Performance of SimCode: time 2.044e-06/0.3688, allocations: 1.094 kB / 0.6605 GB, free: 56.1 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04409/0.4129, allocations: 34.53 MB / 0.6943 GB, free: 21.87 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.739/9.151, allocations: 7.359 kB / 0.6943 GB, free: 21.86 MB / 0.5105 GB " [Timeout remaining time 651] (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discrete_fmu --startTime=0 --stopTime=20 --stepSize=0.01 --timeout=50 --tolerance=0.001 OpenIPSL_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discrete.fmu > OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.589965826831758] Failed to read output from testmodel.py, exit status != 0: 9.25739794690162 9.267715444 9.25260671 Calling exit ...