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.001331/0.001331, allocations: 103 kB / 16.45 MB, free: 6.449 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.483/1.483, allocations: 230.6 MB / 249.8 MB, free: 9.246 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.001633/0.001633, allocations: 221.3 kB / 306 MB, free: 4.312 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.5956/0.5956, allocations: 101.3 MB / 463.4 MB, free: 11.93 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="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: 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.002432/0.002432, allocations: 83.86 kB / 0.6193 GB, free: 15.5 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1411/0.1436, allocations: 78.57 MB / 0.6961 GB, free: 0.7812 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation): time 0.2785/0.422, allocations: 6.445 MB / 0.7024 GB, free: 5.172 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003783/0.4258, allocations: 1.97 MB / 0.7043 GB, free: 3.781 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009427/0.4268, allocations: 16.09 kB / 0.7043 GB, free: 3.777 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005255/0.4273, allocations: 225.5 kB / 0.7045 GB, free: 3.652 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001736/0.429, allocations: 0.7654 MB / 0.7053 GB, free: 3.145 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001297/0.4303, allocations: 0.631 MB / 0.7059 GB, free: 2.828 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001515/0.4318, allocations: 1.413 MB / 0.7073 GB, free: 2.121 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003713/0.4322, allocations: 234.4 kB / 0.7075 GB, free: 1.992 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007733/0.433, allocations: 0.6113 MB / 0.7081 GB, free: 1.695 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007126/0.4337, allocations: 0.7299 MB / 0.7088 GB, free: 1.332 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001422/0.4338, allocations: 102.5 kB / 0.7089 GB, free: 1.332 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000526/0.4344, allocations: 252.4 kB / 0.7091 GB, free: 1.281 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001984/0.4346, allocations: 270.2 kB / 0.7094 GB, free: 1.105 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004185/0.435, allocations: 0.6221 MB / 0.71 GB, free: 0.6836 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001746/0.4367, allocations: 1.533 MB / 0.7115 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.427e-06/0.4367, allocations: 2.656 kB / 0.7115 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.573e-06/0.4367, allocations: 0 / 0.7115 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.94e-05/0.4368, allocations: 4 kB / 0.7115 GB, free: 15.96 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: 194 * Number of variables: 194 Notification: Performance of Generate backend data structure: time 0.008889/0.4456, allocations: 2.608 MB / 0.714 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.191e-05/0.4457, allocations: 11.05 kB / 0.7141 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001898/0.4459, allocations: 132.2 kB / 0.7142 GB, free: 14.63 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00554/0.4514, allocations: 0.8184 MB / 0.715 GB, free: 14.47 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001483/0.4529, allocations: 0.7799 MB / 0.7157 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003115/0.4532, allocations: 262.8 kB / 0.716 GB, free: 13.69 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001643/0.4534, allocations: 78.91 kB / 0.7161 GB, free: 13.66 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002499/0.4559, allocations: 1.078 MB / 0.7171 GB, free: 13.28 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.884e-05/0.4559, allocations: 0 / 0.7171 GB, free: 13.28 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001071/0.456, allocations: 31.62 kB / 0.7171 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.298e-05/0.456, allocations: 25.75 kB / 0.7172 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00287/0.4589, allocations: 1.114 MB / 0.7183 GB, free: 12.9 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.007407/0.4663, allocations: 3.424 MB / 0.7216 GB, free: 10.95 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002592/0.4689, allocations: 1.328 MB / 0.7229 GB, free: 10.07 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002192/0.4711, allocations: 0.6947 MB / 0.7236 GB, free: 9.828 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000155/0.4712, allocations: 20.39 kB / 0.7236 GB, free: 9.824 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.07e-05/0.4713, allocations: 47.83 kB / 0.7236 GB, free: 9.773 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=96): time 3.326e-06/0.4713, allocations: 0.7812 kB / 0.7236 GB, free: 9.773 MB / 0.4981 GB Notification: Performance of matching and sorting (n=96): time 0.03139/0.5027, allocations: 6.716 MB / 0.7302 GB, free: 7.195 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.81e-05/0.5027, allocations: 61.84 kB / 0.7303 GB, free: 7.133 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001392/0.5041, allocations: 0.8981 MB / 0.7311 GB, free: 6.621 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0002944/0.5044, allocations: 41.3 kB / 0.7312 GB, free: 6.578 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004386/0.5048, allocations: 0.4959 MB / 0.7317 GB, free: 6.133 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004546/0.5053, allocations: 355.5 kB / 0.732 GB, free: 5.824 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004286/0.5057, allocations: 197.7 kB / 0.7322 GB, free: 5.699 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001717/0.5059, allocations: 355.5 kB / 0.7325 GB, free: 5.355 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001788/0.5077, allocations: 0.7063 MB / 0.7332 GB, free: 5.012 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00188/0.5096, allocations: 0.8448 MB / 0.734 GB, free: 4.527 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02127/0.5308, allocations: 4.896 MB / 0.7388 GB, free: 2.152 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.039e-05/0.5309, allocations: 1.281 kB / 0.7388 GB, free: 2.152 MB / 0.4981 GB Notification: Performance of matching and sorting (n=143) (initialization): time 0.01522/0.5461, allocations: 4.227 MB / 0.743 GB, free: 88 kB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.049e-05/0.5461, allocations: 7.375 kB / 0.743 GB, free: 88 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.366e-05/0.5461, allocations: 1.438 kB / 0.743 GB, free: 88 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006773/0.5529, allocations: 1.863 MB / 0.7448 GB, free: 15.32 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001174/0.5541, allocations: 209.7 kB / 0.745 GB, free: 15.27 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02461/0.5787, allocations: 9.094 MB / 0.7539 GB, free: 6.387 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001904/0.5806, allocations: 183.2 kB / 0.754 GB, free: 6.207 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001635/0.5807, allocations: 43.92 kB / 0.7541 GB, free: 6.164 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.0006949/0.5814, allocations: 238.5 kB / 0.7543 GB, free: 5.922 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003245/0.5818, allocations: 123.2 kB / 0.7544 GB, free: 5.801 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01508/0.5968, allocations: 3.981 MB / 0.7583 GB, free: 1.812 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.861e-05/0.5969, allocations: 8 kB / 0.7583 GB, free: 1.805 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.364e-06/0.5969, allocations: 7.875 kB / 0.7583 GB, free: 1.797 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.894e-05/0.5969, allocations: 3.984 kB / 0.7583 GB, free: 1.793 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01775/0.6147, allocations: 5.587 MB / 0.7638 GB, free: 12.07 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.586e-05/0.6147, allocations: 3.938 kB / 0.7638 GB, free: 12.06 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008782/0.6155, allocations: 127.8 kB / 0.7639 GB, free: 11.94 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006849/0.6224, allocations: 1.742 MB / 0.7656 GB, free: 10.19 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003008/0.6227, allocations: 19.98 kB / 0.7656 GB, free: 10.17 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02204/0.6447, allocations: 8.084 MB / 0.7735 GB, free: 1.941 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.955e-06/0.6447, allocations: 3.938 kB / 0.7735 GB, free: 1.938 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01806/0.6628, allocations: 4.937 MB / 0.7784 GB, free: 12.97 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006194/0.6634, allocations: 208.1 kB / 0.7785 GB, free: 12.75 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002822/0.6637, allocations: 16 kB / 0.7786 GB, free: 12.73 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001142/0.6648, allocations: 115.9 kB / 0.7787 GB, free: 12.62 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007957/0.6656, allocations: 220.6 kB / 0.7789 GB, free: 12.41 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.123e-05/0.6657, allocations: 23.98 kB / 0.7789 GB, free: 12.38 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0009098/0.6666, allocations: 0.5969 MB / 0.7795 GB, free: 11.78 MB / 0.545 GB Notification: Performance of sort global known variables: time 8.1e-08/0.6666, allocations: 0 / 0.7795 GB, free: 11.78 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001493/0.6681, allocations: 439.6 kB / 0.7799 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.01805/0.6862, allocations: 5.515 MB / 0.7853 GB, free: 5.797 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.008118/0.6943, allocations: 2.362 MB / 0.7876 GB, free: 3.422 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/0.6943, allocations: 0 / 0.7876 GB, free: 3.422 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.005411/0.6997, allocations: 1.525 MB / 0.7891 GB, free: 1.879 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009499/0.7007, allocations: 87.33 kB / 0.7892 GB, free: 1.797 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0432/0.7439, allocations: 15.15 MB / 0.804 GB, free: 2.461 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007808/0.7446, allocations: 1.088 MB / 0.805 GB, free: 1.348 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0004628/0.7451, allocations: 90.77 kB / 0.8051 GB, free: 1.254 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006722/0.7458, allocations: 451.3 kB / 0.8055 GB, free: 0.8125 MB / 0.5606 GB Notification: Performance of SimCode: time 1.383e-06/0.7458, allocations: 0 / 0.8055 GB, free: 0.8125 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0804/0.8262, allocations: 33.72 MB / 0.8385 GB, free: 15.24 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.78/18.61, allocations: 0.7031 kB / 0.8385 GB, free: 15.24 MB / 0.6075 GB " [Timeout remaining time 641] (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 & python3 -m fmpy simulate --output-file OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation_res.csv --start-time 0 --stop-time 20 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.008 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: 22.257060938049108] Failed to read output from testmodel.py, exit status != 0: 18.717025612015277 18.730869369 18.291207708 Calling exit ...