Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Machines.PSSE.GENSAL.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.001049/0.001049, 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.9052/0.9052, allocations: 177.2 MB / 199.4 MB, free: 5.938 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.001113/0.001113, allocations: 164.6 kB / 256 MB, free: 13.34 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.2687/0.2687, allocations: 80.25 MB / 392.6 MB, free: 2.445 MB / 314.7 MB " [Timeout remaining time 180] 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.PSSE.GENSAL,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Machines_PSSE_GENSAL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSSE.GENSAL,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Machines_PSSE_GENSAL",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.894e-06/1.894e-06, allocations: 0 / 0.5548 GB, free: 12.34 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.445e-05/1.634e-05, allocations: 2.281 kB / 0.5548 GB, free: 12.34 MB / 442.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSSE.GENSAL): time 0.004892/0.004908, allocations: 6.166 MB / 0.5608 GB, free: 6.137 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.003318/0.008226, allocations: 2.146 MB / 0.5629 GB, free: 3.984 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004514/0.008678, allocations: 8 kB / 0.5629 GB, free: 3.977 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004412/0.009119, allocations: 277.6 kB / 0.5632 GB, free: 3.703 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001398/0.01052, allocations: 0.9815 MB / 0.5641 GB, free: 2.719 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008177/0.01133, allocations: 0.6543 MB / 0.5648 GB, free: 2.07 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.001232/0.01257, allocations: 1.787 MB / 0.5665 GB, free: 280 kB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002816/0.01285, allocations: 216.5 kB / 0.5667 GB, free: 44 kB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1988/0.2116, allocations: 0.9883 MB / 0.5677 GB, free: 15.45 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009086/0.2125, allocations: 0.7514 MB / 0.5684 GB, free: 15.45 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002227/0.2127, allocations: 137.3 kB / 0.5686 GB, free: 15.45 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005718/0.2133, allocations: 315.5 kB / 0.5689 GB, free: 15.45 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002156/0.2135, allocations: 363.4 kB / 0.5692 GB, free: 15.45 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000401/0.2139, allocations: 0.5096 MB / 0.5697 GB, free: 15.43 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001739/0.2157, allocations: 1.912 MB / 0.5716 GB, free: 15.24 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.616e-06/0.2157, allocations: 2.062 kB / 0.5716 GB, free: 15.24 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.2157, allocations: 0 / 0.5716 GB, free: 15.24 MB / 442.7 MB Notification: Performance of Transformations before backend: time 2.647e-05/0.2157, allocations: 0 / 0.5716 GB, free: 15.24 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: 199 * Number of variables: 199 Notification: Performance of Generate backend data structure: time 0.006241/0.2219, allocations: 3.201 MB / 0.5747 GB, free: 14.34 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.998e-05/0.222, allocations: 10.06 kB / 0.5747 GB, free: 14.34 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001259/0.2221, allocations: 130.3 kB / 0.5748 GB, free: 14.3 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002219/0.2243, allocations: 0.7218 MB / 0.5755 GB, free: 14.2 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009575/0.2253, allocations: 0.8365 MB / 0.5764 GB, free: 13.88 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002064/0.2255, allocations: 462.1 kB / 0.5768 GB, free: 13.46 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001378/0.2256, allocations: 91.05 kB / 0.5769 GB, free: 13.43 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001661/0.2273, allocations: 1.225 MB / 0.5781 GB, free: 12.98 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.597e-05/0.2273, allocations: 2.062 kB / 0.5781 GB, free: 12.98 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.843e-05/0.2274, allocations: 31.06 kB / 0.5781 GB, free: 12.95 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.532e-05/0.2274, allocations: 19.16 kB / 0.5781 GB, free: 12.95 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001719/0.2291, allocations: 1.165 MB / 0.5793 GB, free: 12.57 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.004172/0.2333, allocations: 3.07 MB / 0.5823 GB, free: 11.05 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004111/0.2374, allocations: 2.105 MB / 0.5843 GB, free: 10.62 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001078/0.2385, allocations: 0.7493 MB / 0.5851 GB, free: 10.35 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001033/0.2386, allocations: 14.89 kB / 0.5851 GB, free: 10.34 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.025e-05/0.2386, allocations: 52.72 kB / 0.5851 GB, free: 10.29 MB / 442.7 MB Notification: Performance of pre-optimization done (n=108): time 2.565e-06/0.2386, allocations: 4 kB / 0.5851 GB, free: 10.29 MB / 442.7 MB Notification: Performance of matching and sorting (n=108): time 0.02098/0.2596, allocations: 9.722 MB / 0.5946 GB, free: 6.363 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.444e-05/0.2596, allocations: 92.95 kB / 0.5947 GB, free: 6.262 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009791/0.2606, allocations: 1.089 MB / 0.5958 GB, free: 5.648 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 8.685e-05/0.2607, allocations: 47.2 kB / 0.5958 GB, free: 5.602 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002142/0.2609, allocations: 0.4967 MB / 0.5963 GB, free: 5.164 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002296/0.2611, allocations: 408.2 kB / 0.5967 GB, free: 4.82 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003153/0.2614, allocations: 280.8 kB / 0.597 GB, free: 4.652 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 2.36e-05/0.2615, allocations: 306.4 kB / 0.5972 GB, free: 4.352 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001143/0.2626, allocations: 0.8597 MB / 0.5981 GB, free: 3.926 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001155/0.2638, allocations: 1.038 MB / 0.5991 GB, free: 3.32 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002142/0.2659, allocations: 1.887 MB / 0.6009 GB, free: 2.293 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.499e-06/0.2659, allocations: 3.812 kB / 0.6009 GB, free: 2.293 MB / 442.7 MB Notification: Performance of matching and sorting (n=195) (initialization): time 0.004604/0.2705, allocations: 3.374 MB / 0.6042 GB, free: 15.78 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.975e-05/0.2705, allocations: 4 kB / 0.6042 GB, free: 15.77 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.158e-06/0.2705, allocations: 4 kB / 0.6042 GB, free: 15.77 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004834/0.2754, allocations: 2.419 MB / 0.6066 GB, free: 13.35 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005635/0.2759, allocations: 237.5 kB / 0.6068 GB, free: 13.13 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003603/0.2795, allocations: 2.618 MB / 0.6094 GB, free: 10.48 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009474/0.2805, allocations: 211 kB / 0.6096 GB, free: 10.27 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.632e-05/0.2806, allocations: 57.8 kB / 0.6096 GB, free: 10.22 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (143): * Single equations (assignments): 142 * 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 {(28,25)} Notification: Performance of prepare postOptimizeDAE: time 0.0003895/0.281, allocations: 259.5 kB / 0.6099 GB, free: 9.969 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001749/0.2811, allocations: 140.8 kB / 0.61 GB, free: 9.832 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008362/0.2895, allocations: 4.57 MB / 0.6145 GB, free: 5.281 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.007e-06/0.2895, allocations: 12 kB / 0.6145 GB, free: 5.27 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.2895, allocations: 0 / 0.6145 GB, free: 5.27 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.959e-06/0.2895, allocations: 11.92 kB / 0.6145 GB, free: 5.258 MB / 458.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 postOpt removeSimpleEquations (simulation): time 0.009534/0.2991, allocations: 5.664 MB / 0.62 GB, free: 15.61 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.119e-06/0.2991, allocations: 1.641 kB / 0.6201 GB, free: 15.61 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002961/0.2994, allocations: 110.9 kB / 0.6202 GB, free: 15.5 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003992/0.3033, allocations: 2.197 MB / 0.6223 GB, free: 13.3 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.375e-05/0.3034, allocations: 23.98 kB / 0.6223 GB, free: 13.28 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01491/0.3183, allocations: 9.872 MB / 0.632 GB, free: 3.312 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.3183, allocations: 6.281 kB / 0.632 GB, free: 3.309 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01002/0.3284, allocations: 5.717 MB / 0.6376 GB, free: 13.61 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000302/0.3287, allocations: 162.8 kB / 0.6377 GB, free: 13.45 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001269/0.3288, allocations: 27.94 kB / 0.6377 GB, free: 13.42 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006432/0.3294, allocations: 111.9 kB / 0.6378 GB, free: 13.31 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004408/0.3299, allocations: 245 kB / 0.6381 GB, free: 13.07 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.259e-05/0.3299, allocations: 28 kB / 0.6381 GB, free: 13.04 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0007024/0.3306, allocations: 0.7287 MB / 0.6388 GB, free: 12.31 MB / 490.7 MB Notification: Performance of sort global known variables: time 2e-07/0.3306, allocations: 4 kB / 0.6388 GB, free: 12.3 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0009656/0.3316, allocations: 475.6 kB / 0.6393 GB, free: 11.84 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 8 (gENCLS.delta,gENCLS.eq,gENSAL.w,gENSAL.delta,gENSAL.Epq,gENSAL.PSIkd,gENSAL.PSIppq,gENCLS.omega) * 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 (65): * Single equations (assignments): 64 * 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,23)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01001/0.3416, allocations: 6.306 MB / 0.6454 GB, free: 5.547 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0045/0.3461, allocations: 2.472 MB / 0.6478 GB, free: 3.109 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.3461, allocations: 0 / 0.6478 GB, free: 3.109 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003221/0.3493, allocations: 1.765 MB / 0.6496 GB, free: 1.344 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007228/0.35, allocations: 112.6 kB / 0.6497 GB, free: 1.23 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0224/0.3724, allocations: 16.36 MB / 0.6657 GB, free: 0.7773 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003386/0.3728, allocations: 0.5336 MB / 0.6662 GB, free: 212 kB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.000259/0.373, allocations: 104.3 kB / 0.6663 GB, free: 104 kB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004956/0.3735, allocations: 496.3 kB / 0.6667 GB, free: 15.66 MB / 0.5105 GB Notification: Performance of SimCode: time 1.112e-06/0.3735, allocations: 0 / 0.6667 GB, free: 15.66 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04496/0.4185, allocations: 39.22 MB / 0.705 GB, free: 8.668 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.42/9.839, allocations: 6.344 kB / 0.705 GB, free: 8.664 MB / 0.5417 GB " [Timeout remaining time 650] (rm -f OpenIPSL_OpenIPSL.Tests.Machines.PSSE.GENSAL.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Machines.PSSE.GENSAL.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Machines.PSSE.GENSAL.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Machines.PSSE.GENSAL.sim & python3 -m fmpy simulate --output-file OpenIPSL_OpenIPSL.Tests.Machines.PSSE.GENSAL_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 OpenIPSL_OpenIPSL_Tests_Machines_PSSE_GENSAL.fmu > OpenIPSL_OpenIPSL.Tests.Machines.PSSE.GENSAL.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.24564165621996] Failed to read output from testmodel.py, exit status != 0: 9.950039884075522 9.958796937 9.740384699 Calling exit ...