Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.GAST.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.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/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: translateModel(OpenIPSL.Tests.Controls.PSSE.TG.GAST,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.GAST") translateModel(OpenIPSL.Tests.Controls.PSSE.TG.GAST,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.GAST") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001155/0.001155, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.347/1.347, allocations: 222.9 MB / 239.3 MB, free: 4.609 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.001425/0.001424, allocations: 188.5 kB / 289.5 MB, free: 2.332 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.523/0.523, allocations: 91.9 MB / 431.6 MB, free: 9.289 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001556/0.001556, allocations: 79.88 kB / 0.5019 GB, free: 7.77 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3352/0.3368, allocations: 71.27 MB / 0.5715 GB, free: 36.64 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.TG.GAST): time 0.008379/0.3452, allocations: 9.253 MB / 0.5805 GB, free: 30.93 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.005539/0.3508, allocations: 2.868 MB / 0.5833 GB, free: 28.9 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001781/0.3526, allocations: 16.94 kB / 0.5833 GB, free: 28.9 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001109/0.3538, allocations: 371.8 kB / 0.5837 GB, free: 28.69 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003082/0.3569, allocations: 1.175 MB / 0.5848 GB, free: 27.93 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001644/0.3586, allocations: 0.8414 MB / 0.5856 GB, free: 27.51 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002481/0.3611, allocations: 2.589 MB / 0.5882 GB, free: 26.24 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006896/0.3618, allocations: 0.542 MB / 0.5887 GB, free: 25.96 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001212/0.363, allocations: 1.024 MB / 0.5897 GB, free: 25.45 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001175/0.3642, allocations: 1.279 MB / 0.591 GB, free: 24.82 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003244/0.3645, allocations: 219.4 kB / 0.5912 GB, free: 24.82 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007715/0.3653, allocations: 475.7 kB / 0.5916 GB, free: 24.75 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003576/0.3657, allocations: 0.5396 MB / 0.5921 GB, free: 24.39 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007098/0.3664, allocations: 1.062 MB / 0.5932 GB, free: 23.66 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002051/0.3685, allocations: 2.692 MB / 0.5958 GB, free: 22.5 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.3685, allocations: 0 / 0.5958 GB, free: 22.5 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.953e-06/0.3685, allocations: 1.312 kB / 0.5958 GB, free: 22.5 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.298e-05/0.3685, allocations: 7.938 kB / 0.5958 GB, free: 22.49 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 291 * Number of variables: 291 Notification: Performance of Generate backend data structure: time 0.01433/0.3829, allocations: 3.951 MB / 0.5997 GB, free: 20.8 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.602e-05/0.3829, allocations: 8.844 kB / 0.5997 GB, free: 20.8 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005712/0.3886, allocations: 0.7832 MB / 0.6005 GB, free: 20.61 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003817/0.3925, allocations: 1.294 MB / 0.6017 GB, free: 19.8 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000516/0.3931, allocations: 470.4 kB / 0.6022 GB, free: 19.37 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004972/0.3936, allocations: 135.2 kB / 0.6023 GB, free: 19.32 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003802/0.3974, allocations: 1.62 MB / 0.6039 GB, free: 18.67 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.57e-05/0.3974, allocations: 0 / 0.6039 GB, free: 18.67 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001357/0.3976, allocations: 46.22 kB / 0.6039 GB, free: 18.64 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.922e-05/0.3976, allocations: 28.19 kB / 0.6039 GB, free: 18.64 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003351/0.401, allocations: 1.506 MB / 0.6054 GB, free: 18.11 MB / 430.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.013/0.414, allocations: 5.823 MB / 0.6111 GB, free: 14.82 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008966/0.423, allocations: 3.179 MB / 0.6142 GB, free: 13.51 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002622/0.4257, allocations: 0.9922 MB / 0.6152 GB, free: 13.11 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005191/0.4262, allocations: 0.7341 MB / 0.6159 GB, free: 12.25 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002769/0.429, allocations: 1.198 MB / 0.6171 GB, free: 11.8 MB / 430.1 MB Notification: Performance of pre-optimization done (n=148): time 3.777e-06/0.429, allocations: 0 / 0.6171 GB, free: 11.8 MB / 430.1 MB Notification: Performance of matching and sorting (n=148): time 0.04074/0.4697, allocations: 9.976 MB / 0.6268 GB, free: 5.211 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.637e-05/0.4698, allocations: 153.8 kB / 0.627 GB, free: 5.031 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002687/0.4725, allocations: 1.646 MB / 0.6286 GB, free: 3.383 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006209/0.4732, allocations: 57.7 kB / 0.6286 GB, free: 3.32 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000419/0.4736, allocations: 0.7068 MB / 0.6293 GB, free: 2.602 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005021/0.4741, allocations: 0.5276 MB / 0.6298 GB, free: 2.066 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006287/0.4748, allocations: 395.9 kB / 0.6302 GB, free: 1.672 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 3.604e-05/0.4748, allocations: 305.1 kB / 0.6305 GB, free: 1.371 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002096/0.4769, allocations: 1.082 MB / 0.6315 GB, free: 292 kB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00247/0.4794, allocations: 1.311 MB / 0.6328 GB, free: 14.91 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004802/0.4842, allocations: 2.327 MB / 0.6351 GB, free: 12.49 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.274e-06/0.4842, allocations: 3.938 kB / 0.6351 GB, free: 12.49 MB / 446.1 MB Notification: Performance of matching and sorting (n=279) (initialization): time 0.0105/0.4947, allocations: 4.003 MB / 0.639 GB, free: 8.422 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.749e-05/0.4948, allocations: 37.7 kB / 0.639 GB, free: 8.379 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.225e-05/0.4948, allocations: 7.938 kB / 0.6391 GB, free: 8.371 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009707/0.5045, allocations: 2.659 MB / 0.6417 GB, free: 5.703 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001856/0.5064, allocations: 383.5 kB / 0.642 GB, free: 5.328 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006655/0.5131, allocations: 2.687 MB / 0.6446 GB, free: 2.613 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003127/0.5162, allocations: 298 kB / 0.6449 GB, free: 2.32 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003386/0.5166, allocations: 71.98 kB / 0.645 GB, free: 2.25 MB / 446.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: 5 ($whenCondition2,$whenCondition1,$whenCondition4,$whenCondition3,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 (222): * Single equations (assignments): 219 * Array equations: 0 * Algorithm blocks: 1 * 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.0009422/0.5176, allocations: 345.4 kB / 0.6453 GB, free: 1.902 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006634/0.5182, allocations: 185.7 kB / 0.6455 GB, free: 1.719 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01816/0.5364, allocations: 5.175 MB / 0.6506 GB, free: 12.52 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.544e-05/0.5365, allocations: 12 kB / 0.6506 GB, free: 12.51 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.407e-06/0.5365, allocations: 7.938 kB / 0.6506 GB, free: 12.5 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.864e-05/0.5365, allocations: 7.969 kB / 0.6506 GB, free: 12.49 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 postOpt removeSimpleEquations (simulation): time 0.02337/0.5599, allocations: 7.643 MB / 0.658 GB, free: 4.711 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.2e-05/0.56, allocations: 0 / 0.658 GB, free: 4.711 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001037/0.561, allocations: 175.7 kB / 0.6582 GB, free: 4.539 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008094/0.5691, allocations: 2.252 MB / 0.6604 GB, free: 2.277 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002205/0.5694, allocations: 35.98 kB / 0.6604 GB, free: 2.242 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02982/0.5992, allocations: 12.07 MB / 0.6722 GB, free: 5.891 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.019e-06/0.5992, allocations: 4 kB / 0.6722 GB, free: 5.887 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02077/0.62, allocations: 6.37 MB / 0.6785 GB, free: 15.48 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007477/0.6208, allocations: 302.5 kB / 0.6787 GB, free: 15.16 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005457/0.6214, allocations: 28 kB / 0.6788 GB, free: 15.14 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00214/0.6235, allocations: 163.8 kB / 0.6789 GB, free: 14.98 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009643/0.6245, allocations: 281.3 kB / 0.6792 GB, free: 14.7 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001662/0.6247, allocations: 47.98 kB / 0.6792 GB, free: 14.66 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.002167/0.6268, allocations: 1.105 MB / 0.6803 GB, free: 13.56 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.61e-07/0.6268, allocations: 0 / 0.6803 GB, free: 13.56 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001865/0.6287, allocations: 0.6009 MB / 0.6809 GB, free: 12.96 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 16 (gENCLS.omega,gENCLS.delta,gENCLS.eq,gENROU.w,gENROU.delta,gENROU.Epd,gENROU.Epq,gENROU.PSIkd,gENROU.PSIkq,iEEET1.derivativeLag.x,iEEET1.simpleLagLim.state,iEEET1.rotatingExciter.sISO.y,iEEET1.TransducerDelay.state,gAST.transferFunction1.x_scaled[1],gAST.transferFunction2.x_scaled[1],gAST.simpleLagLim.state) * Number of discrete variables: 4 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (99): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(26,23), (1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004531/0.6292, allocations: 175.1 kB / 0.6811 GB, free: 12.77 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01028/0.6395, allocations: 3.244 MB / 0.6842 GB, free: 9.504 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.37e-06/0.6395, allocations: 4 kB / 0.6842 GB, free: 9.5 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006755/0.6463, allocations: 2.183 MB / 0.6864 GB, free: 7.289 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00188/0.6482, allocations: 175.1 kB / 0.6865 GB, free: 7.121 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007189/0.6554, allocations: 3.606 MB / 0.6901 GB, free: 3.488 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001128/0.6565, allocations: 1.347 MB / 0.6914 GB, free: 2.105 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.001043/0.6576, allocations: 167.6 kB / 0.6915 GB, free: 1.938 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006226/0.6582, allocations: 111.4 kB / 0.6916 GB, free: 1.832 MB / 494.1 MB Notification: Performance of SimCode: time 1.022e-06/0.6583, allocations: 0 / 0.6916 GB, free: 1.832 MB / 494.1 MB Notification: Performance of Templates: time 0.05653/0.7148, allocations: 33.16 MB / 0.724 GB, free: 0.7031 MB / 0.5137 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.GAST.makefile (rm -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.GAST.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.GAST.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.GAST.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.GAST.sim & ./OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.GAST -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.GAST.pipe 2>&1)