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.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.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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_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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005608/0.005608, 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.398/1.398, 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.001395/0.001395, allocations: 188.5 kB / 289.7 MB, free: 2.273 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4687/0.4687, allocations: 78.53 MB / 418.4 MB, free: 3.188 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002196/0.002196, allocations: 79.88 kB / 0.5531 GB, free: 1.477 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3209/0.3231, allocations: 68.16 MB / 0.6197 GB, free: 9.469 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSSE.GENSAL): time 0.005454/0.3286, allocations: 6.998 MB / 0.6265 GB, free: 3.145 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003651/0.3323, allocations: 2.204 MB / 0.6287 GB, free: 0.9375 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00074/0.3331, allocations: 11.94 kB / 0.6287 GB, free: 0.9258 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005476/0.3337, allocations: 273.7 kB / 0.629 GB, free: 0.6562 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002496/0.3362, allocations: 1.15 MB / 0.6301 GB, free: 15.51 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001291/0.3375, allocations: 0.5689 MB / 0.6306 GB, free: 14.95 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002727/0.3402, allocations: 1.889 MB / 0.6325 GB, free: 13.05 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005183/0.3407, allocations: 320 kB / 0.6328 GB, free: 12.71 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009705/0.3417, allocations: 0.7237 MB / 0.6335 GB, free: 11.98 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001089/0.3428, allocations: 0.9453 MB / 0.6344 GB, free: 11.03 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002115/0.343, allocations: 140 kB / 0.6346 GB, free: 10.89 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006935/0.3437, allocations: 363.7 kB / 0.6349 GB, free: 10.54 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003238/0.3441, allocations: 362.5 kB / 0.6353 GB, free: 10.18 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006881/0.3448, allocations: 0.7458 MB / 0.636 GB, free: 9.434 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002083/0.3469, allocations: 1.876 MB / 0.6378 GB, free: 7.555 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.3469, allocations: 0 / 0.6378 GB, free: 7.555 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.3469, allocations: 0 / 0.6378 GB, free: 7.555 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.839e-05/0.3469, allocations: 0 / 0.6378 GB, free: 7.555 MB / 446.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.01335/0.3603, allocations: 3.628 MB / 0.6414 GB, free: 3.863 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.492e-05/0.3603, allocations: 8.031 kB / 0.6414 GB, free: 3.855 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001865/0.3605, allocations: 130.9 kB / 0.6415 GB, free: 3.719 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004476/0.365, allocations: 0.721 MB / 0.6422 GB, free: 2.996 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001781/0.3668, allocations: 0.9038 MB / 0.6431 GB, free: 2.039 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004441/0.3673, allocations: 353.5 kB / 0.6434 GB, free: 1.641 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002638/0.3675, allocations: 99.89 kB / 0.6435 GB, free: 1.543 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00277/0.3703, allocations: 1.215 MB / 0.6447 GB, free: 320 kB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.015e-05/0.3704, allocations: 0 / 0.6447 GB, free: 320 kB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001044/0.3705, allocations: 28 kB / 0.6447 GB, free: 292 kB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.057e-05/0.3705, allocations: 20 kB / 0.6447 GB, free: 272 kB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002742/0.3733, allocations: 1.159 MB / 0.6459 GB, free: 15.11 MB / 462.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.008056/0.3813, allocations: 4.068 MB / 0.6498 GB, free: 10.85 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008062/0.3894, allocations: 2.648 MB / 0.6524 GB, free: 8.074 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001962/0.3914, allocations: 0.8222 MB / 0.6532 GB, free: 7.25 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001671/0.3916, allocations: 20.98 kB / 0.6533 GB, free: 7.227 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.744e-05/0.3917, allocations: 51.56 kB / 0.6533 GB, free: 7.168 MB / 462.1 MB Notification: Performance of pre-optimization done (n=107): time 3.086e-06/0.3917, allocations: 0 / 0.6533 GB, free: 7.168 MB / 462.1 MB Notification: Performance of matching and sorting (n=107): time 0.04253/0.4342, allocations: 9.727 MB / 0.6628 GB, free: 13.4 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.476e-05/0.4343, allocations: 86.11 kB / 0.6629 GB, free: 13.3 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001831/0.4362, allocations: 1.081 MB / 0.6639 GB, free: 12.2 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002968/0.4365, allocations: 53.7 kB / 0.664 GB, free: 12.14 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000486/0.437, allocations: 0.4979 MB / 0.6645 GB, free: 11.64 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005774/0.4376, allocations: 408.5 kB / 0.6649 GB, free: 11.24 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007699/0.4383, allocations: 279.5 kB / 0.6651 GB, free: 10.96 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001255/0.4385, allocations: 301.1 kB / 0.6654 GB, free: 10.66 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00207/0.4405, allocations: 0.8432 MB / 0.6662 GB, free: 9.82 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002276/0.4428, allocations: 1.03 MB / 0.6673 GB, free: 8.746 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004293/0.4471, allocations: 1.87 MB / 0.6691 GB, free: 6.832 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.294e-06/0.4472, allocations: 3.938 kB / 0.6691 GB, free: 6.828 MB / 478.1 MB Notification: Performance of matching and sorting (n=194) (initialization): time 0.01367/0.4608, allocations: 4.256 MB / 0.6732 GB, free: 2.555 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.878e-05/0.4609, allocations: 8 kB / 0.6732 GB, free: 2.547 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.342e-05/0.4609, allocations: 4 kB / 0.6733 GB, free: 2.543 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008955/0.4699, allocations: 2.357 MB / 0.6756 GB, free: 184 kB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001244/0.4712, allocations: 239.6 kB / 0.6758 GB, free: 15.95 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006798/0.478, allocations: 2.599 MB / 0.6783 GB, free: 13.32 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001941/0.48, allocations: 207 kB / 0.6785 GB, free: 13.12 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002368/0.4802, allocations: 51.98 kB / 0.6786 GB, free: 13.07 MB / 494.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.000641/0.4809, allocations: 261.6 kB / 0.6788 GB, free: 12.8 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003914/0.4813, allocations: 143 kB / 0.679 GB, free: 12.66 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01632/0.4976, allocations: 4.621 MB / 0.6835 GB, free: 8.02 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.053e-05/0.4977, allocations: 12 kB / 0.6835 GB, free: 8.008 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.848e-06/0.4977, allocations: 0 / 0.6835 GB, free: 8.008 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-05/0.4977, allocations: 3.984 kB / 0.6835 GB, free: 8.004 MB / 494.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.01953/0.5173, allocations: 6.318 MB / 0.6897 GB, free: 1.551 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.852e-05/0.5173, allocations: 4 kB / 0.6897 GB, free: 1.547 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007106/0.518, allocations: 103.9 kB / 0.6898 GB, free: 1.445 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008066/0.5261, allocations: 2.146 MB / 0.6918 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002175/0.5264, allocations: 23.98 kB / 0.6919 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02792/0.5543, allocations: 10.06 MB / 0.7017 GB, free: 5.066 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.228e-06/0.5543, allocations: 0 / 0.7017 GB, free: 5.066 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01935/0.5737, allocations: 5.677 MB / 0.7072 GB, free: 15.36 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005691/0.5743, allocations: 243.9 kB / 0.7075 GB, free: 15.11 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004222/0.5747, allocations: 16 kB / 0.7075 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001551/0.5763, allocations: 107.9 kB / 0.7076 GB, free: 14.98 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008927/0.5772, allocations: 245 kB / 0.7078 GB, free: 14.75 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001489/0.5774, allocations: 35.92 kB / 0.7079 GB, free: 14.71 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001182/0.5786, allocations: 0.7209 MB / 0.7086 GB, free: 13.98 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.81e-07/0.5786, allocations: 0 / 0.7086 GB, free: 13.98 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001583/0.5802, allocations: 467.7 kB / 0.709 GB, free: 13.53 MB / 0.5137 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.01941/0.5996, allocations: 6.268 MB / 0.7151 GB, free: 7.219 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0088/0.6084, allocations: 2.556 MB / 0.7176 GB, free: 4.672 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.609e-06/0.6085, allocations: 4 kB / 0.7176 GB, free: 4.668 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.006516/0.615, allocations: 1.811 MB / 0.7194 GB, free: 2.836 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001562/0.6166, allocations: 126 kB / 0.7195 GB, free: 2.715 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0419/0.6585, allocations: 16.34 MB / 0.7355 GB, free: 2.145 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009369/0.6595, allocations: 1.117 MB / 0.7366 GB, free: 1 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0005179/0.66, allocations: 104.2 kB / 0.7367 GB, free: 0.8945 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008352/0.6608, allocations: 0.4914 MB / 0.7371 GB, free: 412 kB / 0.5294 GB Notification: Performance of SimCode: time 5.51e-07/0.6609, allocations: 0 / 0.7371 GB, free: 412 kB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3404/1.001, allocations: 37.25 MB / 0.7735 GB, free: 141.4 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.68/14.68, allocations: 9.969 kB / 0.7735 GB, free: 141.4 MB / 0.5606 GB (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)