Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2.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.0008414/0.0008414, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 13.93 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 0.874/0.874, allocations: 177.1 MB / 199.4 MB, free: 5.934 MB / 186.7 MB " [Timeout remaining time 179] 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.0009978/0.0009978, allocations: 160.6 kB / 256 MB, free: 13.34 MB / 250.7 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.2567/0.2567, allocations: 80.37 MB / 392.7 MB, free: 2.367 MB / 314.7 MB " [Timeout remaining time 180] Using package OpenIPSL with version 3.2.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.Order4test2,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order4test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order4test2,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order4test2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.164e-06/2.164e-06, allocations: 0 / 0.555 GB, free: 12.6 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.046e-05/2.262e-05, allocations: 2.281 kB / 0.555 GB, free: 12.59 MB / 490.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order4test2): time 0.004167/0.004189, allocations: 5.155 MB / 0.56 GB, free: 7.41 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.002442/0.006631, allocations: 1.728 MB / 0.5617 GB, free: 5.68 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003469/0.006978, allocations: 11.94 kB / 0.5617 GB, free: 5.668 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003627/0.007341, allocations: 210.2 kB / 0.5619 GB, free: 5.461 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001082/0.008422, allocations: 0.7337 MB / 0.5626 GB, free: 4.723 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007947/0.009217, allocations: 0.566 MB / 0.5632 GB, free: 4.164 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009445/0.01016, allocations: 1.299 MB / 0.5644 GB, free: 2.859 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002544/0.01042, allocations: 179.5 kB / 0.5646 GB, free: 2.672 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006155/0.01103, allocations: 0.748 MB / 0.5653 GB, free: 1.922 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004228/0.01145, allocations: 0.5062 MB / 0.5658 GB, free: 1.414 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 7.597e-05/0.01153, allocations: 84 kB / 0.5659 GB, free: 1.332 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003161/0.01185, allocations: 227.8 kB / 0.5661 GB, free: 1.109 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001231/0.01197, allocations: 246.8 kB / 0.5664 GB, free: 0.8672 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002383/0.01221, allocations: 374.7 kB / 0.5667 GB, free: 0.5 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009201/0.01313, allocations: 1.409 MB / 0.5681 GB, free: 15.09 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.01313, allocations: 0 / 0.5681 GB, free: 15.09 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.082e-06/0.01313, allocations: 0 / 0.5681 GB, free: 15.09 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.115e-05/0.01314, allocations: 0 / 0.5681 GB, free: 15.09 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 168 * Number of variables: 168 Notification: Performance of Generate backend data structure: time 0.003934/0.01708, allocations: 2.307 MB / 0.5703 GB, free: 12.74 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.942e-05/0.01712, allocations: 12.03 kB / 0.5704 GB, free: 12.73 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001007/0.01722, allocations: 110.5 kB / 0.5705 GB, free: 12.61 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002264/0.01948, allocations: 0.7758 MB / 0.5712 GB, free: 11.84 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008084/0.02029, allocations: 0.6413 MB / 0.5718 GB, free: 11.16 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001945/0.02048, allocations: 299.6 kB / 0.5721 GB, free: 10.82 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.507e-05/0.02058, allocations: 72 kB / 0.5722 GB, free: 10.75 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001204/0.02178, allocations: 0.9521 MB / 0.5731 GB, free: 9.789 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.316e-05/0.0218, allocations: 4 kB / 0.5731 GB, free: 9.785 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.503e-05/0.02185, allocations: 32 kB / 0.5732 GB, free: 9.754 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.144e-05/0.02186, allocations: 19.94 kB / 0.5732 GB, free: 9.734 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001218/0.02308, allocations: 0.9681 MB / 0.5741 GB, free: 8.762 MB / 0.4948 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.003164/0.02624, allocations: 2.394 MB / 0.5765 GB, free: 6.328 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001041/0.02729, allocations: 0.7804 MB / 0.5772 GB, free: 5.539 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007706/0.02806, allocations: 0.6251 MB / 0.5778 GB, free: 4.914 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 6.977e-05/0.02813, allocations: 12.94 kB / 0.5778 GB, free: 4.902 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.442e-05/0.02815, allocations: 51.48 kB / 0.5779 GB, free: 4.84 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=83): time 2.374e-06/0.02815, allocations: 0 / 0.5779 GB, free: 4.84 MB / 0.4948 GB Notification: Performance of matching and sorting (n=83): time 0.01238/0.04053, allocations: 6.365 MB / 0.5841 GB, free: 14.46 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.886e-05/0.04057, allocations: 60.41 kB / 0.5842 GB, free: 14.39 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007241/0.0413, allocations: 0.7984 MB / 0.585 GB, free: 13.58 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 7.673e-05/0.04137, allocations: 41.7 kB / 0.585 GB, free: 13.53 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002173/0.04159, allocations: 433.1 kB / 0.5854 GB, free: 13.1 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002192/0.04181, allocations: 313.3 kB / 0.5857 GB, free: 12.79 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002196/0.04203, allocations: 182.9 kB / 0.5859 GB, free: 12.61 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 8.764e-05/0.04212, allocations: 357.9 kB / 0.5862 GB, free: 12.25 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008428/0.04296, allocations: 0.6546 MB / 0.5869 GB, free: 11.6 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009126/0.04387, allocations: 0.7951 MB / 0.5876 GB, free: 10.77 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008973/0.05285, allocations: 4.621 MB / 0.5921 GB, free: 6.113 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.29e-06/0.05285, allocations: 0 / 0.5921 GB, free: 6.113 MB / 0.5105 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.006854/0.05971, allocations: 4.044 MB / 0.5961 GB, free: 2.059 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.37e-05/0.05973, allocations: 11.98 kB / 0.5961 GB, free: 2.047 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.149e-05/0.05974, allocations: 3.984 kB / 0.5961 GB, free: 2.043 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003063/0.0628, allocations: 1.726 MB / 0.5978 GB, free: 320 kB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005272/0.06333, allocations: 191.7 kB / 0.598 GB, free: 128 kB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1932/0.2566, allocations: 8.746 MB / 0.6065 GB, free: 88.34 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008371/0.2574, allocations: 159.5 kB / 0.6067 GB, free: 88.33 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.103e-05/0.2574, allocations: 35.38 kB / 0.6067 GB, free: 88.32 MB / 0.5105 GB Warning: Assuming fixed start value for the following 1 variables: Generator.e1q:VARIABLE(start = Generator.e1q0 unit = \"1\" fixed = true ) \"q-axis transient voltage\" 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 (101): * Single equations (assignments): 100 * 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 {(24,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0003022/0.2577, allocations: 230.3 kB / 0.6069 GB, free: 88.14 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.143e-05/0.2578, allocations: 104.1 kB / 0.607 GB, free: 88.09 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006344/0.2642, allocations: 3.782 MB / 0.6107 GB, free: 87.35 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.959e-06/0.2642, allocations: 11.38 kB / 0.6107 GB, free: 87.35 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.524e-06/0.2642, allocations: 1.812 kB / 0.6107 GB, free: 87.35 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.073e-05/0.2642, allocations: 4.031 kB / 0.6107 GB, free: 87.35 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007865/0.2721, allocations: 4.722 MB / 0.6153 GB, free: 86.05 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.518e-06/0.2721, allocations: 0 / 0.6153 GB, free: 86.05 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002781/0.2724, allocations: 90.78 kB / 0.6154 GB, free: 86.04 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003332/0.2757, allocations: 1.735 MB / 0.6171 GB, free: 85.74 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.142e-05/0.2758, allocations: 19.08 kB / 0.6171 GB, free: 85.73 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01096/0.2867, allocations: 7.774 MB / 0.6247 GB, free: 81.99 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.2867, allocations: 1.953 kB / 0.6247 GB, free: 81.99 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008156/0.2949, allocations: 4.667 MB / 0.6293 GB, free: 80.7 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002815/0.2952, allocations: 116.4 kB / 0.6294 GB, free: 80.63 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.278e-05/0.2952, allocations: 17.78 kB / 0.6294 GB, free: 80.62 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004526/0.2957, allocations: 88.91 kB / 0.6295 GB, free: 80.61 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004853/0.2962, allocations: 208.2 kB / 0.6297 GB, free: 80.56 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.941e-05/0.2962, allocations: 30.16 kB / 0.6297 GB, free: 80.54 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0004614/0.2967, allocations: 0.5324 MB / 0.6303 GB, free: 80.31 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.6e-07/0.2967, allocations: 0 / 0.6303 GB, free: 80.31 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0009134/0.2976, allocations: 411.3 kB / 0.6307 GB, free: 80.26 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (Generator.delta,Generator.w,Generator.e1q,Generator.e1d) * 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 (50): * Single equations (assignments): 49 * 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.00756/0.3052, allocations: 5.247 MB / 0.6358 GB, free: 78.43 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.003372/0.3085, allocations: 2.191 MB / 0.6379 GB, free: 77.67 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.3085, allocations: 0 / 0.6379 GB, free: 77.67 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.002175/0.3107, allocations: 1.447 MB / 0.6393 GB, free: 77.01 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004878/0.3112, allocations: 82.02 kB / 0.6394 GB, free: 76.95 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01698/0.3282, allocations: 14.05 MB / 0.6531 GB, free: 64.52 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002274/0.3284, allocations: 442.6 kB / 0.6535 GB, free: 64.05 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0001882/0.3286, allocations: 83.33 kB / 0.6536 GB, free: 63.98 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002461/0.3288, allocations: 384 kB / 0.654 GB, free: 63.61 MB / 0.5105 GB Notification: Performance of SimCode: time 1.272e-06/0.3288, allocations: 0 / 0.654 GB, free: 63.61 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03493/0.3638, allocations: 33.26 MB / 0.6865 GB, free: 30.54 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.888/8.252, allocations: 7.875 kB / 0.6865 GB, free: 30.54 MB / 0.5105 GB " [Timeout remaining time 652] (rm -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2.sim & python3 -m fmpy simulate --output-file OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_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_Order4test2.fmu > OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.512111366726458] Failed to read output from testmodel.py, exit status != 0: 8.351358499377966 8.358454329 8.344011646 Calling exit ...