Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2.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.00134/0.00134, allocations: 116.1 kB / 17.17 MB, free: 6 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.434/1.434, allocations: 230.6 MB / 250.5 MB, free: 9.219 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.001606/0.001606, allocations: 212 kB / 306.7 MB, free: 4.301 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4381/0.4381, allocations: 79.71 MB / 442.5 MB, free: 136 kB / 302.1 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order2test2",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order2test2,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order2test2",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.002614/0.002614, allocations: 79.89 kB / 0.5885 GB, free: 1.559 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1336/0.1362, allocations: 73.26 MB / 0.66 GB, free: 8.203 MB / 462.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order2test2): time 0.007246/0.1435, allocations: 5.724 MB / 0.6656 GB, free: 2.438 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.003867/0.1474, allocations: 1.77 MB / 0.6674 GB, free: 0.6641 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009118/0.1483, allocations: 8 kB / 0.6674 GB, free: 0.6562 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007166/0.149, allocations: 210.2 kB / 0.6676 GB, free: 460 kB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002267/0.1512, allocations: 0.7398 MB / 0.6683 GB, free: 15.71 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001484/0.1527, allocations: 0.5519 MB / 0.6688 GB, free: 15.16 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.001864/0.1546, allocations: 1.237 MB / 0.67 GB, free: 13.92 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004158/0.155, allocations: 183.1 kB / 0.6702 GB, free: 13.73 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008901/0.1559, allocations: 0.529 MB / 0.6707 GB, free: 13.2 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00097/0.1569, allocations: 0.6455 MB / 0.6714 GB, free: 12.55 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002403/0.1571, allocations: 88 kB / 0.6714 GB, free: 12.46 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006089/0.1577, allocations: 235.8 kB / 0.6717 GB, free: 12.23 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002939/0.158, allocations: 239 kB / 0.6719 GB, free: 12 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006534/0.1587, allocations: 0.5359 MB / 0.6724 GB, free: 11.46 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001731/0.1604, allocations: 1.369 MB / 0.6738 GB, free: 10.08 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.1604, allocations: 4 kB / 0.6738 GB, free: 10.08 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.1604, allocations: 0 / 0.6738 GB, free: 10.08 MB / 478.1 MB Notification: Performance of Transformations before backend: time 2.48e-05/0.1604, allocations: 3.938 kB / 0.6738 GB, free: 10.07 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 166 * Number of variables: 166 Notification: Performance of Generate backend data structure: time 0.007848/0.1683, allocations: 2.375 MB / 0.6761 GB, free: 7.645 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.723e-05/0.1683, allocations: 8.031 kB / 0.6761 GB, free: 7.637 MB / 478.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.168e-05/0.1684, allocations: 21.31 kB / 0.6761 GB, free: 7.613 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001436/0.1685, allocations: 110.5 kB / 0.6762 GB, free: 7.496 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005048/0.1735, allocations: 0.7641 MB / 0.677 GB, free: 6.73 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001265/0.1748, allocations: 0.7096 MB / 0.6777 GB, free: 5.977 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003325/0.1751, allocations: 251.4 kB / 0.6779 GB, free: 5.695 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001746/0.1753, allocations: 68 kB / 0.678 GB, free: 5.629 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002193/0.1775, allocations: 0.9472 MB / 0.6789 GB, free: 4.672 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.705e-05/0.1775, allocations: 0 / 0.6789 GB, free: 4.672 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000106/0.1776, allocations: 24 kB / 0.6789 GB, free: 4.648 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.753e-05/0.1777, allocations: 16 kB / 0.6789 GB, free: 4.633 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002305/0.18, allocations: 0.9693 MB / 0.6799 GB, free: 3.664 MB / 478.1 MB 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.005789/0.1857, allocations: 3.151 MB / 0.683 GB, free: 372 kB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002279/0.188, allocations: 1.23 MB / 0.6842 GB, free: 15.02 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001499/0.1895, allocations: 0.624 MB / 0.6848 GB, free: 14.39 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000109/0.1896, allocations: 20.62 kB / 0.6848 GB, free: 14.36 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.572e-05/0.1897, allocations: 43.22 kB / 0.6848 GB, free: 14.31 MB / 494.1 MB Notification: Performance of pre-optimization done (n=81): time 2.885e-06/0.1897, allocations: 0 / 0.6848 GB, free: 14.31 MB / 494.1 MB Notification: Performance of matching and sorting (n=81): time 0.02855/0.2182, allocations: 6.666 MB / 0.6913 GB, free: 7.613 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.177e-05/0.2183, allocations: 64 kB / 0.6914 GB, free: 7.535 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001183/0.2195, allocations: 0.7828 MB / 0.6922 GB, free: 6.742 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000215/0.2197, allocations: 37.7 kB / 0.6922 GB, free: 6.699 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003872/0.2201, allocations: 444.9 kB / 0.6926 GB, free: 6.258 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004002/0.2205, allocations: 305.4 kB / 0.6929 GB, free: 5.957 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003967/0.2209, allocations: 178.6 kB / 0.6931 GB, free: 5.777 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001652/0.221, allocations: 341.9 kB / 0.6934 GB, free: 5.438 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001645/0.2227, allocations: 0.6425 MB / 0.694 GB, free: 4.797 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00177/0.2244, allocations: 0.7627 MB / 0.6948 GB, free: 3.996 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2729/0.4973, allocations: 4.555 MB / 0.6992 GB, free: 35.32 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.827e-06/0.4973, allocations: 1.562 kB / 0.6992 GB, free: 35.32 MB / 494.1 MB Notification: Performance of matching and sorting (n=127) (initialization): time 0.01416/0.5115, allocations: 4 MB / 0.7031 GB, free: 35.24 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.011e-05/0.5115, allocations: 5.094 kB / 0.7031 GB, free: 35.24 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.677e-05/0.5115, allocations: 9.234 kB / 0.7031 GB, free: 35.24 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006947/0.5185, allocations: 1.869 MB / 0.705 GB, free: 35.21 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008984/0.5194, allocations: 164.1 kB / 0.7051 GB, free: 35.21 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02263/0.542, allocations: 9.103 MB / 0.714 GB, free: 31.71 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001435/0.5434, allocations: 147.2 kB / 0.7142 GB, free: 31.68 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001144/0.5435, allocations: 35.55 kB / 0.7142 GB, free: 31.67 MB / 494.1 MB Warning: Assuming fixed start value for the following 2 variables: order21.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"Rotor speed [pu]\" type: Real order21.delta:VARIABLE(flow=false start = order21.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 (92): * Single equations (assignments): 91 * 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.0004404/0.544, allocations: 230.4 kB / 0.7144 GB, free: 31.48 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001875/0.5442, allocations: 108.6 kB / 0.7145 GB, free: 31.42 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0131/0.5573, allocations: 3.789 MB / 0.7182 GB, free: 30.58 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.617e-05/0.5573, allocations: 6.969 kB / 0.7182 GB, free: 30.58 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.5573, allocations: 1.094 kB / 0.7182 GB, free: 30.58 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.513e-05/0.5573, allocations: 8.453 kB / 0.7182 GB, free: 30.57 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01416/0.5715, allocations: 5.291 MB / 0.7234 GB, free: 28.22 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.266e-05/0.5715, allocations: 1.594 kB / 0.7234 GB, free: 28.22 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005296/0.572, allocations: 89.92 kB / 0.7235 GB, free: 28.2 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00602/0.578, allocations: 1.738 MB / 0.7252 GB, free: 27.46 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001431/0.5782, allocations: 15.89 kB / 0.7252 GB, free: 27.45 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01723/0.5954, allocations: 8.094 MB / 0.7331 GB, free: 22.31 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.5954, allocations: 3.938 kB / 0.7331 GB, free: 22.31 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01337/0.6088, allocations: 4.655 MB / 0.7377 GB, free: 18.84 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003021/0.6091, allocations: 191.2 kB / 0.7378 GB, free: 18.64 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000134/0.6092, allocations: 19.98 kB / 0.7379 GB, free: 18.62 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008761/0.6101, allocations: 91.84 kB / 0.7379 GB, free: 18.54 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005965/0.6107, allocations: 204.7 kB / 0.7381 GB, free: 18.33 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.109e-05/0.6107, allocations: 20 kB / 0.7382 GB, free: 18.31 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0005329/0.6113, allocations: 0.5264 MB / 0.7387 GB, free: 17.78 MB / 494.1 MB Notification: Performance of sort global known variables: time 7e-08/0.6113, allocations: 0 / 0.7387 GB, free: 17.78 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001157/0.6124, allocations: 405.4 kB / 0.7391 GB, free: 17.4 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (order21.delta,order21.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 (48): * Single equations (assignments): 47 * 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.01355/0.626, allocations: 5.237 MB / 0.7442 GB, free: 12.13 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.006091/0.6321, allocations: 2.199 MB / 0.7463 GB, free: 9.93 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.6321, allocations: 0 / 0.7463 GB, free: 9.93 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00419/0.6363, allocations: 1.445 MB / 0.7477 GB, free: 8.48 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006974/0.637, allocations: 75.31 kB / 0.7478 GB, free: 8.406 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03517/0.6721, allocations: 13.92 MB / 0.7614 GB, free: 10.34 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007457/0.6729, allocations: 1.025 MB / 0.7624 GB, free: 9.285 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0003808/0.6733, allocations: 82.17 kB / 0.7625 GB, free: 9.203 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000571/0.6738, allocations: 379.3 kB / 0.7628 GB, free: 8.832 MB / 0.4981 GB Notification: Performance of SimCode: time 2.064e-06/0.6738, allocations: 0 / 0.7628 GB, free: 8.832 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06727/0.7411, allocations: 30.96 MB / 0.7931 GB, free: 9.996 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.9/16.65, allocations: 13.16 kB / 0.7931 GB, free: 9.992 MB / 0.5294 GB " [Timeout remaining time 643] (rm -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order2test2_fmu --startTime=0 --stopTime=20 --stepSize=0.008 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order2test2.fmu > OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 20.153041174984537] Failed to read output from testmodel.py, exit status != 0: 16.81326300499495 16.839844045 16.674844875 Calling exit ...