Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Machines.PSSE.GENCLS.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.GENCLS,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Machines_PSSE_GENCLS",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSSE.GENCLS,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Machines_PSSE_GENCLS",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.007666/0.007667, allocations: 98.03 kB / 15.73 MB, free: 6.012 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.395/1.395, allocations: 222.9 MB / 239.4 MB, free: 4.512 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.001222/0.001222, allocations: 196.5 kB / 289.7 MB, free: 2.223 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4326/0.4326, allocations: 78.53 MB / 418.4 MB, free: 3.113 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001664/0.001664, allocations: 80.09 kB / 0.5531 GB, free: 1.434 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3399/0.3416, allocations: 68.16 MB / 0.6197 GB, free: 9.336 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSSE.GENCLS): time 0.004836/0.3465, allocations: 6.172 MB / 0.6257 GB, free: 3.953 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002882/0.3494, allocations: 1.86 MB / 0.6276 GB, free: 2.09 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004093/0.3498, allocations: 8 kB / 0.6276 GB, free: 2.082 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004818/0.3503, allocations: 242 kB / 0.6278 GB, free: 1.844 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001481/0.3518, allocations: 0.853 MB / 0.6286 GB, free: 0.9883 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001067/0.3529, allocations: 0.636 MB / 0.6292 GB, free: 368 kB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001608/0.3545, allocations: 1.646 MB / 0.6309 GB, free: 14.71 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003959/0.3549, allocations: 283.5 kB / 0.6311 GB, free: 14.42 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006351/0.3555, allocations: 0.6147 MB / 0.6317 GB, free: 13.8 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008082/0.3564, allocations: 0.8091 MB / 0.6325 GB, free: 12.99 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001601/0.3565, allocations: 116 kB / 0.6326 GB, free: 12.88 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003977/0.3569, allocations: 235.9 kB / 0.6329 GB, free: 12.64 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002472/0.3572, allocations: 306.8 kB / 0.6331 GB, free: 12.34 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000517/0.3577, allocations: 0.637 MB / 0.6338 GB, free: 11.7 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001488/0.3592, allocations: 1.572 MB / 0.6353 GB, free: 10.13 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.3592, allocations: 4 kB / 0.6353 GB, free: 10.13 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.717e-06/0.3592, allocations: 0 / 0.6353 GB, free: 10.13 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.408e-05/0.3593, allocations: 3.938 kB / 0.6353 GB, free: 10.12 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: 179 * Number of variables: 179 Notification: Performance of Generate backend data structure: time 0.008416/0.3677, allocations: 2.656 MB / 0.6379 GB, free: 7.41 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.121e-05/0.3677, allocations: 12.03 kB / 0.6379 GB, free: 7.398 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001581/0.3679, allocations: 126.4 kB / 0.638 GB, free: 7.266 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004214/0.3721, allocations: 0.686 MB / 0.6387 GB, free: 6.578 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001259/0.3734, allocations: 0.8235 MB / 0.6395 GB, free: 5.699 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003833/0.3738, allocations: 349.2 kB / 0.6398 GB, free: 5.301 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001532/0.374, allocations: 72 kB / 0.6399 GB, free: 5.23 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00223/0.3762, allocations: 1.137 MB / 0.641 GB, free: 4.082 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.776e-05/0.3762, allocations: 4 kB / 0.641 GB, free: 4.078 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000103/0.3763, allocations: 28 kB / 0.6411 GB, free: 4.051 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.658e-05/0.3764, allocations: 19.98 kB / 0.6411 GB, free: 4.031 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002313/0.3787, allocations: 1.085 MB / 0.6421 GB, free: 2.945 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 preOpt removeSimpleEquations (simulation): time 0.006117/0.3848, allocations: 3.583 MB / 0.6456 GB, free: 15.2 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007419/0.3922, allocations: 2.514 MB / 0.6481 GB, free: 12.55 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001749/0.394, allocations: 0.7816 MB / 0.6488 GB, free: 11.77 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001027/0.3941, allocations: 16.98 kB / 0.6489 GB, free: 11.75 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.96e-05/0.3942, allocations: 47.5 kB / 0.6489 GB, free: 11.7 MB / 462.1 MB Notification: Performance of pre-optimization done (n=97): time 2.455e-06/0.3942, allocations: 0 / 0.6489 GB, free: 11.7 MB / 462.1 MB Notification: Performance of matching and sorting (n=97): time 0.03971/0.4339, allocations: 9.399 MB / 0.6581 GB, free: 2.258 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.104e-05/0.434, allocations: 90.11 kB / 0.6582 GB, free: 2.148 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001284/0.4353, allocations: 0.9009 MB / 0.6591 GB, free: 1.227 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001782/0.4355, allocations: 49.7 kB / 0.6591 GB, free: 1.172 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003473/0.4358, allocations: 477.2 kB / 0.6596 GB, free: 0.6992 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003802/0.4362, allocations: 360.8 kB / 0.6599 GB, free: 352 kB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003531/0.4366, allocations: 178.8 kB / 0.6601 GB, free: 164 kB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001464/0.4367, allocations: 341.9 kB / 0.6604 GB, free: 15.82 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001535/0.4383, allocations: 0.6702 MB / 0.661 GB, free: 15.15 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001627/0.4399, allocations: 0.8372 MB / 0.6619 GB, free: 14.27 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003127/0.443, allocations: 1.524 MB / 0.6634 GB, free: 12.7 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.003e-06/0.4431, allocations: 3.938 kB / 0.6634 GB, free: 12.69 MB / 478.1 MB Notification: Performance of matching and sorting (n=129) (initialization): time 0.01543/0.4585, allocations: 4.544 MB / 0.6678 GB, free: 8.129 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.783e-05/0.4586, allocations: 8 kB / 0.6678 GB, free: 8.121 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.521e-05/0.4586, allocations: 4 kB / 0.6678 GB, free: 8.117 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007919/0.4665, allocations: 2.349 MB / 0.6701 GB, free: 5.758 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007167/0.4673, allocations: 147.8 kB / 0.6702 GB, free: 5.613 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02882/0.4961, allocations: 11.32 MB / 0.6813 GB, free: 10.15 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00166/0.4978, allocations: 167.3 kB / 0.6815 GB, free: 9.984 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.491e-05/0.4979, allocations: 35.98 kB / 0.6815 GB, free: 9.949 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (83): * Single equations (assignments): 82 * 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 {(27,20)} Notification: Performance of prepare postOptimizeDAE: time 0.0005107/0.4984, allocations: 229.7 kB / 0.6817 GB, free: 9.715 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002535/0.4987, allocations: 123.2 kB / 0.6818 GB, free: 9.594 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01494/0.5136, allocations: 4.436 MB / 0.6862 GB, free: 5.145 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.879e-05/0.5137, allocations: 16 kB / 0.6862 GB, free: 5.129 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.5137, allocations: 7.922 kB / 0.6862 GB, free: 5.121 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.385e-05/0.5137, allocations: 11.91 kB / 0.6862 GB, free: 5.109 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01732/0.531, allocations: 6.07 MB / 0.6921 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.576e-05/0.5311, allocations: 0 / 0.6921 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005316/0.5316, allocations: 91.89 kB / 0.6922 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007518/0.5392, allocations: 2.165 MB / 0.6943 GB, free: 12.63 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001718/0.5394, allocations: 16 kB / 0.6943 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02648/0.5658, allocations: 9.944 MB / 0.7041 GB, free: 2.531 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.903e-06/0.5659, allocations: 7.984 kB / 0.7041 GB, free: 2.523 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01769/0.5836, allocations: 5.52 MB / 0.7095 GB, free: 12.98 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000474/0.5841, allocations: 220.1 kB / 0.7097 GB, free: 12.75 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000342/0.5845, allocations: 16 kB / 0.7097 GB, free: 12.73 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001366/0.5859, allocations: 103.9 kB / 0.7098 GB, free: 12.63 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007681/0.5866, allocations: 233.1 kB / 0.71 GB, free: 12.4 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001263/0.5868, allocations: 31.92 kB / 0.71 GB, free: 12.37 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0009997/0.5878, allocations: 0.6226 MB / 0.7106 GB, free: 11.73 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.81e-07/0.5878, allocations: 4 kB / 0.7106 GB, free: 11.73 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001664/0.5895, allocations: 463.7 kB / 0.7111 GB, free: 11.28 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (gENCLS.delta,gENCLS.eq,gENCLS1.delta,gENCLS1.omega,gENCLS1.eq,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 (55): * Single equations (assignments): 54 * 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 {(27,20)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01793/0.6074, allocations: 6.079 MB / 0.717 GB, free: 5.164 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.008391/0.6158, allocations: 2.576 MB / 0.7195 GB, free: 2.57 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 5.861e-06/0.6159, allocations: 0 / 0.7195 GB, free: 2.57 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.006115/0.622, allocations: 1.776 MB / 0.7213 GB, free: 0.7852 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001298/0.6233, allocations: 104.2 kB / 0.7214 GB, free: 0.6836 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04507/0.6684, allocations: 16.24 MB / 0.7372 GB, free: 208 kB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008366/0.6693, allocations: 1.088 MB / 0.7383 GB, free: 15.08 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0004164/0.6697, allocations: 90.95 kB / 0.7384 GB, free: 14.99 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006594/0.6704, allocations: 427.2 kB / 0.7388 GB, free: 14.57 MB / 0.545 GB Notification: Performance of SimCode: time 1.172e-06/0.6704, allocations: 0 / 0.7388 GB, free: 14.57 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3519/1.022, allocations: 38.52 MB / 0.7764 GB, free: 140 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.92/13.94, allocations: 11.94 kB / 0.7764 GB, free: 140 MB / 0.5606 GB (rm -f OpenIPSL_OpenIPSL.Tests.Machines.PSSE.GENCLS.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Machines.PSSE.GENCLS.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Machines.PSSE.GENCLS.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Machines.PSSE.GENCLS.sim & python3 -m fmpy simulate --output-file OpenIPSL_OpenIPSL.Tests.Machines.PSSE.GENCLS_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_GENCLS.fmu > OpenIPSL_OpenIPSL.Tests.Machines.PSSE.GENCLS.pipe 2>&1)