Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.SCRX.conf.json 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/Modelica 4.0.0+maint.om/package.mo", uses=false) 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/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(OpenIPSL.Tests.Controls.PSSE.ES.SCRX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.SCRX") translateModel(OpenIPSL.Tests.Controls.PSSE.ES.SCRX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.SCRX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001069/0.001069, allocations: 182.2 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.241/1.241, allocations: 222.9 MB / 239.7 MB, free: 10.98 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00097/0.0009699, allocations: 102.5 kB / 289.9 MB, free: 10.95 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4158/0.4158, allocations: 78.49 MB / 418.5 MB, free: 8.848 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001193/0.001193, allocations: 63.91 kB / 497.4 MB, free: 10.71 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2444/0.2457, allocations: 68.12 MB / 0.5523 GB, free: 20.24 MB / 378.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.ES.SCRX): time 0.006435/0.2521, allocations: 8.591 MB / 0.5607 GB, free: 11.6 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.004104/0.2563, allocations: 2.599 MB / 0.5632 GB, free: 8.996 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000907/0.2572, allocations: 16 kB / 0.5633 GB, free: 8.98 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006691/0.2579, allocations: 262.4 kB / 0.5635 GB, free: 8.723 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002242/0.2602, allocations: 1.073 MB / 0.5646 GB, free: 7.648 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/NonElectrical/Logical/NegCurLogic.mo:14:3-14:60:writable] Warning: In relation sCRX.negCurLogic.RC_rfd == 0.0, == on Real numbers is only allowed inside functions. Notification: Performance of NFTyping.typeClassSections: time 0.001139/0.2613, allocations: 0.6369 MB / 0.5652 GB, free: 7.02 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.001728/0.263, allocations: 2.233 MB / 0.5674 GB, free: 4.777 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004431/0.2635, allocations: 381.7 kB / 0.5677 GB, free: 4.383 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006793/0.2642, allocations: 0.8089 MB / 0.5685 GB, free: 3.57 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008097/0.265, allocations: 1.066 MB / 0.5696 GB, free: 2.5 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001822/0.2652, allocations: 104 kB / 0.5697 GB, free: 2.398 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005794/0.2658, allocations: 327.7 kB / 0.57 GB, free: 2.078 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002533/0.2661, allocations: 402.2 kB / 0.5703 GB, free: 1.684 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005207/0.2666, allocations: 0.8309 MB / 0.5712 GB, free: 0.8477 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001667/0.2683, allocations: 2.211 MB / 0.5733 GB, free: 14.63 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.2683, allocations: 0 / 0.5733 GB, free: 14.63 MB / 394.7 MB Notification: Performance of FrontEnd: time 7.91e-07/0.2683, allocations: 0 / 0.5733 GB, free: 14.63 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.82e-05/0.2683, allocations: 0 / 0.5733 GB, free: 14.63 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 246 * Number of variables: 246 Notification: Performance of Generate backend data structure: time 0.01354/0.2819, allocations: 3.76 MB / 0.577 GB, free: 10.81 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.852e-05/0.2819, allocations: 8.031 kB / 0.577 GB, free: 10.8 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004366/0.2863, allocations: 0.751 MB / 0.5777 GB, free: 10.05 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00186/0.2882, allocations: 1.108 MB / 0.5788 GB, free: 8.891 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000402/0.2886, allocations: 424.7 kB / 0.5792 GB, free: 8.406 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002028/0.2888, allocations: 115.9 kB / 0.5793 GB, free: 8.293 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002791/0.2916, allocations: 1.428 MB / 0.5807 GB, free: 6.848 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.935e-05/0.2916, allocations: 4 kB / 0.5807 GB, free: 6.844 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001174/0.2917, allocations: 39.98 kB / 0.5808 GB, free: 6.805 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.78e-05/0.2918, allocations: 24 kB / 0.5808 GB, free: 6.781 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002884/0.2947, allocations: 1.347 MB / 0.5821 GB, free: 5.434 MB / 394.7 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.008255/0.3029, allocations: 4.938 MB / 0.5869 GB, free: 288 kB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008538/0.3115, allocations: 2.897 MB / 0.5898 GB, free: 13.25 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002063/0.3136, allocations: 0.9112 MB / 0.5906 GB, free: 12.33 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001484/0.3137, allocations: 32.91 kB / 0.5907 GB, free: 12.3 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002222/0.316, allocations: 1.054 MB / 0.5917 GB, free: 11.22 MB / 410.7 MB Notification: Performance of pre-optimization done (n=126): time 3.507e-06/0.316, allocations: 0 / 0.5917 GB, free: 11.22 MB / 410.7 MB Notification: Performance of matching and sorting (n=126): time 0.04123/0.3572, allocations: 9.785 MB / 0.6013 GB, free: 1.398 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.929e-05/0.3573, allocations: 123.9 kB / 0.6014 GB, free: 1.25 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002318/0.3597, allocations: 1.411 MB / 0.6028 GB, free: 15.82 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000231/0.3599, allocations: 53.7 kB / 0.6028 GB, free: 15.77 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004694/0.3604, allocations: 0.5962 MB / 0.6034 GB, free: 15.17 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005467/0.3609, allocations: 457.5 kB / 0.6038 GB, free: 14.71 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007842/0.3617, allocations: 335.4 kB / 0.6041 GB, free: 14.38 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.531e-05/0.3618, allocations: 309.1 kB / 0.6044 GB, free: 14.08 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002237/0.3641, allocations: 0.9682 MB / 0.6054 GB, free: 13.11 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002371/0.3665, allocations: 1.174 MB / 0.6065 GB, free: 11.89 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004408/0.3709, allocations: 2.081 MB / 0.6086 GB, free: 9.766 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-05/0.3709, allocations: 11.94 kB / 0.6086 GB, free: 9.754 MB / 426.7 MB Notification: Performance of matching and sorting (n=236) (initialization): time 0.009483/0.3804, allocations: 3.703 MB / 0.6122 GB, free: 6.039 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.139e-05/0.3804, allocations: 8 kB / 0.6122 GB, free: 6.031 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.581e-05/0.3805, allocations: 8 kB / 0.6122 GB, free: 6.023 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0102/0.3907, allocations: 2.97 MB / 0.6151 GB, free: 3.051 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001336/0.392, allocations: 279.6 kB / 0.6154 GB, free: 2.777 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007725/0.3998, allocations: 2.985 MB / 0.6183 GB, free: 15.76 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002403/0.4022, allocations: 246.3 kB / 0.6185 GB, free: 15.52 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002568/0.4025, allocations: 67.97 kB / 0.6186 GB, free: 15.45 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (161): * Single equations (assignments): 160 * 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 {(34,42)} Notification: Performance of prepare postOptimizeDAE: time 0.0006687/0.4031, allocations: 302.5 kB / 0.6189 GB, free: 15.15 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003945/0.4035, allocations: 161.9 kB / 0.619 GB, free: 14.99 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01705/0.4206, allocations: 4.819 MB / 0.6237 GB, free: 10.14 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.09e-05/0.4207, allocations: 16 kB / 0.6238 GB, free: 10.13 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.213e-06/0.4207, allocations: 0 / 0.6238 GB, free: 10.13 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.431e-05/0.4207, allocations: 19.91 kB / 0.6238 GB, free: 10.11 MB / 442.7 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.02131/0.442, allocations: 6.887 MB / 0.6305 GB, free: 3.086 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.358e-05/0.4421, allocations: 0 / 0.6305 GB, free: 3.086 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000956/0.443, allocations: 139.8 kB / 0.6306 GB, free: 2.949 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007913/0.451, allocations: 2.146 MB / 0.6327 GB, free: 0.8008 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003414/0.4514, allocations: 27.98 kB / 0.6328 GB, free: 0.7734 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02547/0.4768, allocations: 9.175 MB / 0.6417 GB, free: 7.453 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/0.4769, allocations: 4 kB / 0.6417 GB, free: 7.449 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.34/0.8169, allocations: 40.56 MB / 0.6813 GB, free: 110.6 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003926/0.8174, allocations: 272 kB / 0.6816 GB, free: 110.6 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002392/0.8176, allocations: 25.56 kB / 0.6816 GB, free: 110.6 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001678/0.8193, allocations: 134.5 kB / 0.6817 GB, free: 110.6 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008813/0.8202, allocations: 251.4 kB / 0.682 GB, free: 110.6 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000117/0.8203, allocations: 40.56 kB / 0.682 GB, free: 110.6 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001504/0.8218, allocations: 0.9591 MB / 0.683 GB, free: 110.4 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.5e-07/0.8218, allocations: 0 / 0.683 GB, free: 110.4 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002358/0.8242, allocations: 0.7904 MB / 0.6837 GB, free: 110.4 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 11 (gENCLS.omega,gENCLS.delta,gENCLS.eq,gENROU.w,gENROU.delta,gENROU.Epd,gENROU.Epq,gENROU.PSIkd,gENROU.PSIkq,sCRX.imLeadLag.TF.x_scaled[1],sCRX.simpleLagLim.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 (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 {(26,23)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003617/0.8246, allocations: 165.2 kB / 0.6839 GB, free: 110.4 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.009234/0.8338, allocations: 2.855 MB / 0.6867 GB, free: 110.3 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 6.563e-06/0.8339, allocations: 0.7188 kB / 0.6867 GB, free: 110.3 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006488/0.8404, allocations: 1.889 MB / 0.6885 GB, free: 110.1 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001296/0.8417, allocations: 136.3 kB / 0.6886 GB, free: 110.1 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01083/0.8525, allocations: 5.25 MB / 0.6938 GB, free: 107.5 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005724/0.8531, allocations: 1.286 MB / 0.695 GB, free: 106.7 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0006576/0.8538, allocations: 151.8 kB / 0.6952 GB, free: 106.7 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004068/0.8542, allocations: 97.59 kB / 0.6953 GB, free: 106.7 MB / 490.7 MB Notification: Performance of SimCode: time 7.62e-07/0.8542, allocations: 0 / 0.6953 GB, free: 106.7 MB / 490.7 MB Notification: Performance of Templates: time 0.04641/0.9006, allocations: 41.88 MB / 0.7362 GB, free: 73.54 MB / 490.7 MB make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.SCRX.makefile (rm -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.SCRX.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.SCRX.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.SCRX.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.SCRX.sim & ./OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.SCRX -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.SCRX.pipe 2>&1)