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.00587/0.00587, allocations: 100.1 kB / 15.73 MB, free: 6.445 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.328/1.328, allocations: 222.9 MB / 239.4 MB, free: 4.516 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.001388/0.001388, allocations: 192.5 kB / 289.7 MB, free: 2.242 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4431/0.4431, allocations: 78.54 MB / 418.4 MB, free: 3.145 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001628/0.001628, allocations: 75.88 kB / 0.5531 GB, free: 1.484 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3316/0.3332, allocations: 68.17 MB / 0.6197 GB, free: 9.34 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSSE.GENSAL): time 0.006198/0.3395, allocations: 7.006 MB / 0.6265 GB, free: 3.176 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004122/0.3436, allocations: 2.204 MB / 0.6287 GB, free: 0.9688 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001137/0.3448, allocations: 16 kB / 0.6287 GB, free: 0.9531 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008286/0.3456, allocations: 273.7 kB / 0.629 GB, free: 0.6836 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003485/0.3492, allocations: 1.193 MB / 0.6301 GB, free: 15.49 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001537/0.3507, allocations: 0.5636 MB / 0.6307 GB, free: 14.94 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.00271/0.3534, allocations: 1.893 MB / 0.6325 GB, free: 13.04 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006559/0.3541, allocations: 328 kB / 0.6329 GB, free: 12.69 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001221/0.3553, allocations: 0.7237 MB / 0.6336 GB, free: 11.96 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001349/0.3567, allocations: 0.9453 MB / 0.6345 GB, free: 11.01 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004605/0.3572, allocations: 140 kB / 0.6346 GB, free: 10.88 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009443/0.3581, allocations: 355.8 kB / 0.635 GB, free: 10.53 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004727/0.3586, allocations: 370.5 kB / 0.6353 GB, free: 10.16 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001055/0.3597, allocations: 0.7497 MB / 0.636 GB, free: 9.41 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002602/0.3623, allocations: 1.876 MB / 0.6379 GB, free: 7.531 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.3623, allocations: 0 / 0.6379 GB, free: 7.531 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.3623, allocations: 0 / 0.6379 GB, free: 7.531 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.72e-05/0.3624, allocations: 0 / 0.6379 GB, free: 7.531 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.01361/0.376, allocations: 3.62 MB / 0.6414 GB, free: 3.848 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.667e-05/0.3761, allocations: 12.03 kB / 0.6414 GB, free: 3.836 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001789/0.3763, allocations: 130.9 kB / 0.6415 GB, free: 3.699 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004419/0.3807, allocations: 0.7249 MB / 0.6423 GB, free: 2.973 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001552/0.3823, allocations: 0.9077 MB / 0.6431 GB, free: 2.012 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005176/0.3828, allocations: 357.5 kB / 0.6435 GB, free: 1.609 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002858/0.3831, allocations: 99.89 kB / 0.6436 GB, free: 1.512 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002748/0.3859, allocations: 1.204 MB / 0.6448 GB, free: 300 kB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.353e-05/0.3859, allocations: 4 kB / 0.6448 GB, free: 296 kB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001004/0.386, allocations: 28 kB / 0.6448 GB, free: 268 kB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.576e-05/0.386, allocations: 24 kB / 0.6448 GB, free: 244 kB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002617/0.3887, allocations: 1.156 MB / 0.6459 GB, free: 15.08 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.007359/0.396, allocations: 4.072 MB / 0.6499 GB, free: 10.82 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007428/0.4035, allocations: 2.641 MB / 0.6525 GB, free: 8.055 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001726/0.4052, allocations: 0.8261 MB / 0.6533 GB, free: 7.227 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001122/0.4054, allocations: 24.91 kB / 0.6533 GB, free: 7.199 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.165e-05/0.4054, allocations: 43.56 kB / 0.6534 GB, free: 7.148 MB / 462.1 MB Notification: Performance of pre-optimization done (n=107): time 2.966e-06/0.4054, allocations: 0 / 0.6534 GB, free: 7.148 MB / 462.1 MB Notification: Performance of matching and sorting (n=107): time 0.03924/0.4447, allocations: 9.727 MB / 0.6629 GB, free: 13.38 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.829e-05/0.4448, allocations: 86.11 kB / 0.6629 GB, free: 13.28 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001518/0.4463, allocations: 1.085 MB / 0.664 GB, free: 12.18 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002814/0.4466, allocations: 53.7 kB / 0.6641 GB, free: 12.12 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003607/0.4469, allocations: 0.5018 MB / 0.6645 GB, free: 11.61 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004301/0.4474, allocations: 404.5 kB / 0.6649 GB, free: 11.21 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004865/0.4479, allocations: 275.5 kB / 0.6652 GB, free: 10.94 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 9.275e-05/0.448, allocations: 305.1 kB / 0.6655 GB, free: 10.64 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001849/0.4498, allocations: 0.8394 MB / 0.6663 GB, free: 9.801 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001967/0.4518, allocations: 1.03 MB / 0.6673 GB, free: 8.727 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003738/0.4556, allocations: 1.867 MB / 0.6691 GB, free: 6.816 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.554e-06/0.4556, allocations: 4 kB / 0.6691 GB, free: 6.812 MB / 478.1 MB Notification: Performance of matching and sorting (n=194) (initialization): time 0.01255/0.4681, allocations: 4.26 MB / 0.6733 GB, free: 2.535 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.86e-05/0.4682, allocations: 4 kB / 0.6733 GB, free: 2.531 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.401e-05/0.4682, allocations: 7.938 kB / 0.6733 GB, free: 2.523 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008433/0.4767, allocations: 2.357 MB / 0.6756 GB, free: 164 kB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00117/0.4779, allocations: 243.7 kB / 0.6758 GB, free: 15.92 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005862/0.4838, allocations: 2.599 MB / 0.6784 GB, free: 13.3 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001943/0.4857, allocations: 203 kB / 0.6786 GB, free: 13.1 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002583/0.486, allocations: 55.92 kB / 0.6786 GB, free: 13.05 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.0006632/0.4867, allocations: 257.7 kB / 0.6789 GB, free: 12.79 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004181/0.4871, allocations: 139 kB / 0.679 GB, free: 12.65 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01525/0.5024, allocations: 4.629 MB / 0.6835 GB, free: 7.996 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.178e-05/0.5024, allocations: 8 kB / 0.6835 GB, free: 7.988 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.688e-06/0.5025, allocations: 4 kB / 0.6835 GB, free: 7.984 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.015e-05/0.5025, allocations: 7.984 kB / 0.6835 GB, free: 7.977 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.01743/0.5199, allocations: 6.315 MB / 0.6897 GB, free: 1.527 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.71e-05/0.52, allocations: 0 / 0.6897 GB, free: 1.527 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006466/0.5207, allocations: 107.9 kB / 0.6898 GB, free: 1.422 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007931/0.5286, allocations: 2.142 MB / 0.6919 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001771/0.5288, allocations: 28 kB / 0.6919 GB, free: 15.24 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0253/0.5541, allocations: 10.05 MB / 0.7017 GB, free: 5.051 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.5542, allocations: 0 / 0.7017 GB, free: 5.051 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01711/0.5713, allocations: 5.689 MB / 0.7073 GB, free: 15.34 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005407/0.5719, allocations: 239.9 kB / 0.7075 GB, free: 15.08 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000441/0.5723, allocations: 16 kB / 0.7075 GB, free: 15.07 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001513/0.5739, allocations: 107.9 kB / 0.7076 GB, free: 14.96 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007615/0.5746, allocations: 241.1 kB / 0.7079 GB, free: 14.73 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.807e-05/0.5747, allocations: 27.94 kB / 0.7079 GB, free: 14.7 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0009576/0.5757, allocations: 0.7287 MB / 0.7086 GB, free: 13.96 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.9e-07/0.5757, allocations: 0 / 0.7086 GB, free: 13.96 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001264/0.577, allocations: 463.7 kB / 0.7091 GB, free: 13.51 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.01762/0.5946, allocations: 6.273 MB / 0.7152 GB, free: 7.195 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.007985/0.6026, allocations: 2.552 MB / 0.7177 GB, free: 4.652 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 5.791e-06/0.6027, allocations: 0 / 0.7177 GB, free: 4.652 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.006018/0.6087, allocations: 1.823 MB / 0.7195 GB, free: 2.809 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001152/0.6099, allocations: 115 kB / 0.7196 GB, free: 2.699 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03571/0.6456, allocations: 16.35 MB / 0.7355 GB, free: 2.125 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007901/0.6464, allocations: 1.117 MB / 0.7366 GB, free: 0.9805 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0004697/0.6469, allocations: 104.2 kB / 0.7367 GB, free: 0.875 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000617/0.6475, allocations: 491.3 kB / 0.7372 GB, free: 404 kB / 0.5294 GB Notification: Performance of SimCode: time 1.092e-06/0.6475, allocations: 0 / 0.7372 GB, free: 404 kB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3429/0.9904, allocations: 37.27 MB / 0.7736 GB, free: 141.5 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.24/14.23, allocations: 4.812 kB / 0.7736 GB, free: 141.5 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)