Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_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.001735/0.001735, 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.485/1.485, allocations: 230.6 MB / 252.7 MB, free: 14.28 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.001578/0.001578, allocations: 211.8 kB / 309.2 MB, free: 3.152 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.6309/0.6309, allocations: 107.2 MB / 472.8 MB, free: 30 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.Order2test2_perturbation,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order2test2_perturbation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation,fileNamePrefix="OpenIPSL_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.00259/0.00259, allocations: 88.53 kB / 0.6331 GB, free: 29.68 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.15/0.1526, allocations: 80.14 MB / 0.7113 GB, free: 7.727 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation): time 0.007671/0.1602, allocations: 5.68 MB / 0.7169 GB, free: 2.012 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.004068/0.1643, allocations: 1.872 MB / 0.7187 GB, free: 140 kB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006074/0.1649, allocations: 15.94 kB / 0.7187 GB, free: 124 kB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000575/0.1655, allocations: 226.2 kB / 0.7189 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001833/0.1673, allocations: 0.7597 MB / 0.7197 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001424/0.1687, allocations: 0.6047 MB / 0.7202 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001568/0.1703, allocations: 1.421 MB / 0.7216 GB, free: 13.11 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003964/0.1707, allocations: 216.7 kB / 0.7218 GB, free: 12.89 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007659/0.1715, allocations: 0.6029 MB / 0.7224 GB, free: 12.28 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008255/0.1723, allocations: 0.6763 MB / 0.7231 GB, free: 11.6 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001575/0.1724, allocations: 100 kB / 0.7232 GB, free: 11.5 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004833/0.1729, allocations: 239.9 kB / 0.7234 GB, free: 11.27 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002457/0.1732, allocations: 278.8 kB / 0.7237 GB, free: 11 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004654/0.1736, allocations: 0.501 MB / 0.7242 GB, free: 10.49 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001687/0.1753, allocations: 1.548 MB / 0.7257 GB, free: 8.938 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.1753, allocations: 4 kB / 0.7257 GB, free: 8.934 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.223e-06/0.1753, allocations: 0 / 0.7257 GB, free: 8.934 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.948e-05/0.1753, allocations: 0 / 0.7257 GB, free: 8.934 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.008338/0.1837, allocations: 2.53 MB / 0.7282 GB, free: 6.363 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.426e-05/0.1837, allocations: 8.031 kB / 0.7282 GB, free: 6.355 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001678/0.1839, allocations: 130.8 kB / 0.7283 GB, free: 6.219 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005309/0.1892, allocations: 0.8225 MB / 0.7291 GB, free: 5.395 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001459/0.1907, allocations: 0.7206 MB / 0.7298 GB, free: 4.629 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003463/0.191, allocations: 311.6 kB / 0.7301 GB, free: 4.277 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000165/0.1912, allocations: 72 kB / 0.7302 GB, free: 4.207 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002534/0.1937, allocations: 1.081 MB / 0.7312 GB, free: 3.117 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.042e-05/0.1937, allocations: 0 / 0.7312 GB, free: 3.117 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.842e-05/0.1938, allocations: 32 kB / 0.7312 GB, free: 3.086 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.148e-05/0.1939, allocations: 23.94 kB / 0.7313 GB, free: 3.062 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00272/0.1966, allocations: 1.116 MB / 0.7324 GB, free: 1.945 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.006026/0.2026, allocations: 2.592 MB / 0.7349 GB, free: 15.31 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002143/0.2047, allocations: 0.8695 MB / 0.7357 GB, free: 14.43 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001685/0.2064, allocations: 0.6953 MB / 0.7364 GB, free: 13.73 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001079/0.2065, allocations: 17 kB / 0.7364 GB, free: 13.71 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.803e-05/0.2066, allocations: 43.56 kB / 0.7365 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=96): time 3.387e-06/0.2066, allocations: 0 / 0.7365 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of matching and sorting (n=96): time 0.02791/0.2345, allocations: 6.638 MB / 0.743 GB, free: 7.012 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.355e-05/0.2346, allocations: 68.39 kB / 0.743 GB, free: 6.934 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001433/0.236, allocations: 0.8962 MB / 0.7439 GB, free: 6.02 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.00021/0.2362, allocations: 45.7 kB / 0.7439 GB, free: 5.969 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.000452/0.2367, allocations: 0.4936 MB / 0.7444 GB, free: 5.469 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.000408/0.2371, allocations: 356.9 kB / 0.7448 GB, free: 5.117 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004126/0.2375, allocations: 194.9 kB / 0.745 GB, free: 4.918 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001813/0.2377, allocations: 349.9 kB / 0.7453 GB, free: 4.57 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001808/0.2395, allocations: 0.717 MB / 0.746 GB, free: 3.855 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001892/0.2414, allocations: 0.8345 MB / 0.7468 GB, free: 2.988 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02036/0.2617, allocations: 4.9 MB / 0.7516 GB, free: 14.05 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.897e-06/0.2617, allocations: 0 / 0.7516 GB, free: 14.05 MB / 0.5294 GB Notification: Performance of matching and sorting (n=143) (initialization): time 0.01484/0.2766, allocations: 4.231 MB / 0.7557 GB, free: 9.805 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.87e-05/0.2766, allocations: 10.19 kB / 0.7557 GB, free: 9.797 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.244e-05/0.2766, allocations: 3.938 kB / 0.7557 GB, free: 9.793 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006728/0.2833, allocations: 1.859 MB / 0.7575 GB, free: 7.93 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001125/0.2845, allocations: 215.6 kB / 0.7578 GB, free: 7.719 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02328/0.3077, allocations: 8.785 MB / 0.7663 GB, free: 14.81 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001532/0.3093, allocations: 183.2 kB / 0.7665 GB, free: 14.63 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001067/0.3094, allocations: 35.98 kB / 0.7665 GB, free: 14.6 MB / 0.545 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.000501/0.3099, allocations: 243.3 kB / 0.7668 GB, free: 14.35 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002228/0.3101, allocations: 127.2 kB / 0.7669 GB, free: 14.23 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01421/0.3243, allocations: 3.979 MB / 0.7708 GB, free: 10.23 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-05/0.3243, allocations: 8 kB / 0.7708 GB, free: 10.22 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.3243, allocations: 7.938 kB / 0.7708 GB, free: 10.21 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.799e-05/0.3243, allocations: 3.984 kB / 0.7708 GB, free: 10.21 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01594/0.3403, allocations: 4.965 MB / 0.7756 GB, free: 5.191 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-05/0.3403, allocations: 0 / 0.7756 GB, free: 5.191 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008165/0.3411, allocations: 131.8 kB / 0.7758 GB, free: 5.062 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006292/0.3474, allocations: 1.741 MB / 0.7775 GB, free: 3.316 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000178/0.3476, allocations: 20 kB / 0.7775 GB, free: 3.297 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01984/0.3674, allocations: 7.786 MB / 0.7851 GB, free: 11.39 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.3674, allocations: 0 / 0.7851 GB, free: 11.39 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01627/0.3837, allocations: 4.941 MB / 0.7899 GB, free: 6.426 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003655/0.3841, allocations: 135 kB / 0.7901 GB, free: 6.293 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001512/0.3842, allocations: 16 kB / 0.7901 GB, free: 6.277 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001047/0.3853, allocations: 107.9 kB / 0.7902 GB, free: 6.172 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007111/0.386, allocations: 232.5 kB / 0.7904 GB, free: 5.945 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.77e-05/0.386, allocations: 27.98 kB / 0.7904 GB, free: 5.918 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0008466/0.3869, allocations: 0.593 MB / 0.791 GB, free: 5.316 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3869, allocations: 4 kB / 0.791 GB, free: 5.312 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001163/0.3881, allocations: 439.6 kB / 0.7914 GB, free: 4.883 MB / 0.5606 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.01653/0.4046, allocations: 5.524 MB / 0.7968 GB, free: 15.32 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.007191/0.4118, allocations: 2.362 MB / 0.7991 GB, free: 12.94 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.4118, allocations: 0 / 0.7991 GB, free: 12.94 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0051/0.4169, allocations: 1.528 MB / 0.8006 GB, free: 11.41 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008327/0.4177, allocations: 86.3 kB / 0.8007 GB, free: 11.32 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3408/0.7585, allocations: 15.12 MB / 0.8155 GB, free: 94.11 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006177/0.7592, allocations: 0.4973 MB / 0.8159 GB, free: 94 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0004736/0.7596, allocations: 83.31 kB / 0.816 GB, free: 93.98 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005672/0.7602, allocations: 453.2 kB / 0.8165 GB, free: 93.98 MB / 0.5762 GB Notification: Performance of SimCode: time 1.133e-06/0.7602, allocations: 2.688 kB / 0.8165 GB, free: 93.98 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06851/0.8287, allocations: 35.52 MB / 0.8512 GB, free: 73.75 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.95/14.78, allocations: 7.875 kB / 0.8512 GB, free: 73.74 MB / 0.5762 GB " [Timeout remaining time 645] (rm -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order2test2_perturbation_fmu --startTime=0 --stopTime=20 --stepSize=0.008 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order2test2_perturbation.fmu > OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 18.585322047118098] Failed to read output from testmodel.py, exit status != 0: 14.918739192187786 14.93464479 14.756151352 Calling exit ...