Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2.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.001441/0.001441, 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.477/1.477, allocations: 230.6 MB / 252.7 MB, free: 8.082 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.001923/0.001923, allocations: 215.1 kB / 309.2 MB, free: 2.945 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.6296/0.6296, allocations: 107.3 MB / 473 MB, free: 4.426 MB / 334.1 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.2.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.Order3test2,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order3test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order3test2,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order3test2",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.002884/0.002884, allocations: 83.88 kB / 0.6332 GB, free: 4.977 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4294/0.4323, allocations: 80.16 MB / 0.7115 GB, free: 4.215 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order3test2): time 0.004893/0.4372, allocations: 5.117 MB / 0.7165 GB, free: 0.7305 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003253/0.4404, allocations: 1.706 MB / 0.7182 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004428/0.4409, allocations: 14.62 kB / 0.7182 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0005077/0.4414, allocations: 201.4 kB / 0.7184 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001753/0.4431, allocations: 0.7298 MB / 0.7191 GB, free: 14.97 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00132/0.4445, allocations: 0.5478 MB / 0.7196 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001394/0.4459, allocations: 1.254 MB / 0.7209 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003145/0.4462, allocations: 178.6 kB / 0.721 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006604/0.4468, allocations: 0.5473 MB / 0.7216 GB, free: 13.68 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006949/0.4475, allocations: 0.5923 MB / 0.7221 GB, free: 13.42 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001222/0.4476, allocations: 87.44 kB / 0.7222 GB, free: 13.42 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004603/0.4481, allocations: 227.8 kB / 0.7224 GB, free: 13.38 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002168/0.4483, allocations: 242.2 kB / 0.7227 GB, free: 13.22 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004174/0.4487, allocations: 455.8 kB / 0.7231 GB, free: 12.96 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001591/0.4503, allocations: 1.395 MB / 0.7245 GB, free: 12.31 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.4503, allocations: 0.6562 kB / 0.7245 GB, free: 12.31 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.754e-06/0.4503, allocations: 4 kB / 0.7245 GB, free: 12.31 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.805e-05/0.4504, allocations: 1.438 kB / 0.7245 GB, free: 12.31 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: 167 * Number of variables: 167 Notification: Performance of Generate backend data structure: time 0.007815/0.4582, allocations: 2.326 MB / 0.7267 GB, free: 11.28 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.348e-05/0.4582, allocations: 9.875 kB / 0.7268 GB, free: 11.28 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001618/0.4584, allocations: 113.2 kB / 0.7269 GB, free: 11.2 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005113/0.4635, allocations: 0.7563 MB / 0.7276 GB, free: 11.05 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001705/0.4652, allocations: 0.6556 MB / 0.7282 GB, free: 10.59 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004087/0.4656, allocations: 298 kB / 0.7285 GB, free: 10.32 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002055/0.4658, allocations: 69.03 kB / 0.7286 GB, free: 10.3 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002279/0.4681, allocations: 0.9613 MB / 0.7295 GB, free: 9.938 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.854e-05/0.4681, allocations: 0 / 0.7295 GB, free: 9.938 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.945e-05/0.4682, allocations: 25.53 kB / 0.7296 GB, free: 9.918 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.671e-05/0.4682, allocations: 16.06 kB / 0.7296 GB, free: 9.918 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002301/0.4705, allocations: 0.9753 MB / 0.7305 GB, free: 9.598 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.005645/0.4762, allocations: 2.369 MB / 0.7328 GB, free: 8.32 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001906/0.4781, allocations: 0.7665 MB / 0.7336 GB, free: 7.926 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001422/0.4795, allocations: 0.6233 MB / 0.7342 GB, free: 7.617 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 8.987e-05/0.4796, allocations: 16.86 kB / 0.7342 GB, free: 7.609 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.547e-05/0.4796, allocations: 51.36 kB / 0.7343 GB, free: 7.555 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=82): time 3.066e-06/0.4796, allocations: 0 / 0.7343 GB, free: 7.555 MB / 0.4981 GB Notification: Performance of matching and sorting (n=82): time 0.02816/0.5078, allocations: 6.652 MB / 0.7408 GB, free: 4.297 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.385e-05/0.5078, allocations: 64.59 kB / 0.7408 GB, free: 4.227 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001299/0.5091, allocations: 0.7982 MB / 0.7416 GB, free: 3.758 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0002834/0.5094, allocations: 40.86 kB / 0.7416 GB, free: 3.715 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004167/0.5098, allocations: 438.8 kB / 0.7421 GB, free: 3.328 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.000445/0.5103, allocations: 306.5 kB / 0.7423 GB, free: 3.062 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004053/0.5107, allocations: 185 kB / 0.7425 GB, free: 2.945 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001759/0.5109, allocations: 347.8 kB / 0.7429 GB, free: 2.609 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001616/0.5125, allocations: 0.6509 MB / 0.7435 GB, free: 2.285 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001697/0.5142, allocations: 0.7767 MB / 0.7442 GB, free: 1.836 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01956/0.5337, allocations: 4.606 MB / 0.7487 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.127e-06/0.5337, allocations: 0 / 0.7487 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of matching and sorting (n=131) (initialization): time 0.01449/0.5482, allocations: 4.091 MB / 0.7527 GB, free: 12.79 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 3.267e-05/0.5483, allocations: 10.03 kB / 0.7528 GB, free: 12.79 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.447e-05/0.5483, allocations: 0 / 0.7528 GB, free: 12.79 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006837/0.5551, allocations: 1.792 MB / 0.7545 GB, free: 10.99 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009615/0.5561, allocations: 167.7 kB / 0.7547 GB, free: 10.82 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02416/0.5802, allocations: 9.027 MB / 0.7635 GB, free: 1.676 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001688/0.5819, allocations: 151.3 kB / 0.7636 GB, free: 1.527 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001763/0.5821, allocations: 39.98 kB / 0.7637 GB, free: 1.488 MB / 0.5137 GB Warning: Assuming fixed start value for the following 2 variables: order31.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"Rotor speed [pu]\" type: Real order31.delta:VARIABLE(flow=false start = order31.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" 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 (95): * Single equations (assignments): 94 * 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 {(25,12)} Notification: Performance of prepare postOptimizeDAE: time 0.0006297/0.5827, allocations: 233.3 kB / 0.7639 GB, free: 1.254 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002978/0.583, allocations: 103.3 kB / 0.764 GB, free: 1.152 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01367/0.5967, allocations: 3.798 MB / 0.7677 GB, free: 13.33 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.609e-05/0.5967, allocations: 8 kB / 0.7677 GB, free: 13.32 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.855e-06/0.5967, allocations: 4 kB / 0.7677 GB, free: 13.32 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.233e-05/0.5967, allocations: 7.984 kB / 0.7677 GB, free: 13.31 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01579/0.6125, allocations: 4.727 MB / 0.7723 GB, free: 8.527 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.266e-05/0.6125, allocations: 0 / 0.7723 GB, free: 8.527 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006145/0.6132, allocations: 83.89 kB / 0.7724 GB, free: 8.445 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006555/0.6197, allocations: 1.745 MB / 0.7741 GB, free: 6.695 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001828/0.6199, allocations: 15.98 kB / 0.7741 GB, free: 6.68 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0207/0.6406, allocations: 7.767 MB / 0.7817 GB, free: 14.79 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/0.6406, allocations: 4 kB / 0.7817 GB, free: 14.79 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01569/0.6563, allocations: 4.685 MB / 0.7863 GB, free: 10.08 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004056/0.6567, allocations: 119.1 kB / 0.7864 GB, free: 9.961 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001775/0.6569, allocations: 19.98 kB / 0.7864 GB, free: 9.941 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000958/0.6578, allocations: 87.91 kB / 0.7865 GB, free: 9.855 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006625/0.6585, allocations: 208.6 kB / 0.7867 GB, free: 9.652 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.236e-05/0.6586, allocations: 19.98 kB / 0.7867 GB, free: 9.633 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0007925/0.6594, allocations: 0.5383 MB / 0.7872 GB, free: 9.082 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6594, allocations: 0 / 0.7872 GB, free: 9.082 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001264/0.6606, allocations: 411.7 kB / 0.7876 GB, free: 8.68 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (order31.delta,order31.w,order31.e1q) * 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 (49): * Single equations (assignments): 48 * 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.01602/0.6767, allocations: 5.253 MB / 0.7928 GB, free: 3.395 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.007476/0.6841, allocations: 2.224 MB / 0.7949 GB, free: 1.16 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 7.865e-06/0.6841, allocations: 3.938 kB / 0.7949 GB, free: 1.156 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.00506/0.6892, allocations: 1.437 MB / 0.7964 GB, free: 15.7 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008938/0.6901, allocations: 83.27 kB / 0.7964 GB, free: 15.62 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03883/0.7289, allocations: 14.12 MB / 0.8102 GB, free: 1.312 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004973/0.7294, allocations: 446.1 kB / 0.8106 GB, free: 0.8438 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0004053/0.7298, allocations: 78.3 kB / 0.8107 GB, free: 0.7656 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005449/0.7304, allocations: 363.3 kB / 0.8111 GB, free: 420 kB / 0.5606 GB Notification: Performance of SimCode: time 1.123e-06/0.7304, allocations: 4 kB / 0.8111 GB, free: 416 kB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07381/0.8042, allocations: 33.14 MB / 0.8434 GB, free: 15.4 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.88/14.69, allocations: 11.42 kB / 0.8434 GB, free: 15.39 MB / 0.6075 GB " [Timeout remaining time 645] (rm -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order3test2_fmu --startTime=0 --stopTime=20 --stepSize=0.008 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order3test2.fmu > OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 32.17879203520715] Failed to read output from testmodel.py, exit status != 0: 14.82927027810365 14.852312447 14.39740658 Calling exit ...