Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.IEEET1.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.Controls.PSSE.ES.IEEET1,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Controls_PSSE_ES_IEEET1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.ES.IEEET1,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Controls_PSSE_ES_IEEET1",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.006621/0.006621, allocations: 102.1 kB / 15.73 MB, free: 6.062 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.346/1.346, allocations: 222.9 MB / 239.4 MB, free: 4.527 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.001396/0.001396, allocations: 199.8 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.4585/0.4585, allocations: 78.53 MB / 418.4 MB, free: 3.129 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001608/0.001608, allocations: 91.81 kB / 0.5532 GB, free: 1.398 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3013/0.3029, allocations: 68.16 MB / 0.6197 GB, free: 9.242 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.ES.IEEET1): time 0.006365/0.3094, allocations: 8.53 MB / 0.6281 GB, free: 1.57 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004215/0.3136, allocations: 2.669 MB / 0.6307 GB, free: 14.89 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006685/0.3143, allocations: 20 kB / 0.6307 GB, free: 14.88 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006662/0.315, allocations: 309.3 kB / 0.631 GB, free: 14.57 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002728/0.3177, allocations: 1.263 MB / 0.6322 GB, free: 13.31 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001466/0.3192, allocations: 0.7483 MB / 0.633 GB, free: 12.57 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002428/0.3216, allocations: 2.357 MB / 0.6353 GB, free: 10.2 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006167/0.3223, allocations: 481.2 kB / 0.6357 GB, free: 9.703 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009861/0.3233, allocations: 0.8948 MB / 0.6366 GB, free: 8.805 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001158/0.3244, allocations: 1.155 MB / 0.6377 GB, free: 7.641 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002662/0.3247, allocations: 188 kB / 0.6379 GB, free: 7.457 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007372/0.3255, allocations: 463.7 kB / 0.6383 GB, free: 7.004 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000343/0.3258, allocations: 474.1 kB / 0.6388 GB, free: 6.539 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007502/0.3266, allocations: 0.9401 MB / 0.6397 GB, free: 5.594 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002337/0.3289, allocations: 2.429 MB / 0.6421 GB, free: 3.16 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.3289, allocations: 0 / 0.6421 GB, free: 3.16 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.3289, allocations: 0 / 0.6421 GB, free: 3.16 MB / 446.1 MB Notification: Performance of Transformations before backend: time 2.51e-05/0.329, allocations: 0 / 0.6421 GB, free: 3.16 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: 254 * Number of variables: 254 Notification: Performance of Generate backend data structure: time 0.01326/0.3422, allocations: 3.967 MB / 0.646 GB, free: 15.13 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.664e-05/0.3423, allocations: 8.031 kB / 0.646 GB, free: 15.12 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001906/0.3425, allocations: 164.3 kB / 0.6461 GB, free: 14.95 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004541/0.347, allocations: 0.7637 MB / 0.6469 GB, free: 14.19 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001711/0.3488, allocations: 1.13 MB / 0.648 GB, free: 13.01 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000411/0.3492, allocations: 429 kB / 0.6484 GB, free: 12.52 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000196/0.3494, allocations: 116 kB / 0.6485 GB, free: 12.41 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002738/0.3521, allocations: 1.46 MB / 0.6499 GB, free: 10.93 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.134e-05/0.3522, allocations: 0 / 0.6499 GB, free: 10.93 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001169/0.3523, allocations: 40 kB / 0.65 GB, free: 10.89 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.865e-05/0.3523, allocations: 24 kB / 0.65 GB, free: 10.86 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002855/0.3552, allocations: 1.343 MB / 0.6513 GB, free: 9.52 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.008692/0.3639, allocations: 5.163 MB / 0.6563 GB, free: 4.129 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008316/0.3722, allocations: 2.914 MB / 0.6592 GB, free: 1.078 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001946/0.3742, allocations: 0.9152 MB / 0.6601 GB, free: 160 kB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006032/0.3748, allocations: 0.7333 MB / 0.6608 GB, free: 15.25 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002222/0.377, allocations: 1.063 MB / 0.6618 GB, free: 14.17 MB / 478.1 MB Notification: Performance of pre-optimization done (n=129): time 3.727e-06/0.377, allocations: 0 / 0.6618 GB, free: 14.17 MB / 478.1 MB Notification: Performance of matching and sorting (n=129): time 0.04556/0.4226, allocations: 10.55 MB / 0.6721 GB, free: 3.582 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.822e-05/0.4227, allocations: 116.1 kB / 0.6722 GB, free: 3.441 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002174/0.4249, allocations: 1.414 MB / 0.6736 GB, free: 2.02 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002489/0.4252, allocations: 49.7 kB / 0.6737 GB, free: 1.965 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004993/0.4257, allocations: 0.6362 MB / 0.6743 GB, free: 1.324 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005301/0.4262, allocations: 495.8 kB / 0.6748 GB, free: 0.8359 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007834/0.427, allocations: 359.5 kB / 0.6751 GB, free: 492 kB / 478.1 MB Notification: Performance of setup shared object (initialization): time 8.853e-05/0.4271, allocations: 313.1 kB / 0.6754 GB, free: 176 kB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002308/0.4294, allocations: 0.9918 MB / 0.6764 GB, free: 15.18 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002468/0.4319, allocations: 1.207 MB / 0.6775 GB, free: 13.91 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004452/0.4364, allocations: 2.13 MB / 0.6796 GB, free: 11.74 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.577e-06/0.4364, allocations: 4 kB / 0.6796 GB, free: 11.73 MB / 494.1 MB Notification: Performance of matching and sorting (n=252) (initialization): time 0.009589/0.446, allocations: 3.723 MB / 0.6833 GB, free: 7.996 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.119e-05/0.446, allocations: 11.94 kB / 0.6833 GB, free: 7.984 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.189e-05/0.446, allocations: 7.938 kB / 0.6833 GB, free: 7.977 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009714/0.4558, allocations: 2.675 MB / 0.6859 GB, free: 5.301 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001477/0.4573, allocations: 331.5 kB / 0.6862 GB, free: 4.977 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006468/0.4637, allocations: 2.696 MB / 0.6888 GB, free: 2.25 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0021/0.4659, allocations: 258.7 kB / 0.6891 GB, free: 1.996 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002057/0.4661, allocations: 67.98 kB / 0.6892 GB, free: 1.93 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition2,$whenCondition1,iEEET1.rotatingExciter.sISO.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (195): * Single equations (assignments): 193 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 {(30,26)} Notification: Performance of prepare postOptimizeDAE: time 0.0006175/0.4667, allocations: 297.5 kB / 0.6894 GB, free: 1.629 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003492/0.4671, allocations: 170.9 kB / 0.6896 GB, free: 1.461 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01672/0.4838, allocations: 4.867 MB / 0.6944 GB, free: 12.57 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.495e-05/0.4838, allocations: 12 kB / 0.6944 GB, free: 12.56 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.556e-06/0.4838, allocations: 4 kB / 0.6944 GB, free: 12.55 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.829e-05/0.4839, allocations: 3.984 kB / 0.6944 GB, free: 12.55 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.01934/0.5032, allocations: 6.895 MB / 0.7011 GB, free: 5.52 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.131e-05/0.5032, allocations: 4 kB / 0.7011 GB, free: 5.516 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009254/0.5042, allocations: 147.8 kB / 0.7013 GB, free: 5.371 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007873/0.5121, allocations: 2.142 MB / 0.7033 GB, free: 3.227 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002465/0.5123, allocations: 35.92 kB / 0.7034 GB, free: 3.191 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02692/0.5393, allocations: 10.07 MB / 0.7132 GB, free: 8.977 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.659e-06/0.5393, allocations: 4 kB / 0.7132 GB, free: 8.973 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01916/0.5585, allocations: 5.953 MB / 0.719 GB, free: 2.988 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006003/0.5591, allocations: 283.6 kB / 0.7193 GB, free: 2.691 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005113/0.5596, allocations: 28 kB / 0.7193 GB, free: 2.664 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001755/0.5614, allocations: 119.9 kB / 0.7194 GB, free: 2.547 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009067/0.5623, allocations: 269.3 kB / 0.7197 GB, free: 2.281 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001502/0.5625, allocations: 36 kB / 0.7197 GB, free: 2.246 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001475/0.564, allocations: 0.936 MB / 0.7206 GB, free: 1.312 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.4e-07/0.564, allocations: 0 / 0.7206 GB, free: 1.312 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001621/0.5656, allocations: 0.5542 MB / 0.7212 GB, free: 0.7578 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 13 (gENCLS.omega,gENCLS.delta,gENCLS.eq,gENROE.w,gENROE.delta,gENROE.Epd,gENROE.Epq,gENROE.PSIkd,gENROE.PSIkq,iEEET1.derivativeLag.x,iEEET1.simpleLagLim.state,iEEET1.rotatingExciter.sISO.y,iEEET1.TransducerDelay.state) * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (86): * Single equations (assignments): 85 * 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.02053/0.5861, allocations: 6.583 MB / 0.7276 GB, free: 10.13 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0097/0.5959, allocations: 2.923 MB / 0.7305 GB, free: 7.191 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 5.219e-06/0.5959, allocations: 0.875 kB / 0.7305 GB, free: 7.191 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.006633/0.6026, allocations: 1.934 MB / 0.7324 GB, free: 5.246 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001431/0.604, allocations: 152 kB / 0.7325 GB, free: 5.098 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04853/0.6526, allocations: 19.58 MB / 0.7516 GB, free: 1.188 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008913/0.6535, allocations: 1.239 MB / 0.7528 GB, free: 15.91 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0006917/0.6542, allocations: 142.4 kB / 0.753 GB, free: 15.77 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009791/0.6552, allocations: 0.6242 MB / 0.7536 GB, free: 15.16 MB / 0.5606 GB Notification: Performance of SimCode: time 7.21e-07/0.6552, allocations: 0 / 0.7536 GB, free: 15.16 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3278/0.983, allocations: 44.47 MB / 0.797 GB, free: 122.1 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.21/15.19, allocations: 6.797 kB / 0.797 GB, free: 122.1 MB / 0.5606 GB (rm -f OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.IEEET1.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.IEEET1.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.IEEET1.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.IEEET1.sim & python3 -m fmpy simulate --output-file OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.IEEET1_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_Controls_PSSE_ES_IEEET1.fmu > OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.IEEET1.pipe 2>&1)