Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Machines.PSSE.GENSAE.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.GENSAE,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Machines_PSSE_GENSAE",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSSE.GENSAE,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Machines_PSSE_GENSAE",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.006419/0.006419, allocations: 99.34 kB / 15.73 MB, free: 6.008 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.383/1.383, allocations: 222.9 MB / 239.4 MB, free: 4.555 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.001524/0.001524, 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.5329/0.5329, allocations: 91.9 MB / 431.8 MB, free: 9.176 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002228/0.002228, allocations: 79.28 kB / 0.5722 GB, free: 33.72 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1144/0.1167, allocations: 71.29 MB / 0.6419 GB, free: 4.09 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSSE.GENSAE): time 0.008384/0.1251, allocations: 7.044 MB / 0.6487 GB, free: 13.01 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.004773/0.1299, allocations: 2.243 MB / 0.6509 GB, free: 10.76 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007105/0.1306, allocations: 8 kB / 0.6509 GB, free: 10.75 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006764/0.1313, allocations: 281.7 kB / 0.6512 GB, free: 10.48 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002549/0.1339, allocations: 1.032 MB / 0.6522 GB, free: 9.441 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001296/0.1352, allocations: 0.5757 MB / 0.6528 GB, free: 8.871 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.002197/0.1374, allocations: 1.765 MB / 0.6545 GB, free: 7.102 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005022/0.1379, allocations: 324.2 kB / 0.6548 GB, free: 6.762 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009771/0.1389, allocations: 0.7237 MB / 0.6555 GB, free: 6.035 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001226/0.1402, allocations: 0.9531 MB / 0.6565 GB, free: 5.078 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000221/0.1404, allocations: 140 kB / 0.6566 GB, free: 4.941 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006552/0.1411, allocations: 315.8 kB / 0.6569 GB, free: 4.633 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003377/0.1414, allocations: 374.4 kB / 0.6572 GB, free: 4.266 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007142/0.1421, allocations: 0.7419 MB / 0.658 GB, free: 3.52 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002247/0.1444, allocations: 1.856 MB / 0.6598 GB, free: 1.656 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.1444, allocations: 0 / 0.6598 GB, free: 1.656 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.1444, allocations: 0 / 0.6598 GB, free: 1.656 MB / 462.1 MB Notification: Performance of Transformations before backend: time 2.247e-05/0.1444, allocations: 0 / 0.6598 GB, free: 1.656 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: 199 * Number of variables: 199 Notification: Performance of Generate backend data structure: time 0.0123/0.1567, allocations: 3.304 MB / 0.663 GB, free: 14.3 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.586e-05/0.1568, allocations: 12.03 kB / 0.663 GB, free: 14.29 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001911/0.157, allocations: 130.9 kB / 0.6631 GB, free: 14.15 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004638/0.1616, allocations: 0.7249 MB / 0.6639 GB, free: 13.42 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001728/0.1634, allocations: 0.9351 MB / 0.6648 GB, free: 12.43 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004416/0.1639, allocations: 353.2 kB / 0.6651 GB, free: 12.03 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000245/0.1641, allocations: 95.94 kB / 0.6652 GB, free: 11.94 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002545/0.1667, allocations: 1.223 MB / 0.6664 GB, free: 10.7 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.84e-05/0.1667, allocations: 0 / 0.6664 GB, free: 10.7 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001182/0.1668, allocations: 32 kB / 0.6664 GB, free: 10.67 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.079e-05/0.1668, allocations: 20 kB / 0.6664 GB, free: 10.65 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002574/0.1694, allocations: 1.159 MB / 0.6676 GB, free: 9.488 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.007972/0.1774, allocations: 4.119 MB / 0.6716 GB, free: 5.176 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008211/0.1856, allocations: 2.677 MB / 0.6742 GB, free: 2.371 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00177/0.1874, allocations: 0.825 MB / 0.675 GB, free: 1.539 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001175/0.1876, allocations: 20.98 kB / 0.675 GB, free: 1.52 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.062e-05/0.1876, allocations: 47.5 kB / 0.6751 GB, free: 1.465 MB / 478.1 MB Notification: Performance of pre-optimization done (n=108): time 2.935e-06/0.1876, allocations: 0 / 0.6751 GB, free: 1.465 MB / 478.1 MB Notification: Performance of matching and sorting (n=108): time 0.04356/0.2312, allocations: 10.11 MB / 0.6849 GB, free: 7.32 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.1e-05/0.2313, allocations: 90.05 kB / 0.685 GB, free: 7.215 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001785/0.2331, allocations: 1.125 MB / 0.6861 GB, free: 6.078 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002453/0.2334, allocations: 49.7 kB / 0.6862 GB, free: 6.023 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004375/0.2338, allocations: 0.5019 MB / 0.6867 GB, free: 5.516 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004671/0.2343, allocations: 408.5 kB / 0.6871 GB, free: 5.113 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005606/0.2348, allocations: 283.5 kB / 0.6873 GB, free: 4.832 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001311/0.235, allocations: 301.1 kB / 0.6876 GB, free: 4.535 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001936/0.2369, allocations: 0.8628 MB / 0.6885 GB, free: 3.672 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002124/0.2391, allocations: 1.049 MB / 0.6895 GB, free: 2.574 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003984/0.2431, allocations: 1.874 MB / 0.6913 GB, free: 0.6602 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.412e-06/0.2431, allocations: 0 / 0.6913 GB, free: 0.6602 MB / 494.1 MB Notification: Performance of matching and sorting (n=197) (initialization): time 0.009067/0.2521, allocations: 3.383 MB / 0.6946 GB, free: 13.26 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.441e-05/0.2522, allocations: 4.312 kB / 0.6946 GB, free: 13.26 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.353e-05/0.2522, allocations: 8 kB / 0.6946 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009686/0.2619, allocations: 2.596 MB / 0.6972 GB, free: 10.65 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00126/0.2632, allocations: 239.6 kB / 0.6974 GB, free: 10.42 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006372/0.2696, allocations: 2.649 MB / 0.7 GB, free: 7.738 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001872/0.2715, allocations: 207 kB / 0.7002 GB, free: 7.535 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001324/0.2716, allocations: 59.98 kB / 0.7002 GB, free: 7.477 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 (144): * Single equations (assignments): 143 * 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 {(29,25)} Notification: Performance of prepare postOptimizeDAE: time 0.0005338/0.2722, allocations: 250.7 kB / 0.7005 GB, free: 7.223 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00031/0.2725, allocations: 147.1 kB / 0.7006 GB, free: 7.078 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0156/0.2881, allocations: 4.57 MB / 0.7051 GB, free: 2.484 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.729e-05/0.2881, allocations: 12 kB / 0.7051 GB, free: 2.473 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.875e-06/0.2882, allocations: 0 / 0.7051 GB, free: 2.473 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.774e-05/0.2882, allocations: 7.922 kB / 0.7051 GB, free: 2.465 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.01799/0.3062, allocations: 6.35 MB / 0.7113 GB, free: 11.98 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.174e-05/0.3062, allocations: 0 / 0.7113 GB, free: 11.98 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000667/0.3069, allocations: 107.9 kB / 0.7114 GB, free: 11.87 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007426/0.3143, allocations: 2.134 MB / 0.7135 GB, free: 9.734 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001925/0.3146, allocations: 24 kB / 0.7135 GB, free: 9.711 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02602/0.3406, allocations: 10.06 MB / 0.7233 GB, free: 15.5 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.304e-06/0.3406, allocations: 3.938 kB / 0.7233 GB, free: 15.5 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01771/0.3583, allocations: 5.661 MB / 0.7289 GB, free: 9.812 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005189/0.3589, allocations: 239.9 kB / 0.7291 GB, free: 9.559 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001859/0.3591, allocations: 27.94 kB / 0.7291 GB, free: 9.531 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001332/0.3604, allocations: 103.9 kB / 0.7292 GB, free: 9.43 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007983/0.3613, allocations: 245.1 kB / 0.7294 GB, free: 9.191 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.762e-05/0.3613, allocations: 31.98 kB / 0.7295 GB, free: 9.16 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001093/0.3624, allocations: 0.7445 MB / 0.7302 GB, free: 8.41 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.81e-07/0.3625, allocations: 0 / 0.7302 GB, free: 8.41 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001378/0.3638, allocations: 479.6 kB / 0.7307 GB, free: 7.941 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,gENSAE.w,gENSAE.delta,gENSAE.Epq,gENSAE.PSIkd,gENSAE.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.018/0.3818, allocations: 6.26 MB / 0.7368 GB, free: 1.641 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01094/0.3928, allocations: 2.583 MB / 0.7393 GB, free: 15.07 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 9.588e-06/0.3929, allocations: 4 kB / 0.7393 GB, free: 15.06 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.01049/0.4034, allocations: 1.811 MB / 0.7411 GB, free: 13.23 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001823/0.4052, allocations: 117.3 kB / 0.7412 GB, free: 13.12 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06897/0.4742, allocations: 18.2 MB / 0.759 GB, free: 10.69 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001115/0.4754, allocations: 1.127 MB / 0.7601 GB, free: 9.531 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0005919/0.476, allocations: 116.2 kB / 0.7602 GB, free: 9.414 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008512/0.4769, allocations: 487.3 kB / 0.7606 GB, free: 8.938 MB / 0.5606 GB Notification: Performance of SimCode: time 1.132e-06/0.4769, allocations: 0 / 0.7606 GB, free: 8.938 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3328/0.8097, allocations: 37.58 MB / 0.7973 GB, free: 106.1 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.18/14.99, allocations: 16.72 kB / 0.7973 GB, free: 106.1 MB / 0.5606 GB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSSE.GENSAE.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Machines.PSSE.GENSAE.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Machines.PSSE.GENSAE.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Machines.PSSE.GENSAE.sim & python3 -m fmpy simulate --output-file OpenIPSL_dev_OpenIPSL.Tests.Machines.PSSE.GENSAE_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_GENSAE.fmu > OpenIPSL_dev_OpenIPSL.Tests.Machines.PSSE.GENSAE.pipe 2>&1)