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.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.001438/0.001438, allocations: 116.8 kB / 17.17 MB, free: 5.977 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.369/1.369, allocations: 230.6 MB / 250.5 MB, free: 9.207 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.00154/0.00154, allocations: 209.8 kB / 306.7 MB, free: 4.281 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.5297/0.5297, allocations: 101.3 MB / 464.1 MB, free: 11.89 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.Order2test2_perturbation,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order2test2_perturbation",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order2test2_perturbation",fmuType="cs",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.002358/0.002358, allocations: 83.88 kB / 0.62 GB, free: 15.52 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1472/0.1495, allocations: 78.57 MB / 0.6967 GB, free: 0.8164 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation): time 0.3041/0.4536, allocations: 6.442 MB / 0.703 GB, free: 5.211 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003785/0.4574, allocations: 1.972 MB / 0.7049 GB, free: 3.82 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000836/0.4582, allocations: 15.09 kB / 0.7049 GB, free: 3.816 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005381/0.4588, allocations: 224 kB / 0.7052 GB, free: 3.691 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00164/0.4604, allocations: 0.7755 MB / 0.7059 GB, free: 3.18 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001273/0.4617, allocations: 0.6329 MB / 0.7065 GB, free: 2.859 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001365/0.4631, allocations: 1.415 MB / 0.7079 GB, free: 2.152 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003677/0.4634, allocations: 225.8 kB / 0.7081 GB, free: 2.031 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007258/0.4641, allocations: 0.608 MB / 0.7087 GB, free: 1.734 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007426/0.4649, allocations: 0.7349 MB / 0.7094 GB, free: 1.367 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001407/0.465, allocations: 101.2 kB / 0.7095 GB, free: 1.367 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005642/0.4656, allocations: 251 kB / 0.7098 GB, free: 1.32 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002263/0.4658, allocations: 275.5 kB / 0.71 GB, free: 1.137 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004437/0.4663, allocations: 0.6152 MB / 0.7106 GB, free: 0.7227 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001541/0.4678, allocations: 1.538 MB / 0.7121 GB, free: 0 / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.4678, allocations: 0 / 0.7121 GB, free: 0 / 494.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.4678, allocations: 2.984 kB / 0.7121 GB, free: 0 / 494.1 MB Notification: Performance of Transformations before backend: time 2.616e-05/0.4678, allocations: 0 / 0.7121 GB, free: 0 / 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.008556/0.4764, allocations: 2.61 MB / 0.7147 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.497e-05/0.4765, allocations: 9.078 kB / 0.7147 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.803e-05/0.4765, allocations: 22.72 kB / 0.7147 GB, free: 14.76 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002035/0.4767, allocations: 133.8 kB / 0.7148 GB, free: 14.67 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005408/0.4821, allocations: 0.8186 MB / 0.7156 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001716/0.4838, allocations: 0.7814 MB / 0.7164 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003941/0.4842, allocations: 256.2 kB / 0.7167 GB, free: 13.73 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000178/0.4844, allocations: 77.67 kB / 0.7167 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002595/0.487, allocations: 1.085 MB / 0.7178 GB, free: 13.31 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.035e-05/0.487, allocations: 3.516 kB / 0.7178 GB, free: 13.31 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001017/0.4871, allocations: 35.88 kB / 0.7178 GB, free: 13.28 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.719e-05/0.4871, allocations: 19.19 kB / 0.7178 GB, free: 13.28 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003249/0.4904, allocations: 1.116 MB / 0.7189 GB, free: 12.94 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.00732/0.4977, allocations: 3.419 MB / 0.7223 GB, free: 10.99 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002468/0.5001, allocations: 1.334 MB / 0.7236 GB, free: 10.11 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001928/0.5021, allocations: 0.6981 MB / 0.7243 GB, free: 9.859 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001237/0.5022, allocations: 16.31 kB / 0.7243 GB, free: 9.855 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.162e-05/0.5022, allocations: 44.17 kB / 0.7243 GB, free: 9.809 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=96): time 2.925e-06/0.5022, allocations: 0.625 kB / 0.7243 GB, free: 9.809 MB / 0.4981 GB Notification: Performance of matching and sorting (n=96): time 0.02777/0.53, allocations: 6.723 MB / 0.7309 GB, free: 7.223 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.66e-05/0.5301, allocations: 62.25 kB / 0.7309 GB, free: 7.16 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001383/0.5315, allocations: 0.8928 MB / 0.7318 GB, free: 6.652 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0002936/0.5318, allocations: 49.73 kB / 0.7319 GB, free: 6.602 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004378/0.5322, allocations: 0.4918 MB / 0.7323 GB, free: 6.16 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004446/0.5326, allocations: 356.1 kB / 0.7327 GB, free: 5.852 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004249/0.5331, allocations: 197.6 kB / 0.7329 GB, free: 5.727 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001733/0.5332, allocations: 347.6 kB / 0.7332 GB, free: 5.391 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001709/0.535, allocations: 0.714 MB / 0.7339 GB, free: 5.039 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001822/0.5368, allocations: 0.8369 MB / 0.7347 GB, free: 4.562 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02017/0.5569, allocations: 4.893 MB / 0.7395 GB, free: 2.188 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.929e-06/0.557, allocations: 1.125 kB / 0.7395 GB, free: 2.188 MB / 0.4981 GB Notification: Performance of matching and sorting (n=143) (initialization): time 0.01456/0.5715, allocations: 4.228 MB / 0.7436 GB, free: 124 kB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.289e-05/0.5716, allocations: 9.812 kB / 0.7436 GB, free: 120 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.418e-05/0.5716, allocations: 2.562 kB / 0.7436 GB, free: 120 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006579/0.5781, allocations: 1.865 MB / 0.7455 GB, free: 15.35 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001194/0.5793, allocations: 210.5 kB / 0.7457 GB, free: 15.3 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02285/0.6022, allocations: 9.091 MB / 0.7545 GB, free: 6.395 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001708/0.6039, allocations: 179.2 kB / 0.7547 GB, free: 6.219 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001171/0.604, allocations: 43.98 kB / 0.7547 GB, free: 6.176 MB / 0.5137 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.0005584/0.6046, allocations: 243 kB / 0.755 GB, free: 5.93 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002417/0.6048, allocations: 123.2 kB / 0.7551 GB, free: 5.809 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0139/0.6187, allocations: 3.975 MB / 0.759 GB, free: 1.816 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.787e-05/0.6187, allocations: 11.94 kB / 0.759 GB, free: 1.805 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.317e-06/0.6187, allocations: 3.938 kB / 0.759 GB, free: 1.801 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.544e-05/0.6188, allocations: 10.73 kB / 0.759 GB, free: 1.793 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01601/0.6348, allocations: 5.587 MB / 0.7645 GB, free: 12.07 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.277e-05/0.6348, allocations: 3.938 kB / 0.7645 GB, free: 12.06 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007819/0.6356, allocations: 123.9 kB / 0.7646 GB, free: 11.94 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006179/0.6417, allocations: 1.741 MB / 0.7663 GB, free: 10.2 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000214/0.642, allocations: 19.98 kB / 0.7663 GB, free: 10.18 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01994/0.6619, allocations: 8.085 MB / 0.7742 GB, free: 1.945 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.6619, allocations: 0 / 0.7742 GB, free: 1.945 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01605/0.678, allocations: 4.949 MB / 0.779 GB, free: 12.97 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004724/0.6784, allocations: 204.1 kB / 0.7792 GB, free: 12.75 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001744/0.6786, allocations: 16 kB / 0.7792 GB, free: 12.73 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00104/0.6796, allocations: 107.9 kB / 0.7793 GB, free: 12.63 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007154/0.6804, allocations: 220.6 kB / 0.7796 GB, free: 12.41 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.672e-05/0.6804, allocations: 24.81 kB / 0.7796 GB, free: 12.39 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0008241/0.6813, allocations: 0.6008 MB / 0.7802 GB, free: 11.78 MB / 0.545 GB Notification: Performance of sort global known variables: time 7.1e-08/0.6813, allocations: 0 / 0.7802 GB, free: 11.78 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001267/0.6825, allocations: 443.6 kB / 0.7806 GB, free: 11.35 MB / 0.545 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.01647/0.699, allocations: 5.518 MB / 0.786 GB, free: 5.801 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.007418/0.7064, allocations: 2.359 MB / 0.7883 GB, free: 3.43 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.568e-06/0.7064, allocations: 0 / 0.7883 GB, free: 3.43 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.005052/0.7115, allocations: 1.527 MB / 0.7898 GB, free: 1.883 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008584/0.7123, allocations: 95.17 kB / 0.7899 GB, free: 1.789 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04068/0.753, allocations: 15.14 MB / 0.8046 GB, free: 2.457 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008002/0.7538, allocations: 1.088 MB / 0.8057 GB, free: 1.344 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0005074/0.7543, allocations: 86.77 kB / 0.8058 GB, free: 1.254 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00065/0.755, allocations: 451.3 kB / 0.8062 GB, free: 0.8125 MB / 0.5606 GB Notification: Performance of SimCode: time 8.51e-07/0.755, allocations: 0 / 0.8062 GB, free: 0.8125 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07145/0.8264, allocations: 33.75 MB / 0.8392 GB, free: 15.23 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.97/17.79, allocations: 22.89 kB / 0.8392 GB, free: 15.21 MB / 0.6075 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.411354708950967] Failed to read output from testmodel.py, exit status != 0: 17.951530699967407 17.965475014 17.494796104 Calling exit ...