Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_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.0008009/0.0008009, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.927/0.927, allocations: 177.1 MB / 199.4 MB, free: 5.918 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.001962/0.001962, allocations: 155.2 kB / 256 MB, free: 13.32 MB / 250.7 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.2862/0.2862, allocations: 80.25 MB / 392.6 MB, free: 2.445 MB / 314.7 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.Order4test2,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order4test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order4test2,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order4test2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.034e-06/2.034e-06, allocations: 0 / 0.5548 GB, free: 12.35 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.056e-05/2.259e-05, allocations: 2.281 kB / 0.5548 GB, free: 12.34 MB / 442.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order4test2): time 0.004615/0.004638, allocations: 5.14 MB / 0.5598 GB, free: 7.172 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.003141/0.007779, allocations: 1.732 MB / 0.5615 GB, free: 5.438 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007202/0.0085, allocations: 11.94 kB / 0.5615 GB, free: 5.426 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005655/0.009065, allocations: 206.2 kB / 0.5617 GB, free: 5.223 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001736/0.0108, allocations: 0.7376 MB / 0.5624 GB, free: 4.48 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001281/0.01208, allocations: 0.5701 MB / 0.563 GB, free: 3.918 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.001806/0.01389, allocations: 1.299 MB / 0.5643 GB, free: 2.613 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004053/0.01429, allocations: 183.5 kB / 0.5644 GB, free: 2.426 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0011/0.01539, allocations: 0.7402 MB / 0.5652 GB, free: 1.684 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006003/0.01599, allocations: 0.5023 MB / 0.5656 GB, free: 1.18 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001517/0.01615, allocations: 88 kB / 0.5657 GB, free: 1.094 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004306/0.01658, allocations: 247.6 kB / 0.566 GB, free: 0.8516 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001415/0.01672, allocations: 242.9 kB / 0.5662 GB, free: 0.6133 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003069/0.01702, allocations: 370.7 kB / 0.5665 GB, free: 256 kB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.2113/0.2283, allocations: 1.394 MB / 0.5679 GB, free: 16.19 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/0.2283, allocations: 0 / 0.5679 GB, free: 16.19 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.913e-06/0.2283, allocations: 0 / 0.5679 GB, free: 16.19 MB / 442.7 MB Notification: Performance of Transformations before backend: time 5.388e-05/0.2284, allocations: 0 / 0.5679 GB, free: 16.19 MB / 442.7 MB 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.005818/0.2342, allocations: 2.307 MB / 0.5702 GB, free: 15.45 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.308e-05/0.2342, allocations: 12.47 kB / 0.5702 GB, free: 15.45 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001613/0.2344, allocations: 117.8 kB / 0.5703 GB, free: 15.41 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003149/0.2375, allocations: 0.764 MB / 0.571 GB, free: 15.33 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001483/0.239, allocations: 0.6477 MB / 0.5717 GB, free: 15.06 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002408/0.2393, allocations: 306.4 kB / 0.572 GB, free: 14.8 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002331/0.2395, allocations: 69.28 kB / 0.572 GB, free: 14.8 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001825/0.2413, allocations: 0.9545 MB / 0.573 GB, free: 14.74 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.839e-05/0.2413, allocations: 4.344 kB / 0.573 GB, free: 14.74 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.935e-05/0.2414, allocations: 28.09 kB / 0.573 GB, free: 14.74 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.553e-05/0.2414, allocations: 19.69 kB / 0.573 GB, free: 14.74 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001733/0.2431, allocations: 0.9657 MB / 0.5739 GB, free: 14.73 MB / 442.7 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.004894/0.248, allocations: 2.408 MB / 0.5763 GB, free: 14.07 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001367/0.2494, allocations: 0.7672 MB / 0.577 GB, free: 13.79 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001074/0.2505, allocations: 0.635 MB / 0.5777 GB, free: 13.56 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.135e-05/0.2506, allocations: 11.52 kB / 0.5777 GB, free: 13.56 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.996e-05/0.2506, allocations: 43.12 kB / 0.5777 GB, free: 13.51 MB / 442.7 MB Notification: Performance of pre-optimization done (n=83): time 3.045e-06/0.2506, allocations: 1.438 kB / 0.5777 GB, free: 13.51 MB / 442.7 MB Notification: Performance of matching and sorting (n=83): time 0.01535/0.2659, allocations: 6.371 MB / 0.5839 GB, free: 12.45 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.694e-05/0.266, allocations: 60.03 kB / 0.584 GB, free: 12.39 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009251/0.2669, allocations: 0.7979 MB / 0.5848 GB, free: 12.05 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002478/0.2671, allocations: 36.42 kB / 0.5848 GB, free: 12.01 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001943/0.2673, allocations: 434.7 kB / 0.5852 GB, free: 11.66 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003276/0.2677, allocations: 316 kB / 0.5855 GB, free: 11.42 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000273/0.2679, allocations: 182.8 kB / 0.5857 GB, free: 11.33 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 4.778e-05/0.268, allocations: 348.5 kB / 0.586 GB, free: 11.01 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001022/0.269, allocations: 0.6551 MB / 0.5867 GB, free: 10.77 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001085/0.2701, allocations: 0.7895 MB / 0.5874 GB, free: 10.39 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01099/0.2811, allocations: 4.628 MB / 0.592 GB, free: 8.156 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.917e-06/0.2811, allocations: 0 / 0.592 GB, free: 8.156 MB / 442.7 MB Notification: Performance of matching and sorting (n=135) (initialization): time 0.008099/0.2892, allocations: 4.043 MB / 0.5959 GB, free: 6.223 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.269e-05/0.2892, allocations: 8.781 kB / 0.5959 GB, free: 6.223 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.421e-05/0.2892, allocations: 3.031 kB / 0.5959 GB, free: 6.223 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003345/0.2926, allocations: 1.735 MB / 0.5976 GB, free: 5.48 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006261/0.2932, allocations: 184.5 kB / 0.5978 GB, free: 5.449 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01223/0.3054, allocations: 8.768 MB / 0.6064 GB, free: 13.63 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001303/0.3067, allocations: 159.2 kB / 0.6065 GB, free: 13.47 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.867e-05/0.3068, allocations: 39.98 kB / 0.6066 GB, free: 13.43 MB / 458.7 MB 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.0004626/0.3073, allocations: 227 kB / 0.6068 GB, free: 13.21 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002237/0.3075, allocations: 103.3 kB / 0.6069 GB, free: 13.11 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006895/0.3144, allocations: 3.787 MB / 0.6106 GB, free: 9.34 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.288e-05/0.3144, allocations: 8 kB / 0.6106 GB, free: 9.332 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.765e-06/0.3144, allocations: 0 / 0.6106 GB, free: 9.332 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.127e-05/0.3145, allocations: 7.984 kB / 0.6106 GB, free: 9.324 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008825/0.3233, allocations: 4.709 MB / 0.6152 GB, free: 4.609 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.686e-06/0.3233, allocations: 0 / 0.6152 GB, free: 4.609 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003711/0.3237, allocations: 99.34 kB / 0.6153 GB, free: 4.516 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00348/0.3271, allocations: 1.737 MB / 0.617 GB, free: 2.773 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001819/0.3273, allocations: 23.09 kB / 0.617 GB, free: 2.758 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01148/0.3388, allocations: 7.758 MB / 0.6246 GB, free: 10.89 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/0.3388, allocations: 0 / 0.6246 GB, free: 10.89 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008699/0.3475, allocations: 4.672 MB / 0.6291 GB, free: 6.234 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004017/0.3479, allocations: 123.1 kB / 0.6292 GB, free: 6.113 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001941/0.3481, allocations: 11.98 kB / 0.6293 GB, free: 6.102 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00055/0.3487, allocations: 87.91 kB / 0.6293 GB, free: 6.016 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004922/0.3492, allocations: 216.6 kB / 0.6295 GB, free: 5.805 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.386e-05/0.3492, allocations: 16 kB / 0.6296 GB, free: 5.789 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0005804/0.3498, allocations: 0.5303 MB / 0.6301 GB, free: 5.266 MB / 474.7 MB Notification: Performance of sort global known variables: time 2.91e-07/0.3498, allocations: 0 / 0.6301 GB, free: 5.266 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001431/0.3512, allocations: 415.7 kB / 0.6305 GB, free: 4.859 MB / 474.7 MB 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.008708/0.3599, allocations: 5.244 MB / 0.6356 GB, free: 15.62 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.004239/0.3642, allocations: 2.194 MB / 0.6377 GB, free: 13.43 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.497e-06/0.3642, allocations: 0 / 0.6377 GB, free: 13.43 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002847/0.367, allocations: 1.438 MB / 0.6391 GB, free: 11.99 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007555/0.3678, allocations: 75.34 kB / 0.6392 GB, free: 11.91 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02503/0.3928, allocations: 14.07 MB / 0.653 GB, free: 13.77 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003481/0.3931, allocations: 446.5 kB / 0.6534 GB, free: 13.3 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0003294/0.3935, allocations: 82.31 kB / 0.6535 GB, free: 13.22 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003709/0.3938, allocations: 376.4 kB / 0.6538 GB, free: 12.85 MB / 0.4948 GB Notification: Performance of SimCode: time 1.373e-06/0.3938, allocations: 0 / 0.6538 GB, free: 12.85 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05629/0.4501, allocations: 33.27 MB / 0.6863 GB, free: 11.76 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.275/9.725, allocations: 4.062 kB / 0.6863 GB, free: 11.76 MB / 0.5261 GB " [Timeout remaining time 650] (rm -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2.sim & python3 -m fmpy simulate --output-file OpenIPSL_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_OpenIPSL_Tests_Machines_PSAT_Order4test2.fmu > OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.139274160377681] Failed to read output from testmodel.py, exit status != 0: 9.831097017042339 9.84355205 9.612471375 Calling exit ...