Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.ESAC1A.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: translateModel(OpenIPSL.Tests.Controls.PSSE.ES.ESAC1A,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.ESAC1A") translateModel(OpenIPSL.Tests.Controls.PSSE.ES.ESAC1A,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.ESAC1A") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001046/0.001046, allocations: 105 kB / 15.98 MB, free: 6.77 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.264/1.264, allocations: 222.9 MB / 239.6 MB, free: 4.594 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.001427/0.001426, allocations: 192.4 kB / 289.9 MB, free: 2.328 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4305/0.4305, allocations: 78.51 MB / 418.6 MB, free: 3.281 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00153/0.00153, allocations: 75.88 kB / 497.6 MB, free: 6.691 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1291/0.1307, allocations: 68.18 MB / 0.5525 GB, free: 2.477 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.ES.ESAC1A): time 0.2333/0.364, allocations: 9.415 MB / 0.5617 GB, free: 34.46 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00561/0.3696, allocations: 2.986 MB / 0.5646 GB, free: 33.71 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001778/0.3714, allocations: 20.72 kB / 0.5646 GB, free: 33.71 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009817/0.3724, allocations: 274.9 kB / 0.5649 GB, free: 33.69 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003136/0.3756, allocations: 1.091 MB / 0.566 GB, free: 33.44 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001812/0.3774, allocations: 0.8712 MB / 0.5668 GB, free: 33.35 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002859/0.3803, allocations: 2.671 MB / 0.5694 GB, free: 32.87 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006977/0.381, allocations: 0.5297 MB / 0.5699 GB, free: 32.77 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001233/0.3823, allocations: 1.024 MB / 0.5709 GB, free: 32.52 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001071/0.3833, allocations: 1.252 MB / 0.5722 GB, free: 32.21 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002856/0.3836, allocations: 219.4 kB / 0.5724 GB, free: 32.21 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007625/0.3844, allocations: 495.5 kB / 0.5728 GB, free: 32.2 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003247/0.3847, allocations: 0.5265 MB / 0.5734 GB, free: 32.08 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007254/0.3855, allocations: 1.047 MB / 0.5744 GB, free: 31.72 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001847/0.3873, allocations: 2.099 MB / 0.5764 GB, free: 31.17 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.668e-06/0.3873, allocations: 2.344 kB / 0.5764 GB, free: 31.17 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.3874, allocations: 0.9688 kB / 0.5764 GB, free: 31.17 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.413e-05/0.3874, allocations: 0 / 0.5764 GB, free: 31.17 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: 283 * Number of variables: 283 Notification: Performance of Generate backend data structure: time 0.01385/0.4013, allocations: 4.154 MB / 0.5805 GB, free: 29.53 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.173e-05/0.4013, allocations: 7.781 kB / 0.5805 GB, free: 29.53 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004385/0.4057, allocations: 0.7822 MB / 0.5813 GB, free: 29.34 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002156/0.4079, allocations: 1.255 MB / 0.5825 GB, free: 28.54 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004338/0.4083, allocations: 0.4894 MB / 0.583 GB, free: 28.09 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002287/0.4086, allocations: 126.2 kB / 0.5831 GB, free: 28.04 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00334/0.4119, allocations: 1.628 MB / 0.5847 GB, free: 27.39 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.615e-05/0.412, allocations: 3.938 kB / 0.5847 GB, free: 27.38 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001347/0.4121, allocations: 47.62 kB / 0.5847 GB, free: 27.35 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.42e-05/0.4121, allocations: 27.22 kB / 0.5848 GB, free: 27.35 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003305/0.4155, allocations: 1.514 MB / 0.5862 GB, free: 26.84 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.00964/0.4251, allocations: 5.614 MB / 0.5917 GB, free: 23.64 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009099/0.4342, allocations: 3.183 MB / 0.5948 GB, free: 22.38 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002548/0.4368, allocations: 1.01 MB / 0.5958 GB, free: 21.98 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005079/0.4374, allocations: 0.732 MB / 0.5965 GB, free: 21.12 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002733/0.4401, allocations: 1.165 MB / 0.5977 GB, free: 20.69 MB / 430.1 MB Notification: Performance of pre-optimization done (n=139): time 4.108e-06/0.4401, allocations: 0 / 0.5977 GB, free: 20.69 MB / 430.1 MB Notification: Performance of matching and sorting (n=139): time 0.04183/0.482, allocations: 9.963 MB / 0.6074 GB, free: 18.66 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.23e-05/0.4821, allocations: 148.2 kB / 0.6075 GB, free: 18.5 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002634/0.4847, allocations: 1.571 MB / 0.6091 GB, free: 17.65 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004312/0.4852, allocations: 52.77 kB / 0.6091 GB, free: 17.6 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003934/0.4856, allocations: 0.676 MB / 0.6098 GB, free: 16.99 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000541/0.4861, allocations: 0.4992 MB / 0.6103 GB, free: 16.55 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006869/0.4868, allocations: 380 kB / 0.6106 GB, free: 16.33 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.352e-05/0.4869, allocations: 309.1 kB / 0.6109 GB, free: 16.02 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002321/0.4892, allocations: 1.091 MB / 0.612 GB, free: 15.46 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002481/0.4917, allocations: 1.32 MB / 0.6133 GB, free: 14.68 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004575/0.4963, allocations: 2.287 MB / 0.6155 GB, free: 13.43 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.045e-05/0.4963, allocations: 1.375 kB / 0.6155 GB, free: 13.43 MB / 430.1 MB Notification: Performance of matching and sorting (n=265) (initialization): time 0.01005/0.5064, allocations: 4.124 MB / 0.6195 GB, free: 10.16 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.832e-05/0.5064, allocations: 8 kB / 0.6195 GB, free: 10.15 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.546e-05/0.5065, allocations: 4 kB / 0.6196 GB, free: 10.15 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009041/0.5155, allocations: 2.799 MB / 0.6223 GB, free: 7.344 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001753/0.5173, allocations: 352.8 kB / 0.6226 GB, free: 7 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006167/0.5235, allocations: 3.365 MB / 0.6259 GB, free: 3.59 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002845/0.5264, allocations: 286 kB / 0.6262 GB, free: 3.309 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002818/0.5267, allocations: 71.98 kB / 0.6263 GB, free: 3.238 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002623/0.5293, allocations: 1.324 MB / 0.6275 GB, free: 1.906 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002164/0.5315, allocations: 1.308 MB / 0.6288 GB, free: 0.5312 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004675/0.5362, allocations: 2.274 MB / 0.631 GB, free: 14.21 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.338e-06/0.5362, allocations: 4 kB / 0.631 GB, free: 14.2 MB / 446.1 MB Notification: Performance of matching and sorting (n=265) (initialization_lambda0): time 0.01088/0.5471, allocations: 4.093 MB / 0.635 GB, free: 10.1 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.365e-05/0.5472, allocations: 8.375 kB / 0.6351 GB, free: 10.09 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.068e-05/0.5472, allocations: 8 kB / 0.6351 GB, free: 10.08 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009618/0.5568, allocations: 2.785 MB / 0.6378 GB, free: 7.293 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001843/0.5587, allocations: 355.5 kB / 0.6381 GB, free: 6.945 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006952/0.5657, allocations: 3.364 MB / 0.6414 GB, free: 3.531 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002812/0.5685, allocations: 265 kB / 0.6417 GB, free: 3.273 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002547/0.5688, allocations: 75.97 kB / 0.6417 GB, free: 3.199 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: 3 ($whenCondition2,$whenCondition1,eSAC1A.rotatingExciterWithDemagnetization.sISO.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (200): * Single equations (assignments): 198 * 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 {(30,26), (1,10)} Notification: Performance of prepare postOptimizeDAE: time 0.0004928/0.5693, allocations: 268.9 kB / 0.642 GB, free: 2.93 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004107/0.5697, allocations: 177.8 kB / 0.6422 GB, free: 2.754 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01631/0.586, allocations: 5.057 MB / 0.6471 GB, free: 13.68 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.399e-05/0.5861, allocations: 20 kB / 0.6471 GB, free: 13.66 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.044e-05/0.5861, allocations: 0 / 0.6471 GB, free: 13.66 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.512e-05/0.5861, allocations: 11.91 kB / 0.6471 GB, free: 13.64 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.01977/0.6059, allocations: 7.278 MB / 0.6542 GB, free: 6.23 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.727e-05/0.606, allocations: 0 / 0.6542 GB, free: 6.23 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001216/0.6072, allocations: 188.5 kB / 0.6544 GB, free: 6.047 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007232/0.6145, allocations: 2.147 MB / 0.6565 GB, free: 3.898 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003362/0.6148, allocations: 35.98 kB / 0.6565 GB, free: 3.863 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02542/0.6403, allocations: 10.07 MB / 0.6664 GB, free: 9.652 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.957e-06/0.6403, allocations: 5.594 kB / 0.6664 GB, free: 9.648 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01991/0.6602, allocations: 6.255 MB / 0.6725 GB, free: 3.359 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007792/0.6611, allocations: 302.3 kB / 0.6728 GB, free: 3.043 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007158/0.6618, allocations: 28.94 kB / 0.6728 GB, free: 3.016 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002337/0.6641, allocations: 155.8 kB / 0.6729 GB, free: 2.863 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001102/0.6653, allocations: 285.3 kB / 0.6732 GB, free: 2.586 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002535/0.6655, allocations: 32 kB / 0.6733 GB, free: 2.555 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002019/0.6676, allocations: 1.057 MB / 0.6743 GB, free: 1.504 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.81e-07/0.6676, allocations: 0 / 0.6743 GB, free: 1.504 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.003563/0.6711, allocations: 0.9363 MB / 0.6752 GB, free: 0.5664 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 14 (gENCLS.omega,gENCLS.delta,gENCLS.eq,gENROE.w,gENROE.delta,gENROE.Epd,gENROE.Epq,gENROE.PSIkd,gENROE.PSIkq,eSAC1A.imLeadLag.TF.x_scaled[1],eSAC1A.imSimpleLag.state,eSAC1A.simpleLagLim.state,eSAC1A.derivative.x,eSAC1A.rotatingExciterWithDemagnetization.sISO.y) * 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 (96): * Single equations (assignments): 95 * 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.0005456/0.6717, allocations: 165.1 kB / 0.6754 GB, free: 408 kB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01792/0.6896, allocations: 5.358 MB / 0.6806 GB, free: 11.05 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 9.407e-06/0.6897, allocations: 0 / 0.6806 GB, free: 11.05 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006845/0.6966, allocations: 2.036 MB / 0.6826 GB, free: 8.996 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002333/0.6989, allocations: 168.7 kB / 0.6827 GB, free: 8.836 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008204/0.7072, allocations: 4.169 MB / 0.6868 GB, free: 4.695 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001044/0.7082, allocations: 1.3 MB / 0.6881 GB, free: 3.367 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008019/0.7091, allocations: 119.4 kB / 0.6882 GB, free: 3.25 MB / 494.1 MB Notification: Performance of SimCode: time 1.142e-06/0.7091, allocations: 0.75 kB / 0.6882 GB, free: 3.25 MB / 494.1 MB Notification: Performance of Templates: time 0.04436/0.7534, allocations: 33.03 MB / 0.7205 GB, free: 2.293 MB / 0.5137 GB make -j1 -f OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.ESAC1A.makefile (rm -f OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.ESAC1A.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.ESAC1A.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.ESAC1A.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.ESAC1A.sim & ./OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.ESAC1A -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.ESAC1A.pipe 2>&1)