Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001323/0.001323, allocations: 109.6 kB / 16.46 MB, free: 6.504 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.393/1.393, allocations: 225.6 MB / 244.8 MB, free: 14.17 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001439/0.001439, allocations: 195.2 kB / 299.8 MB, free: 9.824 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5389/0.5389, allocations: 99.66 MB / 454.4 MB, free: 5.062 MB / 318.1 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order2test2_perturbation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order2test2_perturbation",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002314/0.002314, allocations: 79.88 kB / 0.6073 GB, free: 9.516 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1395/0.1418, allocations: 76.94 MB / 0.6825 GB, free: 12.41 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation): time 0.007507/0.1493, allocations: 6.431 MB / 0.6888 GB, free: 5.941 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.004174/0.1535, allocations: 1.853 MB / 0.6906 GB, free: 4.086 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008378/0.1543, allocations: 12 kB / 0.6906 GB, free: 4.074 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006658/0.155, allocations: 226 kB / 0.6908 GB, free: 3.852 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002152/0.1572, allocations: 0.7649 MB / 0.6915 GB, free: 3.082 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001428/0.1586, allocations: 0.6101 MB / 0.6921 GB, free: 2.48 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001863/0.1604, allocations: 1.398 MB / 0.6935 GB, free: 1.078 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004343/0.1609, allocations: 228.3 kB / 0.6937 GB, free: 0.8398 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000825/0.1617, allocations: 0.5873 MB / 0.6943 GB, free: 256 kB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.2899/0.4516, allocations: 0.7259 MB / 0.695 GB, free: 9.316 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003696/0.4519, allocations: 100.3 kB / 0.6951 GB, free: 9.316 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000605/0.4525, allocations: 239.4 kB / 0.6953 GB, free: 9.316 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002254/0.4528, allocations: 274.7 kB / 0.6956 GB, free: 9.316 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005661/0.4533, allocations: 0.6209 MB / 0.6962 GB, free: 9.215 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001659/0.455, allocations: 1.512 MB / 0.6977 GB, free: 8.957 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.455, allocations: 0 / 0.6977 GB, free: 8.957 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.455, allocations: 0 / 0.6977 GB, free: 8.957 MB / 494.1 MB Notification: Performance of Transformations before backend: time 2.337e-05/0.455, allocations: 0.875 kB / 0.6977 GB, free: 8.957 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 194 * Number of variables: 194 Notification: Performance of Generate backend data structure: time 0.007916/0.4629, allocations: 2.586 MB / 0.7002 GB, free: 8.039 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.317e-05/0.463, allocations: 11.06 kB / 0.7002 GB, free: 8.039 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001635/0.4632, allocations: 129.5 kB / 0.7003 GB, free: 8 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004943/0.4681, allocations: 0.7858 MB / 0.7011 GB, free: 7.906 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001477/0.4696, allocations: 0.7737 MB / 0.7019 GB, free: 7.527 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002308/0.4698, allocations: 260 kB / 0.7021 GB, free: 7.336 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001474/0.4699, allocations: 75.22 kB / 0.7022 GB, free: 7.336 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00212/0.4721, allocations: 1.077 MB / 0.7032 GB, free: 7.27 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.016e-05/0.4721, allocations: 0 / 0.7032 GB, free: 7.27 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.338e-05/0.4722, allocations: 32.69 kB / 0.7033 GB, free: 7.27 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.385e-05/0.4722, allocations: 17.75 kB / 0.7033 GB, free: 7.27 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002268/0.4745, allocations: 1.118 MB / 0.7044 GB, free: 7.254 MB / 494.1 MB 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.006297/0.4807, allocations: 3.428 MB / 0.7077 GB, free: 5.766 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001881/0.4826, allocations: 1.317 MB / 0.709 GB, free: 4.891 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001599/0.4842, allocations: 0.6984 MB / 0.7097 GB, free: 4.645 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001074/0.4843, allocations: 19.67 kB / 0.7097 GB, free: 4.641 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.173e-05/0.4844, allocations: 41.19 kB / 0.7097 GB, free: 4.598 MB / 494.1 MB Notification: Performance of pre-optimization done (n=96): time 3.437e-06/0.4844, allocations: 0 / 0.7097 GB, free: 4.598 MB / 494.1 MB Notification: Performance of matching and sorting (n=96): time 0.02583/0.5102, allocations: 6.722 MB / 0.7163 GB, free: 3.383 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.628e-05/0.5102, allocations: 62.03 kB / 0.7164 GB, free: 3.32 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001149/0.5114, allocations: 0.8895 MB / 0.7172 GB, free: 2.859 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002558/0.5116, allocations: 41.14 kB / 0.7173 GB, free: 2.816 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002678/0.5119, allocations: 0.4916 MB / 0.7178 GB, free: 2.379 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003329/0.5122, allocations: 355.7 kB / 0.7181 GB, free: 2.078 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003585/0.5126, allocations: 196.8 kB / 0.7183 GB, free: 1.953 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 7.107e-05/0.5127, allocations: 355.1 kB / 0.7186 GB, free: 1.613 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001454/0.5141, allocations: 0.71 MB / 0.7193 GB, free: 1.266 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001549/0.5157, allocations: 0.8446 MB / 0.7201 GB, free: 0.7852 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0182/0.5339, allocations: 4.788 MB / 0.7248 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.478e-06/0.5339, allocations: 1.125 kB / 0.7248 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of matching and sorting (n=143) (initialization): time 0.01362/0.5475, allocations: 4.233 MB / 0.729 GB, free: 12.47 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.668e-05/0.5475, allocations: 10.16 kB / 0.729 GB, free: 12.47 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.252e-05/0.5475, allocations: 2.438 kB / 0.729 GB, free: 12.47 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00617/0.5537, allocations: 1.863 MB / 0.7308 GB, free: 11.71 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001143/0.5549, allocations: 202.4 kB / 0.731 GB, free: 11.68 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02088/0.5757, allocations: 9.1 MB / 0.7399 GB, free: 5.875 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001728/0.5775, allocations: 190.7 kB / 0.74 GB, free: 5.691 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001286/0.5776, allocations: 43.64 kB / 0.7401 GB, free: 5.652 MB / 0.4981 GB Warning: Assuming fixed start value for the following 2 variables: order2_Inputs_Outputs1.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"Rotor speed [pu]\" type: Real order2_Inputs_Outputs1.delta:VARIABLE(flow=false start = order2_Inputs_Outputs1.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 (108): * Single equations (assignments): 107 * 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 prepare postOptimizeDAE: time 0.0005805/0.5782, allocations: 233.9 kB / 0.7403 GB, free: 5.43 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003015/0.5785, allocations: 123.2 kB / 0.7404 GB, free: 5.309 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01287/0.5913, allocations: 3.981 MB / 0.7443 GB, free: 1.348 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.586e-05/0.5914, allocations: 8 kB / 0.7443 GB, free: 1.34 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.386e-06/0.5914, allocations: 0 / 0.7443 GB, free: 1.34 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.727e-05/0.5914, allocations: 7.984 kB / 0.7443 GB, free: 1.332 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01572/0.6071, allocations: 5.586 MB / 0.7498 GB, free: 11.66 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.247e-05/0.6071, allocations: 0 / 0.7498 GB, free: 11.66 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007892/0.6079, allocations: 133.4 kB / 0.7499 GB, free: 11.54 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005918/0.6138, allocations: 1.745 MB / 0.7516 GB, free: 9.785 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002262/0.6141, allocations: 16 kB / 0.7516 GB, free: 9.77 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01877/0.6328, allocations: 8.07 MB / 0.7595 GB, free: 1.566 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.621e-06/0.6328, allocations: 3.938 kB / 0.7595 GB, free: 1.562 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01535/0.6482, allocations: 4.936 MB / 0.7643 GB, free: 12.64 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005001/0.6487, allocations: 208.1 kB / 0.7645 GB, free: 12.42 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002039/0.6489, allocations: 16 kB / 0.7646 GB, free: 12.4 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001056/0.6499, allocations: 115.9 kB / 0.7647 GB, free: 12.29 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007142/0.6507, allocations: 216.7 kB / 0.7649 GB, free: 12.08 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.532e-05/0.6507, allocations: 24 kB / 0.7649 GB, free: 12.06 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0007987/0.6515, allocations: 0.5965 MB / 0.7655 GB, free: 11.45 MB / 0.5294 GB Notification: Performance of sort global known variables: time 9e-08/0.6515, allocations: 0 / 0.7655 GB, free: 11.45 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001368/0.6529, allocations: 435.6 kB / 0.7659 GB, free: 11.03 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (order2_Inputs_Outputs1.delta,order2_Inputs_Outputs1.w) * 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 (63): * Single equations (assignments): 62 * 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.01563/0.6685, allocations: 5.516 MB / 0.7713 GB, free: 5.52 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.007287/0.6758, allocations: 2.353 MB / 0.7736 GB, free: 3.176 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.629e-06/0.6758, allocations: 0 / 0.7736 GB, free: 3.176 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.005093/0.6809, allocations: 1.527 MB / 0.7751 GB, free: 1.645 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001078/0.682, allocations: 88.34 kB / 0.7752 GB, free: 1.559 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04086/0.7229, allocations: 15.1 MB / 0.7899 GB, free: 2.375 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008561/0.7237, allocations: 1.08 MB / 0.7909 GB, free: 1.27 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0004809/0.7242, allocations: 86.55 kB / 0.791 GB, free: 1.184 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007159/0.7249, allocations: 451.3 kB / 0.7915 GB, free: 0.7422 MB / 0.545 GB Notification: Performance of SimCode: time 1.382e-06/0.7249, allocations: 0 / 0.7915 GB, free: 0.7422 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07592/0.8008, allocations: 33.54 MB / 0.8242 GB, free: 15.42 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.05/17.85, allocations: 5.469 kB / 0.8242 GB, free: 15.41 MB / 0.5919 GB " [Timeout remaining time 642] (rm -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order2test2_perturbation_fmu --startTime=0 --stopTime=20 --stepSize=0.008 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order2test2_perturbation.fmu > OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 21.349557783920318] Failed to read output from testmodel.py, exit status != 0: 17.957083746790886 17.970077604 17.512289564 Calling exit ...