Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Machines.PSSE.GENSAL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSSE.GENSAL,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Machines_PSSE_GENSAL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSSE.GENSAL,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Machines_PSSE_GENSAL",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006642/0.006642, allocations: 97.41 kB / 15.73 MB, free: 6.047 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.349/1.349, allocations: 222.9 MB / 239.4 MB, free: 4.559 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001317/0.001317, allocations: 192.5 kB / 289.7 MB, free: 2.27 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.492/0.492, allocations: 91.91 MB / 431.8 MB, free: 9.176 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001418/0.001418, allocations: 84.53 kB / 0.5722 GB, free: 33.92 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1276/0.1291, allocations: 71.28 MB / 0.6419 GB, free: 4.105 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSSE.GENSAL): time 0.008378/0.1375, allocations: 7.017 MB / 0.6487 GB, free: 13.05 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.004634/0.1422, allocations: 2.204 MB / 0.6509 GB, free: 10.84 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005494/0.1427, allocations: 12 kB / 0.6509 GB, free: 10.83 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005896/0.1433, allocations: 277.7 kB / 0.6511 GB, free: 10.56 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002026/0.1454, allocations: 0.9781 MB / 0.6521 GB, free: 9.578 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001275/0.1467, allocations: 0.6503 MB / 0.6527 GB, free: 8.934 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001763/0.1485, allocations: 1.741 MB / 0.6544 GB, free: 7.188 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004669/0.1489, allocations: 320.3 kB / 0.6547 GB, free: 6.852 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007956/0.1497, allocations: 0.7081 MB / 0.6554 GB, free: 6.141 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000945/0.1507, allocations: 0.9297 MB / 0.6563 GB, free: 5.207 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001861/0.1509, allocations: 136 kB / 0.6565 GB, free: 5.074 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005947/0.1515, allocations: 367.7 kB / 0.6568 GB, free: 4.715 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002885/0.1518, allocations: 358.6 kB / 0.6572 GB, free: 4.363 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005901/0.1524, allocations: 0.7419 MB / 0.6579 GB, free: 3.617 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001771/0.1542, allocations: 1.852 MB / 0.6597 GB, free: 1.758 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.1542, allocations: 3.938 kB / 0.6597 GB, free: 1.754 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.1542, allocations: 0 / 0.6597 GB, free: 1.754 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.739e-05/0.1542, allocations: 0 / 0.6597 GB, free: 1.754 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 198 * Number of variables: 198 Notification: Performance of Generate backend data structure: time 0.0105/0.1647, allocations: 3.269 MB / 0.6629 GB, free: 14.43 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.063e-05/0.1648, allocations: 11.97 kB / 0.6629 GB, free: 14.41 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001592/0.1649, allocations: 134.9 kB / 0.663 GB, free: 14.27 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004271/0.1692, allocations: 0.721 MB / 0.6637 GB, free: 13.55 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001361/0.1706, allocations: 0.9038 MB / 0.6646 GB, free: 12.59 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003582/0.171, allocations: 361.5 kB / 0.665 GB, free: 12.18 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001815/0.1712, allocations: 99.89 kB / 0.6651 GB, free: 12.09 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002262/0.1734, allocations: 1.204 MB / 0.6662 GB, free: 10.87 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.048e-05/0.1735, allocations: 0 / 0.6662 GB, free: 10.87 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.491e-05/0.1736, allocations: 32 kB / 0.6663 GB, free: 10.84 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.049e-05/0.1736, allocations: 23.98 kB / 0.6663 GB, free: 10.82 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002349/0.1759, allocations: 1.159 MB / 0.6674 GB, free: 9.652 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.006361/0.1823, allocations: 4.076 MB / 0.6714 GB, free: 5.383 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007378/0.1897, allocations: 2.641 MB / 0.674 GB, free: 2.617 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001603/0.1913, allocations: 0.8222 MB / 0.6748 GB, free: 1.789 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001247/0.1915, allocations: 20.97 kB / 0.6748 GB, free: 1.77 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.912e-05/0.1915, allocations: 47.5 kB / 0.6748 GB, free: 1.715 MB / 478.1 MB Notification: Performance of pre-optimization done (n=107): time 2.384e-06/0.1915, allocations: 0 / 0.6748 GB, free: 1.715 MB / 478.1 MB Notification: Performance of matching and sorting (n=107): time 0.03849/0.23, allocations: 9.731 MB / 0.6843 GB, free: 7.945 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.823e-05/0.2301, allocations: 94.11 kB / 0.6844 GB, free: 7.836 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001488/0.2316, allocations: 1.085 MB / 0.6855 GB, free: 6.738 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000227/0.2318, allocations: 53.7 kB / 0.6855 GB, free: 6.68 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003562/0.2322, allocations: 0.4979 MB / 0.686 GB, free: 6.176 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003974/0.2326, allocations: 408.5 kB / 0.6864 GB, free: 5.773 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005021/0.2331, allocations: 275.5 kB / 0.6867 GB, free: 5.5 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.75e-05/0.2332, allocations: 301.1 kB / 0.687 GB, free: 5.203 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001799/0.235, allocations: 0.8433 MB / 0.6878 GB, free: 4.359 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001902/0.2369, allocations: 1.026 MB / 0.6888 GB, free: 3.285 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003545/0.2405, allocations: 1.87 MB / 0.6906 GB, free: 1.375 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.879e-06/0.2405, allocations: 0 / 0.6906 GB, free: 1.375 MB / 494.1 MB Notification: Performance of matching and sorting (n=194) (initialization): time 0.01188/0.2524, allocations: 4.256 MB / 0.6948 GB, free: 13.1 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.429e-05/0.2524, allocations: 8 kB / 0.6948 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.168e-05/0.2525, allocations: 4 kB / 0.6948 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007799/0.2603, allocations: 2.354 MB / 0.6971 GB, free: 10.73 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001065/0.2613, allocations: 239.6 kB / 0.6973 GB, free: 10.5 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005751/0.2671, allocations: 2.603 MB / 0.6999 GB, free: 7.871 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001844/0.269, allocations: 206.9 kB / 0.7001 GB, free: 7.668 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001343/0.2691, allocations: 51.98 kB / 0.7001 GB, free: 7.617 MB / 0.4981 GB 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 (142): * Single equations (assignments): 141 * 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.0005077/0.2696, allocations: 261.6 kB / 0.7004 GB, free: 7.352 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002448/0.2699, allocations: 139 kB / 0.7005 GB, free: 7.215 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01483/0.2847, allocations: 4.621 MB / 0.705 GB, free: 2.566 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.436e-05/0.2848, allocations: 12 kB / 0.705 GB, free: 2.555 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.107e-06/0.2848, allocations: 0 / 0.705 GB, free: 2.555 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.283e-05/0.2848, allocations: 11.92 kB / 0.705 GB, free: 2.543 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 postOpt removeSimpleEquations (simulation): time 0.01641/0.3012, allocations: 6.315 MB / 0.7112 GB, free: 12.09 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.822e-06/0.3012, allocations: 7.938 kB / 0.7112 GB, free: 12.09 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005247/0.3018, allocations: 99.89 kB / 0.7113 GB, free: 11.99 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006965/0.3087, allocations: 2.142 MB / 0.7134 GB, free: 9.844 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.558e-05/0.3089, allocations: 16 kB / 0.7134 GB, free: 9.828 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0237/0.3326, allocations: 10.06 MB / 0.7232 GB, free: 15.61 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.3326, allocations: 0 / 0.7232 GB, free: 15.61 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01676/0.3494, allocations: 5.681 MB / 0.7288 GB, free: 9.902 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006129/0.35, allocations: 239.9 kB / 0.729 GB, free: 9.648 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001726/0.3502, allocations: 23.98 kB / 0.729 GB, free: 9.625 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001202/0.3514, allocations: 107.9 kB / 0.7291 GB, free: 9.52 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007505/0.3522, allocations: 237.1 kB / 0.7294 GB, free: 9.285 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.5e-05/0.3523, allocations: 31.94 kB / 0.7294 GB, free: 9.254 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.000998/0.3533, allocations: 0.7248 MB / 0.7301 GB, free: 8.523 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.61e-07/0.3533, allocations: 0 / 0.7301 GB, free: 8.523 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001416/0.3547, allocations: 467.7 kB / 0.7305 GB, free: 8.066 MB / 0.5294 GB 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 (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,23)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01748/0.3722, allocations: 6.269 MB / 0.7367 GB, free: 1.766 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.007815/0.3801, allocations: 2.552 MB / 0.7392 GB, free: 15.22 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.127e-06/0.3801, allocations: 3.938 kB / 0.7392 GB, free: 15.21 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.005874/0.386, allocations: 1.815 MB / 0.7409 GB, free: 13.38 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001295/0.3873, allocations: 109.8 kB / 0.741 GB, free: 13.27 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0379/0.4252, allocations: 16.35 MB / 0.757 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007523/0.426, allocations: 1.121 MB / 0.7581 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0004639/0.4265, allocations: 112.2 kB / 0.7582 GB, free: 11.44 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006864/0.4272, allocations: 491.3 kB / 0.7587 GB, free: 10.96 MB / 0.5606 GB Notification: Performance of SimCode: time 1.383e-06/0.4272, allocations: 0 / 0.7587 GB, free: 10.96 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3488/0.7761, allocations: 37.26 MB / 0.7951 GB, free: 107.4 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.34/14.12, allocations: 10.53 kB / 0.7951 GB, free: 107.4 MB / 0.5606 GB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSSE.GENSAL.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Machines.PSSE.GENSAL.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Machines.PSSE.GENSAL.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Machines.PSSE.GENSAL.sim & python3 -m fmpy simulate --output-file OpenIPSL_dev_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_dev_OpenIPSL_Tests_Machines_PSSE_GENSAL.fmu > OpenIPSL_dev_OpenIPSL.Tests.Machines.PSSE.GENSAL.pipe 2>&1)