Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2.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.00125/0.00125, allocations: 114.7 kB / 17.16 MB, free: 5.895 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.402/1.402, allocations: 230.6 MB / 250.5 MB, free: 9.395 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.001616/0.001616, allocations: 205.4 kB / 306.7 MB, free: 4.34 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.5631/0.5631, allocations: 101.3 MB / 464 MB, free: 12.02 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.Order3test2,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order3test2",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order3test2,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order3test2",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.002326/0.002326, allocations: 80.25 kB / 0.62 GB, free: 15.54 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1539/0.1562, allocations: 78.58 MB / 0.6967 GB, free: 0.8281 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order3test2): time 0.3445/0.5007, allocations: 5.802 MB / 0.7024 GB, free: 5.711 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003619/0.5043, allocations: 1.788 MB / 0.7041 GB, free: 4.453 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006352/0.5049, allocations: 13.19 kB / 0.7041 GB, free: 4.449 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005058/0.5054, allocations: 208.5 kB / 0.7043 GB, free: 4.34 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001497/0.5069, allocations: 0.7421 MB / 0.705 GB, free: 3.855 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001097/0.508, allocations: 0.5664 MB / 0.7056 GB, free: 3.566 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.00121/0.5092, allocations: 1.248 MB / 0.7068 GB, free: 2.941 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003137/0.5096, allocations: 192 kB / 0.707 GB, free: 2.832 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005958/0.5102, allocations: 0.5489 MB / 0.7075 GB, free: 2.562 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005896/0.5107, allocations: 0.6462 MB / 0.7082 GB, free: 2.25 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001145/0.5109, allocations: 86.97 kB / 0.7082 GB, free: 2.25 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004132/0.5113, allocations: 241 kB / 0.7085 GB, free: 2.199 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001686/0.5114, allocations: 241.5 kB / 0.7087 GB, free: 2.039 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003506/0.5118, allocations: 0.5447 MB / 0.7092 GB, free: 1.676 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001528/0.5133, allocations: 1.379 MB / 0.7106 GB, free: 1.035 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.5133, allocations: 0 / 0.7106 GB, free: 1.035 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.5133, allocations: 0 / 0.7106 GB, free: 1.035 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.722e-05/0.5133, allocations: 0 / 0.7106 GB, free: 1.035 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: 167 * Number of variables: 167 Notification: Performance of Generate backend data structure: time 0.007559/0.5209, allocations: 2.409 MB / 0.7129 GB, free: 15.9 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.606e-05/0.5209, allocations: 11.75 kB / 0.713 GB, free: 15.9 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.165e-05/0.521, allocations: 15.88 kB / 0.713 GB, free: 15.9 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001626/0.5211, allocations: 111.3 kB / 0.7131 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005012/0.5262, allocations: 0.7629 MB / 0.7138 GB, free: 15.67 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001364/0.5275, allocations: 0.7206 MB / 0.7145 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003122/0.5278, allocations: 244.9 kB / 0.7148 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001495/0.528, allocations: 78.48 kB / 0.7148 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002069/0.53, allocations: 0.963 MB / 0.7158 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.863e-05/0.5301, allocations: 2.203 kB / 0.7158 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.129e-05/0.5302, allocations: 25.5 kB / 0.7158 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.528e-05/0.5302, allocations: 15.06 kB / 0.7158 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002192/0.5324, allocations: 0.9751 MB / 0.7168 GB, free: 14.22 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.006637/0.539, allocations: 3.169 MB / 0.7199 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002475/0.5415, allocations: 1.219 MB / 0.721 GB, free: 11.52 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001706/0.5432, allocations: 0.6281 MB / 0.7217 GB, free: 11.29 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001171/0.5433, allocations: 19.86 kB / 0.7217 GB, free: 11.29 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.477e-05/0.5433, allocations: 38.34 kB / 0.7217 GB, free: 11.24 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=82): time 3.106e-06/0.5433, allocations: 0 / 0.7217 GB, free: 11.24 MB / 0.4981 GB Notification: Performance of matching and sorting (n=82): time 0.02934/0.5727, allocations: 6.731 MB / 0.7283 GB, free: 9.043 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.055e-05/0.5728, allocations: 64.69 kB / 0.7284 GB, free: 8.977 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001553/0.5743, allocations: 0.8058 MB / 0.7291 GB, free: 8.5 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0003301/0.5746, allocations: 36.45 kB / 0.7292 GB, free: 8.461 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003944/0.575, allocations: 442.6 kB / 0.7296 GB, free: 8.07 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003955/0.5754, allocations: 306.5 kB / 0.7299 GB, free: 7.805 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004328/0.5759, allocations: 184.2 kB / 0.7301 GB, free: 7.691 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001683/0.576, allocations: 342.6 kB / 0.7304 GB, free: 7.359 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001592/0.5776, allocations: 0.655 MB / 0.731 GB, free: 7.031 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001647/0.5793, allocations: 0.7713 MB / 0.7318 GB, free: 6.582 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01944/0.5987, allocations: 4.604 MB / 0.7363 GB, free: 4.348 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.716e-06/0.5987, allocations: 1.312 kB / 0.7363 GB, free: 4.348 MB / 0.4981 GB Notification: Performance of matching and sorting (n=131) (initialization): time 0.01415/0.6129, allocations: 4.091 MB / 0.7403 GB, free: 2.34 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.127e-05/0.6129, allocations: 10.25 kB / 0.7403 GB, free: 2.336 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.608e-05/0.6129, allocations: 2.75 kB / 0.7403 GB, free: 2.336 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006733/0.6197, allocations: 1.792 MB / 0.742 GB, free: 1.559 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009276/0.6206, allocations: 168 kB / 0.7422 GB, free: 1.52 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02327/0.6439, allocations: 9.339 MB / 0.7513 GB, free: 9.723 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001481/0.6453, allocations: 155.3 kB / 0.7515 GB, free: 9.57 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000102/0.6454, allocations: 35.98 kB / 0.7515 GB, free: 9.535 MB / 0.5137 GB Warning: Assuming fixed start value for the following 2 variables: order31.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"Rotor speed [pu]\" type: Real order31.delta:VARIABLE(flow=false start = order31.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 (95): * Single equations (assignments): 94 * 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.0004928/0.6459, allocations: 217.7 kB / 0.7517 GB, free: 9.312 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002023/0.6461, allocations: 111.3 kB / 0.7518 GB, free: 9.203 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0135/0.6596, allocations: 3.801 MB / 0.7555 GB, free: 5.383 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.579e-05/0.6596, allocations: 8 kB / 0.7555 GB, free: 5.375 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.6597, allocations: 0 / 0.7555 GB, free: 5.375 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.859e-05/0.6597, allocations: 3.984 kB / 0.7555 GB, free: 5.371 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01555/0.6752, allocations: 5.329 MB / 0.7607 GB, free: 15.9 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.297e-05/0.6752, allocations: 0 / 0.7607 GB, free: 15.9 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006057/0.6758, allocations: 91.89 kB / 0.7608 GB, free: 15.81 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006404/0.6822, allocations: 1.745 MB / 0.7625 GB, free: 14.06 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001873/0.6824, allocations: 15.98 kB / 0.7626 GB, free: 14.05 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02019/0.7026, allocations: 8.078 MB / 0.7704 GB, free: 5.82 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.7026, allocations: 0 / 0.7704 GB, free: 5.82 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01597/0.7186, allocations: 4.686 MB / 0.775 GB, free: 1.113 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004871/0.7191, allocations: 196.2 kB / 0.7752 GB, free: 0.9023 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003974/0.7195, allocations: 12 kB / 0.7752 GB, free: 0.8906 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001226/0.7207, allocations: 91.89 kB / 0.7753 GB, free: 0.8008 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007735/0.7215, allocations: 200.7 kB / 0.7755 GB, free: 0.6016 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001364/0.7216, allocations: 16 kB / 0.7755 GB, free: 0.5859 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0009173/0.7225, allocations: 0.5461 MB / 0.776 GB, free: 28 kB / 0.5294 GB Notification: Performance of sort global known variables: time 9.1e-08/0.7225, allocations: 0 / 0.776 GB, free: 28 kB / 0.5294 GB Notification: Performance of remove unused functions: time 0.00174/0.7243, allocations: 411.8 kB / 0.7764 GB, free: 15.62 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (order31.delta,order31.w,order31.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 (49): * Single equations (assignments): 48 * 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.0162/0.7405, allocations: 5.254 MB / 0.7816 GB, free: 10.34 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.007603/0.7481, allocations: 2.228 MB / 0.7837 GB, free: 8.094 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 5.38e-06/0.7481, allocations: 4.062 kB / 0.7837 GB, free: 8.09 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.005222/0.7533, allocations: 1.438 MB / 0.7851 GB, free: 6.645 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001194/0.7545, allocations: 79.28 kB / 0.7852 GB, free: 6.562 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04207/0.7966, allocations: 14.14 MB / 0.799 GB, free: 8.246 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009006/0.7975, allocations: 1.033 MB / 0.8 GB, free: 7.191 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0004498/0.7979, allocations: 74.2 kB / 0.8001 GB, free: 7.117 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006939/0.7986, allocations: 367.3 kB / 0.8005 GB, free: 6.758 MB / 0.5606 GB Notification: Performance of SimCode: time 1.062e-06/0.7986, allocations: 4 kB / 0.8005 GB, free: 6.754 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07192/0.8705, allocations: 31.42 MB / 0.8311 GB, free: 7.438 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.68/16.55, allocations: 18.08 kB / 0.8312 GB, free: 7.422 MB / 0.5919 GB " [Timeout remaining time 643] (rm -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order3test2_fmu --startTime=0 --stopTime=20 --stepSize=0.008 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order3test2.fmu > OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 20.185807640023995] Failed to read output from testmodel.py, exit status != 0: 16.702610240958165 16.71785996 16.201282889 Calling exit ...