Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2.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.001713/0.001713, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.6 MB, free: 8.316 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.001976/0.001976, allocations: 209.3 kB / 309.2 MB, free: 3.164 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.5615/0.5615, allocations: 101.3 MB / 467 MB, free: 10.34 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.Tests.Machines.PSAT.Order4test2,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order4test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order4test2,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order4test2",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.002838/0.002838, allocations: 87.86 kB / 0.6244 GB, free: 12.94 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4765/0.4794, allocations: 78.6 MB / 0.7012 GB, free: 8.992 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order4test2): time 0.005595/0.485, allocations: 5.886 MB / 0.7069 GB, free: 4.984 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003303/0.4883, allocations: 1.83 MB / 0.7087 GB, free: 3.688 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004308/0.4887, allocations: 12.97 kB / 0.7087 GB, free: 3.684 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004505/0.4892, allocations: 208.2 kB / 0.7089 GB, free: 3.574 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001486/0.4907, allocations: 0.7579 MB / 0.7097 GB, free: 3.066 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001102/0.4918, allocations: 0.569 MB / 0.7102 GB, free: 2.766 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001311/0.4931, allocations: 1.264 MB / 0.7115 GB, free: 2.125 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002932/0.4934, allocations: 185.5 kB / 0.7116 GB, free: 2.02 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006247/0.494, allocations: 0.5447 MB / 0.7122 GB, free: 1.754 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006583/0.4946, allocations: 0.6518 MB / 0.7128 GB, free: 1.434 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001186/0.4948, allocations: 88.91 kB / 0.7129 GB, free: 1.434 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004346/0.4952, allocations: 240.9 kB / 0.7131 GB, free: 1.383 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001733/0.4954, allocations: 241 kB / 0.7134 GB, free: 1.223 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003669/0.4957, allocations: 0.5463 MB / 0.7139 GB, free: 0.8555 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001461/0.4972, allocations: 1.367 MB / 0.7152 GB, free: 232 kB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.4972, allocations: 0 / 0.7152 GB, free: 232 kB / 494.1 MB Notification: Performance of FrontEnd: time 1.482e-06/0.4972, allocations: 0 / 0.7152 GB, free: 232 kB / 494.1 MB Notification: Performance of Transformations before backend: time 2.236e-05/0.4972, allocations: 2.969 kB / 0.7152 GB, free: 232 kB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 168 * Number of variables: 168 Notification: Performance of Generate backend data structure: time 0.007966/0.5052, allocations: 2.332 MB / 0.7175 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.491e-05/0.5052, allocations: 11.22 kB / 0.7175 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001617/0.5054, allocations: 113.7 kB / 0.7176 GB, free: 15.1 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004936/0.5103, allocations: 0.7619 MB / 0.7184 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001453/0.5118, allocations: 0.6469 MB / 0.719 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003553/0.5121, allocations: 306.9 kB / 0.7193 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001445/0.5123, allocations: 69.28 kB / 0.7194 GB, free: 14.19 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002131/0.5144, allocations: 0.9576 MB / 0.7203 GB, free: 13.84 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.84e-05/0.5144, allocations: 2.938 kB / 0.7203 GB, free: 13.84 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.664e-05/0.5145, allocations: 24.95 kB / 0.7203 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.597e-05/0.5145, allocations: 17.16 kB / 0.7203 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002067/0.5166, allocations: 0.9768 MB / 0.7213 GB, free: 13.5 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.006563/0.5232, allocations: 3.162 MB / 0.7244 GB, free: 11.68 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001952/0.5251, allocations: 0.777 MB / 0.7251 GB, free: 11.38 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001488/0.5266, allocations: 0.627 MB / 0.7258 GB, free: 11.16 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001171/0.5267, allocations: 13.94 kB / 0.7258 GB, free: 11.15 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.193e-05/0.5268, allocations: 40.47 kB / 0.7258 GB, free: 11.11 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=83): time 2.495e-06/0.5268, allocations: 0 / 0.7258 GB, free: 11.11 MB / 0.4981 GB Notification: Performance of matching and sorting (n=83): time 0.02585/0.5526, allocations: 6.363 MB / 0.732 GB, free: 8.75 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.279e-05/0.5527, allocations: 68.44 kB / 0.7321 GB, free: 8.68 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001419/0.5541, allocations: 0.7945 MB / 0.7329 GB, free: 8.23 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0002217/0.5543, allocations: 44.55 kB / 0.7329 GB, free: 8.184 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003888/0.5547, allocations: 435.1 kB / 0.7333 GB, free: 7.801 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003959/0.5551, allocations: 318.7 kB / 0.7336 GB, free: 7.523 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003988/0.5555, allocations: 187 kB / 0.7338 GB, free: 7.406 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001811/0.5557, allocations: 347.1 kB / 0.7341 GB, free: 7.07 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001521/0.5572, allocations: 0.6552 MB / 0.7348 GB, free: 6.746 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001637/0.5588, allocations: 0.7925 MB / 0.7355 GB, free: 6.285 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01865/0.5775, allocations: 4.621 MB / 0.7401 GB, free: 4.043 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.111e-05/0.5775, allocations: 9.094 kB / 0.7401 GB, free: 4.035 MB / 0.4981 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.01381/0.5913, allocations: 4.036 MB / 0.744 GB, free: 2.062 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.695e-05/0.5913, allocations: 9.562 kB / 0.744 GB, free: 2.059 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.583e-05/0.5913, allocations: 6.328 kB / 0.744 GB, free: 2.055 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008887/0.6002, allocations: 1.736 MB / 0.7457 GB, free: 1.305 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001579/0.6018, allocations: 182.8 kB / 0.7459 GB, free: 1.266 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03728/0.6391, allocations: 8.961 MB / 0.7546 GB, free: 9.402 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002165/0.6412, allocations: 155.2 kB / 0.7548 GB, free: 9.25 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001812/0.6414, allocations: 35.98 kB / 0.7548 GB, free: 9.215 MB / 0.5137 GB Warning: Assuming fixed start value for the following 1 variables: Generator.e1q:VARIABLE(start = Generator.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: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (101): * Single equations (assignments): 100 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(24,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0006748/0.6421, allocations: 233.5 kB / 0.755 GB, free: 8.98 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003038/0.6424, allocations: 111.2 kB / 0.7552 GB, free: 8.871 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02153/0.6639, allocations: 3.782 MB / 0.7588 GB, free: 5.074 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.357e-05/0.664, allocations: 15.88 kB / 0.7589 GB, free: 5.059 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.664, allocations: 0 / 0.7589 GB, free: 5.059 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.499e-05/0.664, allocations: 3.984 kB / 0.7589 GB, free: 5.055 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02484/0.6888, allocations: 5.278 MB / 0.764 GB, free: 15.64 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.64e-05/0.6889, allocations: 0 / 0.764 GB, free: 15.64 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009331/0.6898, allocations: 95.81 kB / 0.7641 GB, free: 15.55 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009824/0.6996, allocations: 1.733 MB / 0.7658 GB, free: 13.81 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000245/0.6999, allocations: 19.98 kB / 0.7658 GB, free: 13.79 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02448/0.7243, allocations: 7.961 MB / 0.7736 GB, free: 5.707 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/0.7243, allocations: 0 / 0.7736 GB, free: 5.707 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01533/0.7397, allocations: 4.666 MB / 0.7782 GB, free: 1.016 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000428/0.7401, allocations: 119.1 kB / 0.7783 GB, free: 0.8984 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003143/0.7404, allocations: 16 kB / 0.7783 GB, free: 0.8828 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001127/0.7415, allocations: 87.89 kB / 0.7784 GB, free: 0.7969 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000716/0.7423, allocations: 216.5 kB / 0.7786 GB, free: 0.5859 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.179e-05/0.7424, allocations: 27.98 kB / 0.7786 GB, free: 0.5586 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0008832/0.7432, allocations: 0.5342 MB / 0.7791 GB, free: 28 kB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.7432, allocations: 0 / 0.7791 GB, free: 28 kB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001568/0.7448, allocations: 407.7 kB / 0.7795 GB, free: 15.62 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (Generator.delta,Generator.w,Generator.e1q,Generator.e1d) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (50): * Single equations (assignments): 49 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(26,10)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01564/0.7604, allocations: 5.238 MB / 0.7846 GB, free: 10.35 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.007295/0.7677, allocations: 2.203 MB / 0.7868 GB, free: 8.141 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.759e-06/0.7677, allocations: 4.125 kB / 0.7868 GB, free: 8.137 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.004982/0.7727, allocations: 1.444 MB / 0.7882 GB, free: 6.68 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001095/0.7738, allocations: 81.84 kB / 0.7883 GB, free: 6.602 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03946/0.8133, allocations: 14.13 MB / 0.8021 GB, free: 8.285 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008029/0.8141, allocations: 1.025 MB / 0.8031 GB, free: 7.234 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0003771/0.8145, allocations: 78.31 kB / 0.8031 GB, free: 7.156 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006399/0.8151, allocations: 375.3 kB / 0.8035 GB, free: 6.789 MB / 0.5606 GB Notification: Performance of SimCode: time 9.62e-07/0.8151, allocations: 4 kB / 0.8035 GB, free: 6.785 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.108/0.9231, allocations: 32.15 MB / 0.8349 GB, free: 6.762 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.79/17.71, allocations: 3.375 kB / 0.8349 GB, free: 6.762 MB / 0.5919 GB " [Timeout remaining time 642] (rm -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order4test2_fmu --startTime=0 --stopTime=20 --stepSize=0.008 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order4test2.fmu > OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 21.599754143040627] Failed to read output from testmodel.py, exit status != 0: 17.850861326092854 17.882256297 17.379462816 Calling exit ...