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.001419/0.001419, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.36/1.36, allocations: 222.9 MB / 239.2 MB, free: 4.609 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.001391/0.001391, allocations: 195.7 kB / 289.6 MB, free: 2.332 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5024/0.5024, allocations: 91.89 MB / 431.6 MB, free: 9.273 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001536/0.001536, allocations: 75.88 kB / 0.502 GB, free: 7.645 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3098/0.3113, allocations: 71.27 MB / 0.5716 GB, free: 36.73 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSSE.GENSAL): time 0.005356/0.3167, allocations: 7.016 MB / 0.5784 GB, free: 32.63 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003266/0.32, allocations: 2.196 MB / 0.5806 GB, free: 31.09 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005197/0.3205, allocations: 10.66 kB / 0.5806 GB, free: 31.09 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004906/0.321, allocations: 274.5 kB / 0.5808 GB, free: 30.95 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001752/0.3228, allocations: 0.9299 MB / 0.5817 GB, free: 30.34 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00113/0.324, allocations: 0.6566 MB / 0.5824 GB, free: 30.02 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001288/0.3253, allocations: 1.729 MB / 0.5841 GB, free: 29.18 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003569/0.3256, allocations: 325.7 kB / 0.5844 GB, free: 29.03 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006195/0.3263, allocations: 0.7058 MB / 0.5851 GB, free: 28.68 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007226/0.327, allocations: 0.9272 MB / 0.586 GB, free: 28.24 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001871/0.3272, allocations: 134.2 kB / 0.5861 GB, free: 28.24 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005734/0.3278, allocations: 363.6 kB / 0.5865 GB, free: 28.17 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002088/0.328, allocations: 361.3 kB / 0.5868 GB, free: 27.94 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004818/0.3285, allocations: 0.7374 MB / 0.5875 GB, free: 27.45 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001411/0.3299, allocations: 1.833 MB / 0.5893 GB, free: 26.63 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.3299, allocations: 0 / 0.5893 GB, free: 26.63 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.3299, allocations: 0 / 0.5893 GB, free: 26.63 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.93e-05/0.3299, allocations: 5.219 kB / 0.5893 GB, free: 26.62 MB / 430.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.01149/0.3414, allocations: 3.236 MB / 0.5925 GB, free: 25.31 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.398e-05/0.3415, allocations: 13.78 kB / 0.5925 GB, free: 25.3 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001642/0.3417, allocations: 129.8 kB / 0.5926 GB, free: 25.21 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004456/0.3462, allocations: 0.7115 MB / 0.5933 GB, free: 25.06 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001282/0.3475, allocations: 0.8949 MB / 0.5942 GB, free: 24.45 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003049/0.3478, allocations: 364.4 kB / 0.5945 GB, free: 24.12 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001684/0.3479, allocations: 94.75 kB / 0.5946 GB, free: 24.08 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002255/0.3502, allocations: 1.209 MB / 0.5958 GB, free: 23.63 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.761e-05/0.3502, allocations: 0 / 0.5958 GB, free: 23.63 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001005/0.3503, allocations: 30.34 kB / 0.5958 GB, free: 23.61 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.662e-05/0.3504, allocations: 18.69 kB / 0.5958 GB, free: 23.61 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002375/0.3527, allocations: 1.156 MB / 0.597 GB, free: 23.23 MB / 430.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.006662/0.3594, allocations: 4.086 MB / 0.601 GB, free: 20.84 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007776/0.3672, allocations: 2.638 MB / 0.6035 GB, free: 19.79 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001634/0.3689, allocations: 0.8274 MB / 0.6044 GB, free: 19.46 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001166/0.369, allocations: 17.8 kB / 0.6044 GB, free: 19.45 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.944e-05/0.369, allocations: 49.53 kB / 0.6044 GB, free: 19.4 MB / 430.1 MB Notification: Performance of pre-optimization done (n=107): time 3.206e-06/0.369, allocations: 0 / 0.6044 GB, free: 19.4 MB / 430.1 MB Notification: Performance of matching and sorting (n=107): time 0.04067/0.4097, allocations: 9.735 MB / 0.6139 GB, free: 16.68 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.607e-05/0.4098, allocations: 89.14 kB / 0.614 GB, free: 16.59 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001423/0.4112, allocations: 1.077 MB / 0.6151 GB, free: 15.98 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001925/0.4114, allocations: 54.64 kB / 0.6151 GB, free: 15.93 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002588/0.4117, allocations: 0.4897 MB / 0.6156 GB, free: 15.49 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000305/0.412, allocations: 392 kB / 0.616 GB, free: 15.15 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004656/0.4125, allocations: 277.2 kB / 0.6162 GB, free: 14.99 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 3.29e-05/0.4125, allocations: 302.2 kB / 0.6165 GB, free: 14.69 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001736/0.4143, allocations: 0.8416 MB / 0.6173 GB, free: 14.27 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001845/0.4161, allocations: 1.034 MB / 0.6183 GB, free: 13.66 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003438/0.4196, allocations: 1.864 MB / 0.6202 GB, free: 12.28 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.919e-06/0.4196, allocations: 0 / 0.6202 GB, free: 12.28 MB / 430.1 MB Notification: Performance of matching and sorting (n=194) (initialization): time 0.01152/0.4311, allocations: 4.248 MB / 0.6243 GB, free: 8.016 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.919e-05/0.4312, allocations: 8 kB / 0.6243 GB, free: 8.008 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.001e-05/0.4312, allocations: 4 kB / 0.6243 GB, free: 8.004 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00779/0.439, allocations: 2.365 MB / 0.6266 GB, free: 5.633 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001007/0.44, allocations: 231.7 kB / 0.6269 GB, free: 5.406 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005361/0.4454, allocations: 2.602 MB / 0.6294 GB, free: 2.773 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0018/0.4472, allocations: 214.5 kB / 0.6296 GB, free: 2.562 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001127/0.4473, allocations: 51.98 kB / 0.6297 GB, free: 2.512 MB / 430.1 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 (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.0004327/0.4477, allocations: 253.6 kB / 0.6299 GB, free: 2.254 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00023/0.448, allocations: 138.2 kB / 0.63 GB, free: 2.117 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01537/0.4633, allocations: 4.617 MB / 0.6345 GB, free: 13.47 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.566e-05/0.4634, allocations: 12 kB / 0.6345 GB, free: 13.46 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.832e-06/0.4634, allocations: 0 / 0.6345 GB, free: 13.46 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.916e-05/0.4634, allocations: 11.97 kB / 0.6346 GB, free: 13.45 MB / 446.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 postOpt removeSimpleEquations (simulation): time 0.01794/0.4814, allocations: 6.318 MB / 0.6407 GB, free: 6.992 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.466e-06/0.4814, allocations: 0 / 0.6407 GB, free: 6.992 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005928/0.482, allocations: 107.8 kB / 0.6408 GB, free: 6.887 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007697/0.4897, allocations: 2.149 MB / 0.6429 GB, free: 4.734 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001293/0.4899, allocations: 23.98 kB / 0.643 GB, free: 4.711 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02609/0.516, allocations: 10.05 MB / 0.6528 GB, free: 10.52 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.965e-06/0.516, allocations: 0 / 0.6528 GB, free: 10.52 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01804/0.534, allocations: 5.67 MB / 0.6583 GB, free: 4.816 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004573/0.5345, allocations: 231.2 kB / 0.6585 GB, free: 4.57 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002077/0.5348, allocations: 28 kB / 0.6586 GB, free: 4.543 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001319/0.5361, allocations: 99.88 kB / 0.6587 GB, free: 4.445 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007009/0.5368, allocations: 241.1 kB / 0.6589 GB, free: 4.211 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.326e-05/0.5369, allocations: 35.92 kB / 0.6589 GB, free: 4.176 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0009237/0.5378, allocations: 0.7209 MB / 0.6596 GB, free: 3.449 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5378, allocations: 0 / 0.6596 GB, free: 3.449 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001216/0.539, allocations: 479.5 kB / 0.6601 GB, free: 2.98 MB / 462.1 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 (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.01849/0.5575, allocations: 6.249 MB / 0.6662 GB, free: 12.7 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.008492/0.5661, allocations: 2.576 MB / 0.6687 GB, free: 10.12 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.447e-06/0.5661, allocations: 0 / 0.6687 GB, free: 10.12 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005949/0.572, allocations: 1.811 MB / 0.6705 GB, free: 8.289 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001073/0.5731, allocations: 112.5 kB / 0.6706 GB, free: 8.18 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03808/0.6112, allocations: 17.1 MB / 0.6873 GB, free: 6.641 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007206/0.612, allocations: 1.113 MB / 0.6884 GB, free: 5.496 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0004708/0.6125, allocations: 108.2 kB / 0.6885 GB, free: 5.387 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006562/0.6131, allocations: 495.3 kB / 0.6889 GB, free: 4.902 MB / 494.1 MB Notification: Performance of SimCode: time 5.72e-07/0.6132, allocations: 3.938 kB / 0.6889 GB, free: 4.898 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07159/0.6847, allocations: 36.82 MB / 0.7249 GB, free: 188 kB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.69/12.37, allocations: 5.797 kB / 0.7249 GB, free: 184 kB / 0.5137 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)