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.001752/0.001752, allocations: 110.4 kB / 18.94 MB, free: 2.957 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.528/1.528, allocations: 230.6 MB / 252.6 MB, free: 8.332 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.00167/0.00167, allocations: 212.6 kB / 309.2 MB, free: 3.176 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.6189/0.6189, allocations: 101.3 MB / 467 MB, free: 10.34 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_perturbation,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order3test2_perturbation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation,fileNamePrefix="OpenIPSL_dev_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.002637/0.002637, allocations: 95.84 kB / 0.6244 GB, free: 12.92 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4272/0.4299, allocations: 78.6 MB / 0.7012 GB, free: 8.992 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation): time 0.006682/0.4365, allocations: 6.554 MB / 0.7076 GB, free: 4.5 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.004117/0.4407, allocations: 1.982 MB / 0.7095 GB, free: 3.09 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00069/0.4413, allocations: 15.53 kB / 0.7096 GB, free: 3.086 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005819/0.4419, allocations: 226.2 kB / 0.7098 GB, free: 2.961 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001926/0.4439, allocations: 0.7809 MB / 0.7105 GB, free: 2.438 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001309/0.4452, allocations: 0.6375 MB / 0.7112 GB, free: 2.098 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001713/0.4469, allocations: 1.433 MB / 0.7126 GB, free: 1.383 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004136/0.4473, allocations: 229.5 kB / 0.7128 GB, free: 1.258 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009321/0.4482, allocations: 0.6129 MB / 0.7134 GB, free: 0.957 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008767/0.4491, allocations: 0.7456 MB / 0.7141 GB, free: 0.5859 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001668/0.4493, allocations: 101.6 kB / 0.7142 GB, free: 0.5859 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005589/0.4498, allocations: 256.7 kB / 0.7144 GB, free: 0.5352 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002048/0.45, allocations: 282.4 kB / 0.7147 GB, free: 356 kB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004828/0.4505, allocations: 0.6188 MB / 0.7153 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002019/0.4525, allocations: 1.556 MB / 0.7168 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/0.4525, allocations: 4.453 kB / 0.7168 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.084e-06/0.4525, allocations: 0 / 0.7168 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.512e-05/0.4526, allocations: 0 / 0.7168 GB, free: 15.2 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.008926/0.4615, allocations: 2.557 MB / 0.7193 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.379e-05/0.4615, allocations: 8.656 kB / 0.7193 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002104/0.4618, allocations: 125.7 kB / 0.7195 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005572/0.4673, allocations: 0.8285 MB / 0.7203 GB, free: 13.79 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001813/0.4691, allocations: 0.7346 MB / 0.721 GB, free: 13.27 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003604/0.4695, allocations: 304.6 kB / 0.7213 GB, free: 12.99 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002191/0.4697, allocations: 85.56 kB / 0.7214 GB, free: 12.96 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002599/0.4723, allocations: 1.077 MB / 0.7224 GB, free: 12.57 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.919e-05/0.4723, allocations: 1 kB / 0.7224 GB, free: 12.57 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000101/0.4724, allocations: 30.19 kB / 0.7224 GB, free: 12.55 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.963e-05/0.4725, allocations: 20.17 kB / 0.7225 GB, free: 12.55 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002833/0.4753, allocations: 1.118 MB / 0.7236 GB, free: 12.2 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.008006/0.4833, allocations: 3.401 MB / 0.7269 GB, free: 10.27 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00242/0.4857, allocations: 0.8809 MB / 0.7277 GB, free: 9.949 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001701/0.4874, allocations: 0.7027 MB / 0.7284 GB, free: 9.703 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001331/0.4876, allocations: 20.48 kB / 0.7284 GB, free: 9.691 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.879e-05/0.4876, allocations: 43.95 kB / 0.7285 GB, free: 9.645 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=97): time 2.725e-06/0.4876, allocations: 0 / 0.7285 GB, free: 9.645 MB / 0.4981 GB Notification: Performance of matching and sorting (n=97): time 0.02667/0.5143, allocations: 6.5 MB / 0.7348 GB, free: 6.805 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.987e-05/0.5143, allocations: 61.66 kB / 0.7349 GB, free: 6.738 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001542/0.5159, allocations: 0.9161 MB / 0.7358 GB, free: 6.215 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.000302/0.5162, allocations: 42.2 kB / 0.7358 GB, free: 6.172 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004545/0.5166, allocations: 0.5012 MB / 0.7363 GB, free: 5.723 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005123/0.5172, allocations: 359.6 kB / 0.7367 GB, free: 5.41 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004869/0.5176, allocations: 208.2 kB / 0.7369 GB, free: 5.277 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0002314/0.5179, allocations: 351.7 kB / 0.7372 GB, free: 4.938 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001794/0.5197, allocations: 0.7231 MB / 0.7379 GB, free: 4.582 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001973/0.5216, allocations: 0.8495 MB / 0.7387 GB, free: 4.102 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02055/0.5422, allocations: 4.937 MB / 0.7435 GB, free: 1.707 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.576e-06/0.5422, allocations: 1.5 kB / 0.7435 GB, free: 1.707 MB / 0.4981 GB Notification: Performance of matching and sorting (n=147) (initialization): time 0.01522/0.5574, allocations: 4.246 MB / 0.7477 GB, free: 15.63 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 3.384e-05/0.5575, allocations: 9.281 kB / 0.7477 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.477e-05/0.5575, allocations: 6.688 kB / 0.7477 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006742/0.5642, allocations: 1.812 MB / 0.7495 GB, free: 14.77 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001239/0.5654, allocations: 207.8 kB / 0.7497 GB, free: 14.57 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02431/0.5898, allocations: 9.227 MB / 0.7587 GB, free: 5.227 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001746/0.5915, allocations: 175.2 kB / 0.7589 GB, free: 5.055 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001625/0.5917, allocations: 43.98 kB / 0.7589 GB, free: 5.012 MB / 0.5137 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.0006044/0.5923, allocations: 254.3 kB / 0.7591 GB, free: 4.754 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002911/0.5926, allocations: 131.2 kB / 0.7593 GB, free: 4.625 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01415/0.6067, allocations: 3.979 MB / 0.7632 GB, free: 0.6289 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.513e-05/0.6067, allocations: 16 kB / 0.7632 GB, free: 0.6133 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.6067, allocations: 4 kB / 0.7632 GB, free: 0.6094 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.989e-05/0.6068, allocations: 3.984 kB / 0.7632 GB, free: 0.6055 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01696/0.6237, allocations: 5.551 MB / 0.7686 GB, free: 10.93 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.225e-05/0.6237, allocations: 0 / 0.7686 GB, free: 10.93 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008337/0.6246, allocations: 131.8 kB / 0.7687 GB, free: 10.8 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006376/0.631, allocations: 1.745 MB / 0.7704 GB, free: 9.047 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002205/0.6312, allocations: 19.94 kB / 0.7704 GB, free: 9.027 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02019/0.6514, allocations: 7.977 MB / 0.7782 GB, free: 0.9258 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.6514, allocations: 0 / 0.7782 GB, free: 0.9258 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0164/0.6678, allocations: 4.941 MB / 0.7831 GB, free: 11.96 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004415/0.6682, allocations: 135 kB / 0.7832 GB, free: 11.83 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003359/0.6686, allocations: 19.94 kB / 0.7832 GB, free: 11.81 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001137/0.6697, allocations: 107.9 kB / 0.7833 GB, free: 11.71 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007433/0.6704, allocations: 224.6 kB / 0.7835 GB, free: 11.48 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.583e-05/0.6705, allocations: 31.98 kB / 0.7836 GB, free: 11.45 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0009103/0.6714, allocations: 0.609 MB / 0.7841 GB, free: 10.84 MB / 0.545 GB Notification: Performance of sort global known variables: time 1e-07/0.6714, allocations: 0 / 0.7841 GB, free: 10.84 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001363/0.6728, allocations: 443.6 kB / 0.7846 GB, free: 10.4 MB / 0.545 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.01669/0.6895, allocations: 5.519 MB / 0.79 GB, free: 4.848 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.007433/0.6969, allocations: 2.389 MB / 0.7923 GB, free: 2.445 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/0.6969, allocations: 0 / 0.7923 GB, free: 2.445 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.005093/0.702, allocations: 1.527 MB / 0.7938 GB, free: 0.9023 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009036/0.7029, allocations: 88.42 kB / 0.7939 GB, free: 0.8164 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04347/0.7464, allocations: 15.36 MB / 0.8089 GB, free: 1.27 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001036/0.7474, allocations: 1.103 MB / 0.8099 GB, free: 144 kB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0005274/0.7479, allocations: 82.89 kB / 0.81 GB, free: 56 kB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008687/0.7488, allocations: 451.4 kB / 0.8105 GB, free: 15.61 MB / 0.5762 GB Notification: Performance of SimCode: time 1.543e-06/0.7488, allocations: 0 / 0.8105 GB, free: 15.61 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09168/0.8405, allocations: 35.13 MB / 0.8448 GB, free: 12.63 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.88/19.72, allocations: 2.188 kB / 0.8448 GB, free: 12.63 MB / 0.6075 GB " [Timeout remaining time 640] (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 os._exit(0), Time elapsed: 34.46120642707683] Failed to read output from testmodel.py, exit status != 0: 19.86185840005055 19.890650858 19.432763705 Calling exit ...