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.004866/0.004866, allocations: 101 kB / 15.73 MB, free: 6.059 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.387/1.387, allocations: 222.9 MB / 239.4 MB, free: 4.543 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.00154/0.00154, allocations: 188.5 kB / 289.7 MB, free: 2.258 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.45/0.45, allocations: 78.53 MB / 418.4 MB, free: 3.199 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002257/0.002257, allocations: 76.06 kB / 0.5531 GB, free: 1.488 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2973/0.2996, allocations: 68.17 MB / 0.6197 GB, free: 9.609 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSSE.GENCLS): time 0.004986/0.3046, allocations: 6.185 MB / 0.6258 GB, free: 4.105 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002753/0.3074, allocations: 1.852 MB / 0.6276 GB, free: 2.25 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003469/0.3078, allocations: 8 kB / 0.6276 GB, free: 2.242 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004516/0.3082, allocations: 246 kB / 0.6278 GB, free: 2 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001375/0.3096, allocations: 0.791 MB / 0.6286 GB, free: 1.207 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001055/0.3107, allocations: 0.6435 MB / 0.6292 GB, free: 0.5703 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001705/0.3124, allocations: 1.643 MB / 0.6308 GB, free: 14.92 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000433/0.3129, allocations: 291.4 kB / 0.6311 GB, free: 14.62 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007685/0.3136, allocations: 0.6108 MB / 0.6317 GB, free: 14.01 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009883/0.3146, allocations: 0.8013 MB / 0.6325 GB, free: 13.21 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001889/0.3148, allocations: 124 kB / 0.6326 GB, free: 13.09 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004694/0.3153, allocations: 235.9 kB / 0.6328 GB, free: 12.86 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002871/0.3156, allocations: 306.8 kB / 0.6331 GB, free: 12.55 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005636/0.3162, allocations: 0.6331 MB / 0.6337 GB, free: 11.92 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001649/0.3178, allocations: 1.576 MB / 0.6353 GB, free: 10.34 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.3178, allocations: 3.938 kB / 0.6353 GB, free: 10.34 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.674e-06/0.3178, allocations: 0 / 0.6353 GB, free: 10.34 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.971e-05/0.3179, allocations: 0 / 0.6353 GB, free: 10.34 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.00859/0.3265, allocations: 2.66 MB / 0.6379 GB, free: 7.621 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.331e-05/0.3265, allocations: 8.031 kB / 0.6379 GB, free: 7.613 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000163/0.3267, allocations: 126.5 kB / 0.638 GB, free: 7.48 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004208/0.3309, allocations: 0.6938 MB / 0.6387 GB, free: 6.785 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001288/0.3322, allocations: 0.8118 MB / 0.6395 GB, free: 5.918 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004136/0.3326, allocations: 349.3 kB / 0.6398 GB, free: 5.52 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001559/0.3328, allocations: 75.94 kB / 0.6399 GB, free: 5.445 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002437/0.3352, allocations: 1.137 MB / 0.641 GB, free: 4.297 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.899e-05/0.3353, allocations: 0 / 0.641 GB, free: 4.297 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.166e-05/0.3354, allocations: 31.94 kB / 0.641 GB, free: 4.266 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.811e-05/0.3354, allocations: 16 kB / 0.641 GB, free: 4.25 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00245/0.3379, allocations: 1.085 MB / 0.6421 GB, free: 3.164 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.006552/0.3444, allocations: 3.591 MB / 0.6456 GB, free: 15.41 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007896/0.3523, allocations: 2.517 MB / 0.648 GB, free: 12.76 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002005/0.3544, allocations: 0.7738 MB / 0.6488 GB, free: 11.98 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001368/0.3545, allocations: 16.98 kB / 0.6488 GB, free: 11.96 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.673e-05/0.3546, allocations: 47.5 kB / 0.6489 GB, free: 11.91 MB / 462.1 MB Notification: Performance of pre-optimization done (n=97): time 2.886e-06/0.3546, allocations: 0 / 0.6489 GB, free: 11.91 MB / 462.1 MB Notification: Performance of matching and sorting (n=97): time 0.04238/0.397, allocations: 9.399 MB / 0.658 GB, free: 2.473 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.838e-05/0.3971, allocations: 94.05 kB / 0.6581 GB, free: 2.359 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001374/0.3985, allocations: 0.897 MB / 0.659 GB, free: 1.441 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001845/0.3987, allocations: 45.7 kB / 0.6591 GB, free: 1.391 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003841/0.3991, allocations: 477.1 kB / 0.6595 GB, free: 0.918 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004019/0.3995, allocations: 368.8 kB / 0.6599 GB, free: 0.5547 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003841/0.3999, allocations: 170.9 kB / 0.66 GB, free: 388 kB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001552/0.4, allocations: 341.9 kB / 0.6603 GB, free: 40 kB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001711/0.4018, allocations: 0.6741 MB / 0.661 GB, free: 15.37 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0018/0.4036, allocations: 0.8315 MB / 0.6618 GB, free: 14.48 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003472/0.4071, allocations: 1.524 MB / 0.6633 GB, free: 12.91 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.354e-06/0.4071, allocations: 3.938 kB / 0.6633 GB, free: 12.91 MB / 478.1 MB Notification: Performance of matching and sorting (n=129) (initialization): time 0.01681/0.4239, allocations: 4.544 MB / 0.6677 GB, free: 8.348 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.272e-05/0.424, allocations: 8.062 kB / 0.6678 GB, free: 8.34 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.924e-05/0.424, allocations: 7.984 kB / 0.6678 GB, free: 8.332 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00858/0.4326, allocations: 2.349 MB / 0.6701 GB, free: 5.973 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007298/0.4333, allocations: 135.8 kB / 0.6702 GB, free: 5.84 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03156/0.4649, allocations: 11.33 MB / 0.6813 GB, free: 10.36 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001602/0.4666, allocations: 167.3 kB / 0.6814 GB, free: 10.2 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001211/0.4667, allocations: 39.98 kB / 0.6815 GB, free: 10.16 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.0004498/0.4672, allocations: 225.7 kB / 0.6817 GB, free: 9.93 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002504/0.4674, allocations: 123.2 kB / 0.6818 GB, free: 9.809 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01626/0.4837, allocations: 4.432 MB / 0.6861 GB, free: 5.363 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.163e-05/0.4837, allocations: 12 kB / 0.6861 GB, free: 5.352 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.4838, allocations: 0 / 0.6861 GB, free: 5.352 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.386e-05/0.4838, allocations: 15.91 kB / 0.6861 GB, free: 5.336 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01875/0.5025, allocations: 6.074 MB / 0.6921 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.249e-05/0.5026, allocations: 0 / 0.6921 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005367/0.5031, allocations: 91.89 kB / 0.6922 GB, free: 15.03 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008035/0.5112, allocations: 2.158 MB / 0.6943 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001453/0.5114, allocations: 23.98 kB / 0.6943 GB, free: 12.84 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02723/0.5386, allocations: 9.956 MB / 0.704 GB, free: 2.742 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.107e-06/0.5386, allocations: 3.984 kB / 0.704 GB, free: 2.738 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01848/0.5571, allocations: 5.516 MB / 0.7094 GB, free: 13.2 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004065/0.5576, allocations: 224.1 kB / 0.7096 GB, free: 12.96 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001745/0.5578, allocations: 16 kB / 0.7096 GB, free: 12.95 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001198/0.559, allocations: 115.8 kB / 0.7097 GB, free: 12.83 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007873/0.5598, allocations: 225.1 kB / 0.71 GB, free: 12.61 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.418e-05/0.5599, allocations: 27.98 kB / 0.71 GB, free: 12.58 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.000862/0.5607, allocations: 0.6226 MB / 0.7106 GB, free: 11.95 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.9e-07/0.5607, allocations: 3.938 kB / 0.7106 GB, free: 11.95 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001303/0.562, allocations: 459.7 kB / 0.711 GB, free: 11.5 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.01868/0.5807, allocations: 6.087 MB / 0.717 GB, free: 5.375 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.00852/0.5893, allocations: 2.568 MB / 0.7195 GB, free: 2.789 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/0.5893, allocations: 0 / 0.7195 GB, free: 2.789 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.006294/0.5956, allocations: 1.78 MB / 0.7212 GB, free: 1 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001012/0.5967, allocations: 100.1 kB / 0.7213 GB, free: 0.9062 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0452/0.6419, allocations: 16.24 MB / 0.7372 GB, free: 428 kB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007915/0.6427, allocations: 1.091 MB / 0.7382 GB, free: 15.29 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0003899/0.6431, allocations: 82.97 kB / 0.7383 GB, free: 15.21 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005924/0.6437, allocations: 427.3 kB / 0.7387 GB, free: 14.79 MB / 0.545 GB Notification: Performance of SimCode: time 4.81e-07/0.6437, allocations: 4 kB / 0.7387 GB, free: 14.79 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3135/0.9573, allocations: 38.51 MB / 0.7763 GB, free: 140.6 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.44/14.4, allocations: 9.281 kB / 0.7764 GB, free: 140.6 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)