Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_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.00126/0.00126, allocations: 110.1 kB / 19.73 MB, free: 2.242 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.423/1.423, allocations: 230.6 MB / 253.4 MB, free: 14.49 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: 210.8 kB / 310 MB, free: 3.066 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.5892/0.5892, allocations: 101.3 MB / 467.8 MB, free: 30.52 MB / 350.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.Order3test2_perturbation,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order3test2_perturbation",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order3test2_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.002331/0.002331, allocations: 87.62 kB / 0.6252 GB, free: 33.23 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1338/0.1361, allocations: 78.6 MB / 0.7019 GB, free: 1.086 MB / 478.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation): time 0.007528/0.1436, allocations: 6.539 MB / 0.7083 GB, free: 10.5 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.004047/0.1477, allocations: 1.985 MB / 0.7103 GB, free: 8.516 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006371/0.1483, allocations: 15.94 kB / 0.7103 GB, free: 8.5 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005383/0.1488, allocations: 222 kB / 0.7105 GB, free: 8.281 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001814/0.1506, allocations: 0.7915 MB / 0.7113 GB, free: 7.488 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00135/0.152, allocations: 0.6238 MB / 0.7119 GB, free: 6.871 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001656/0.1537, allocations: 1.433 MB / 0.7133 GB, free: 5.434 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003942/0.154, allocations: 228.8 kB / 0.7135 GB, free: 5.199 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000773/0.1548, allocations: 0.6224 MB / 0.7141 GB, free: 4.574 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008344/0.1557, allocations: 0.7349 MB / 0.7148 GB, free: 3.836 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000145/0.1558, allocations: 104 kB / 0.7149 GB, free: 3.734 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004831/0.1563, allocations: 255.9 kB / 0.7152 GB, free: 3.484 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002464/0.1565, allocations: 286.7 kB / 0.7154 GB, free: 3.203 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005703/0.1571, allocations: 0.6213 MB / 0.716 GB, free: 2.578 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001919/0.159, allocations: 1.548 MB / 0.7176 GB, free: 1.023 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.159, allocations: 4 kB / 0.7176 GB, free: 1.02 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.159, allocations: 0 / 0.7176 GB, free: 1.02 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.875e-05/0.159, allocations: 0 / 0.7176 GB, free: 1.02 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: 195 * Number of variables: 195 Notification: Performance of Generate backend data structure: time 0.008423/0.1675, allocations: 2.546 MB / 0.72 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.744e-05/0.1675, allocations: 12.03 kB / 0.7201 GB, free: 14.42 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.469e-05/0.1675, allocations: 29.92 kB / 0.7201 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001629/0.1677, allocations: 130.8 kB / 0.7202 GB, free: 14.26 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005179/0.1729, allocations: 0.8225 MB / 0.721 GB, free: 13.43 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001489/0.1744, allocations: 0.7248 MB / 0.7217 GB, free: 12.66 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000339/0.1747, allocations: 315.6 kB / 0.722 GB, free: 12.3 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001572/0.1749, allocations: 76 kB / 0.7221 GB, free: 12.23 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002445/0.1773, allocations: 1.085 MB / 0.7231 GB, free: 11.14 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.103e-05/0.1773, allocations: 3.938 kB / 0.7232 GB, free: 11.14 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.622e-05/0.1774, allocations: 36 kB / 0.7232 GB, free: 11.1 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.949e-05/0.1775, allocations: 16 kB / 0.7232 GB, free: 11.09 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002614/0.1801, allocations: 1.124 MB / 0.7243 GB, free: 9.961 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.006339/0.1864, allocations: 3.403 MB / 0.7276 GB, free: 6.414 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002057/0.1885, allocations: 0.892 MB / 0.7285 GB, free: 5.52 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001623/0.1901, allocations: 0.7031 MB / 0.7292 GB, free: 4.809 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 9.823e-05/0.1902, allocations: 16.97 kB / 0.7292 GB, free: 4.789 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.911e-05/0.1902, allocations: 47.56 kB / 0.7292 GB, free: 4.734 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=97): time 2.885e-06/0.1902, allocations: 0 / 0.7292 GB, free: 4.734 MB / 0.4981 GB Notification: Performance of matching and sorting (n=97): time 0.02583/0.2161, allocations: 6.502 MB / 0.7356 GB, free: 14.21 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.218e-05/0.2161, allocations: 60.41 kB / 0.7356 GB, free: 14.14 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001297/0.2174, allocations: 0.9048 MB / 0.7365 GB, free: 13.22 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0002397/0.2177, allocations: 45.7 kB / 0.7366 GB, free: 13.17 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004273/0.2181, allocations: 0.5014 MB / 0.7371 GB, free: 12.66 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003966/0.2185, allocations: 372.8 kB / 0.7374 GB, free: 12.29 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004152/0.2189, allocations: 198.9 kB / 0.7376 GB, free: 12.09 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001561/0.2191, allocations: 349.9 kB / 0.7379 GB, free: 11.74 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001721/0.2208, allocations: 0.7247 MB / 0.7387 GB, free: 11.02 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001827/0.2226, allocations: 0.8462 MB / 0.7395 GB, free: 10.14 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0203/0.2429, allocations: 4.947 MB / 0.7443 GB, free: 5.16 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.136e-05/0.2429, allocations: 8 kB / 0.7443 GB, free: 5.152 MB / 0.5137 GB Notification: Performance of matching and sorting (n=147) (initialization): time 0.01526/0.2582, allocations: 4.246 MB / 0.7485 GB, free: 0.8906 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 3.194e-05/0.2582, allocations: 7.938 kB / 0.7485 GB, free: 0.8828 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.439e-05/0.2582, allocations: 4 kB / 0.7485 GB, free: 0.8789 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006571/0.2648, allocations: 1.799 MB / 0.7502 GB, free: 15.07 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00113/0.2659, allocations: 211.7 kB / 0.7504 GB, free: 14.87 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02348/0.2894, allocations: 9.224 MB / 0.7594 GB, free: 5.523 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001649/0.2911, allocations: 187.2 kB / 0.7596 GB, free: 5.34 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002452/0.2913, allocations: 35.98 kB / 0.7597 GB, free: 5.305 MB / 0.5294 GB Warning: Assuming fixed start value for the following 2 variables: order3_Inputs_Outputs1.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"Rotor speed [pu]\" type: Real order3_Inputs_Outputs1.delta:VARIABLE(flow=false start = order3_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 (111): * Single equations (assignments): 110 * 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.0006693/0.292, allocations: 248.3 kB / 0.7599 GB, free: 5.055 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003341/0.2923, allocations: 131.2 kB / 0.76 GB, free: 4.926 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01394/0.3063, allocations: 3.979 MB / 0.7639 GB, free: 0.9258 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.751e-05/0.3063, allocations: 8 kB / 0.7639 GB, free: 0.918 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.3063, allocations: 0 / 0.7639 GB, free: 0.918 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.195e-05/0.3063, allocations: 7.984 kB / 0.7639 GB, free: 0.9102 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01632/0.3226, allocations: 5.551 MB / 0.7693 GB, free: 11.23 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.768e-05/0.3226, allocations: 0 / 0.7693 GB, free: 11.23 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008519/0.3235, allocations: 139.8 kB / 0.7695 GB, free: 11.09 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006287/0.3298, allocations: 1.745 MB / 0.7712 GB, free: 9.344 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002419/0.33, allocations: 19.94 kB / 0.7712 GB, free: 9.324 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02006/0.3501, allocations: 7.981 MB / 0.779 GB, free: 1.219 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.3501, allocations: 0 / 0.779 GB, free: 1.219 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01618/0.3663, allocations: 4.937 MB / 0.7838 GB, free: 12.26 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003595/0.3666, allocations: 127 kB / 0.7839 GB, free: 12.14 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002787/0.3669, allocations: 27.88 kB / 0.784 GB, free: 12.11 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001145/0.368, allocations: 115.9 kB / 0.7841 GB, free: 12 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000772/0.3688, allocations: 220.7 kB / 0.7843 GB, free: 11.78 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001147/0.3689, allocations: 27.98 kB / 0.7843 GB, free: 11.75 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0009331/0.3699, allocations: 0.6089 MB / 0.7849 GB, free: 11.13 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.3699, allocations: 0 / 0.7849 GB, free: 11.13 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0015/0.3714, allocations: 451.6 kB / 0.7853 GB, free: 10.69 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (order3_Inputs_Outputs1.delta,order3_Inputs_Outputs1.w,order3_Inputs_Outputs1.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 (64): * Single equations (assignments): 63 * 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.01608/0.3874, allocations: 5.503 MB / 0.7907 GB, free: 5.152 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.007344/0.3948, allocations: 2.392 MB / 0.793 GB, free: 2.75 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.137e-06/0.3948, allocations: 4 kB / 0.793 GB, free: 2.746 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.005019/0.3998, allocations: 1.526 MB / 0.7945 GB, free: 1.207 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009849/0.4008, allocations: 84.36 kB / 0.7946 GB, free: 1.121 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04145/0.4423, allocations: 15.35 MB / 0.8096 GB, free: 1.574 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009464/0.4432, allocations: 1.103 MB / 0.8107 GB, free: 456 kB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0004799/0.4437, allocations: 82.89 kB / 0.8108 GB, free: 368 kB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.2857/0.7294, allocations: 452.5 kB / 0.8112 GB, free: 102.7 MB / 0.5762 GB Notification: Performance of SimCode: time 1.724e-06/0.7294, allocations: 0 / 0.8112 GB, free: 102.7 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08324/0.8126, allocations: 35.15 MB / 0.8455 GB, free: 85.23 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.69/18.5, allocations: 11.06 kB / 0.8455 GB, free: 85.22 MB / 0.5762 GB " [Timeout remaining time 641] (rm -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order3test2_perturbation_fmu --startTime=0 --stopTime=20 --stepSize=0.008 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order3test2_perturbation.fmu > OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 22.29009068699088] Failed to read output from testmodel.py, exit status != 0: 18.684466828941368 18.701759846 18.539477501 Calling exit ...