Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_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.001707/0.001707, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.509/1.509, allocations: 230.6 MB / 252.7 MB, free: 14.25 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.002255/0.002255, allocations: 211.8 kB / 309.2 MB, free: 3.102 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/package.mo): time 0.6382/0.6382, allocations: 107.2 MB / 472.8 MB, free: 29.84 MB / 350.1 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/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_OpenIPSL_Tests_Machines_PSAT_Order3test2_perturbation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order3test2_perturbation",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.002552/0.002552, allocations: 88.55 kB / 0.6331 GB, free: 29.7 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.142/0.1446, allocations: 80.14 MB / 0.7113 GB, free: 7.684 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation): time 0.008583/0.1532, allocations: 5.723 MB / 0.7169 GB, free: 1.926 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.006055/0.1592, allocations: 1.88 MB / 0.7187 GB, free: 44 kB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009281/0.1601, allocations: 11.94 kB / 0.7188 GB, free: 32 kB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006511/0.1608, allocations: 226 kB / 0.719 GB, free: 15.81 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.002113/0.1629, allocations: 0.7679 MB / 0.7197 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001798/0.1647, allocations: 0.6118 MB / 0.7203 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001942/0.1666, allocations: 1.44 MB / 0.7217 GB, free: 12.98 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004385/0.1671, allocations: 212.8 kB / 0.7219 GB, free: 12.77 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009758/0.1681, allocations: 0.6185 MB / 0.7225 GB, free: 12.14 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008405/0.1689, allocations: 0.6685 MB / 0.7232 GB, free: 11.47 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001677/0.1691, allocations: 104 kB / 0.7233 GB, free: 11.37 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005196/0.1696, allocations: 239.9 kB / 0.7235 GB, free: 11.14 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.000267/0.1699, allocations: 294.7 kB / 0.7238 GB, free: 10.85 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004864/0.1703, allocations: 0.5088 MB / 0.7243 GB, free: 10.34 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.00196/0.1723, allocations: 1.56 MB / 0.7258 GB, free: 8.77 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.1723, allocations: 0 / 0.7258 GB, free: 8.77 MB / 0.4981 GB Notification: Performance of FrontEnd: time 3.807e-06/0.1723, allocations: 4 kB / 0.7258 GB, free: 8.766 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.778e-05/0.1723, allocations: 0 / 0.7258 GB, free: 8.766 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: 195 * Number of variables: 195 Notification: Performance of Generate backend data structure: time 0.008411/0.1807, allocations: 2.557 MB / 0.7283 GB, free: 6.168 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 0.000116/0.1809, allocations: 12.03 kB / 0.7283 GB, free: 6.156 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001743/0.181, allocations: 126.8 kB / 0.7284 GB, free: 6.023 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005298/0.1863, allocations: 0.8147 MB / 0.7292 GB, free: 5.207 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001518/0.1878, allocations: 0.7325 MB / 0.73 GB, free: 4.43 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004075/0.1883, allocations: 311.6 kB / 0.7303 GB, free: 4.078 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001677/0.1884, allocations: 76 kB / 0.7303 GB, free: 4.004 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00252/0.1909, allocations: 1.096 MB / 0.7314 GB, free: 2.898 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.02e-05/0.191, allocations: 0 / 0.7314 GB, free: 2.898 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001038/0.1911, allocations: 28 kB / 0.7314 GB, free: 2.871 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.135e-05/0.1911, allocations: 20 kB / 0.7314 GB, free: 2.852 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002841/0.1939, allocations: 1.12 MB / 0.7325 GB, free: 1.73 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.006133/0.2001, allocations: 2.608 MB / 0.7351 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002143/0.2022, allocations: 0.8812 MB / 0.7359 GB, free: 14.19 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001702/0.2039, allocations: 0.707 MB / 0.7366 GB, free: 13.48 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 9.916e-05/0.204, allocations: 9 kB / 0.7366 GB, free: 13.47 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.825e-05/0.2041, allocations: 43.56 kB / 0.7367 GB, free: 13.42 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=97): time 3.616e-06/0.2041, allocations: 4 kB / 0.7367 GB, free: 13.41 MB / 0.5137 GB Notification: Performance of matching and sorting (n=97): time 0.02711/0.2312, allocations: 6.498 MB / 0.743 GB, free: 6.902 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.8e-05/0.2312, allocations: 64.41 kB / 0.7431 GB, free: 6.828 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001481/0.2327, allocations: 0.9126 MB / 0.744 GB, free: 5.898 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0002257/0.2329, allocations: 37.7 kB / 0.744 GB, free: 5.855 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.00046/0.2334, allocations: 0.4975 MB / 0.7445 GB, free: 5.352 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004551/0.2339, allocations: 364.9 kB / 0.7449 GB, free: 4.992 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000428/0.2343, allocations: 202.9 kB / 0.7451 GB, free: 4.785 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.000193/0.2345, allocations: 349.9 kB / 0.7454 GB, free: 4.438 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001838/0.2363, allocations: 0.7248 MB / 0.7461 GB, free: 3.715 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001933/0.2383, allocations: 0.8501 MB / 0.7469 GB, free: 2.832 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02074/0.259, allocations: 4.943 MB / 0.7518 GB, free: 13.85 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.255e-06/0.259, allocations: 0 / 0.7518 GB, free: 13.85 MB / 0.5294 GB Notification: Performance of matching and sorting (n=147) (initialization): time 0.01501/0.274, allocations: 4.25 MB / 0.7559 GB, free: 9.586 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 4.081e-05/0.2741, allocations: 11.94 kB / 0.7559 GB, free: 9.574 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.576e-05/0.2741, allocations: 0 / 0.7559 GB, free: 9.574 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006929/0.281, allocations: 1.804 MB / 0.7577 GB, free: 7.766 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001123/0.2821, allocations: 211.7 kB / 0.7579 GB, free: 7.559 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02421/0.3063, allocations: 9.031 MB / 0.7667 GB, free: 14.41 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001635/0.308, allocations: 175.2 kB / 0.7669 GB, free: 14.23 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001243/0.3081, allocations: 39.98 kB / 0.7669 GB, free: 14.2 MB / 0.545 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.0005258/0.3086, allocations: 249 kB / 0.7671 GB, free: 13.95 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002516/0.3089, allocations: 127.2 kB / 0.7673 GB, free: 13.82 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01417/0.323, allocations: 3.987 MB / 0.7712 GB, free: 9.816 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.868e-05/0.3231, allocations: 8 kB / 0.7712 GB, free: 9.809 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.3231, allocations: 0 / 0.7712 GB, free: 9.809 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.921e-05/0.3231, allocations: 3.984 kB / 0.7712 GB, free: 9.805 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01669/0.3398, allocations: 4.977 MB / 0.776 GB, free: 4.773 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.154e-05/0.3398, allocations: 0 / 0.776 GB, free: 4.773 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008381/0.3406, allocations: 139.8 kB / 0.7762 GB, free: 4.637 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006464/0.3471, allocations: 1.741 MB / 0.7779 GB, free: 2.891 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000159/0.3473, allocations: 23.94 kB / 0.7779 GB, free: 2.867 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02032/0.3676, allocations: 7.771 MB / 0.7855 GB, free: 10.98 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/0.3676, allocations: 0 / 0.7855 GB, free: 10.98 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01691/0.3845, allocations: 4.949 MB / 0.7903 GB, free: 6.004 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005141/0.385, allocations: 135 kB / 0.7904 GB, free: 5.871 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002285/0.3852, allocations: 20 kB / 0.7905 GB, free: 5.852 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001085/0.3863, allocations: 115.8 kB / 0.7906 GB, free: 5.738 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007206/0.387, allocations: 224.6 kB / 0.7908 GB, free: 5.52 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.617e-05/0.3871, allocations: 24 kB / 0.7908 GB, free: 5.496 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0008586/0.388, allocations: 0.609 MB / 0.7914 GB, free: 4.879 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.388, allocations: 0 / 0.7914 GB, free: 4.879 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001297/0.3893, allocations: 439.7 kB / 0.7918 GB, free: 4.449 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.01672/0.406, allocations: 5.519 MB / 0.7972 GB, free: 14.89 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.007341/0.4133, allocations: 2.38 MB / 0.7995 GB, free: 12.5 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/0.4133, allocations: 0 / 0.7995 GB, free: 12.5 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.00514/0.4185, allocations: 1.538 MB / 0.801 GB, free: 10.95 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008484/0.4193, allocations: 88.36 kB / 0.8011 GB, free: 10.86 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3115/0.7309, allocations: 15.34 MB / 0.8161 GB, free: 94.14 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006684/0.7315, allocations: 0.5054 MB / 0.8166 GB, free: 94.02 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0004753/0.732, allocations: 87.19 kB / 0.8167 GB, free: 94.01 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006146/0.7326, allocations: 455.8 kB / 0.8171 GB, free: 94 MB / 0.5762 GB Notification: Performance of SimCode: time 8.72e-07/0.7326, allocations: 3.969 kB / 0.8171 GB, free: 94 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06991/0.8025, allocations: 35.98 MB / 0.8522 GB, free: 72.73 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.92/14.73, allocations: 6.328 kB / 0.8523 GB, free: 72.73 MB / 0.5762 GB " [Timeout remaining time 645] (rm -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order3test2_perturbation_fmu --startTime=0 --stopTime=20 --stepSize=0.008 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order3test2_perturbation.fmu > OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 30.109909566119313] Failed to read output from testmodel.py, exit status != 0: 14.86238022474572 14.874098391 14.699326271 Calling exit ...