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.001206/0.001206, allocations: 113.9 kB / 16.41 MB, free: 6.492 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.444/1.444, allocations: 222.9 MB / 240.1 MB, free: 4.359 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.001653/0.001653, allocations: 188.5 kB / 290.4 MB, free: 2.094 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4996/0.4996, allocations: 78.53 MB / 419.1 MB, free: 3.117 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001809/0.001809, allocations: 87.86 kB / 0.5543 GB, free: 0.9141 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3835/0.3853, allocations: 68.17 MB / 0.6209 GB, free: 9.594 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.ES.ESAC1A): time 0.008461/0.3938, allocations: 9.09 MB / 0.6298 GB, free: 1.055 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.007708/0.4016, allocations: 2.974 MB / 0.6327 GB, free: 14.07 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001935/0.4036, allocations: 16 kB / 0.6327 GB, free: 14.05 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001344/0.4049, allocations: 349 kB / 0.633 GB, free: 13.71 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004402/0.4094, allocations: 1.245 MB / 0.6342 GB, free: 12.47 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00256/0.412, allocations: 0.932 MB / 0.6351 GB, free: 11.54 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.00428/0.4163, allocations: 2.687 MB / 0.6378 GB, free: 8.848 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001119/0.4174, allocations: 0.5374 MB / 0.6383 GB, free: 8.273 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00191/0.4193, allocations: 1.019 MB / 0.6393 GB, free: 7.25 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00224/0.4216, allocations: 1.256 MB / 0.6405 GB, free: 5.988 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008224/0.4224, allocations: 224 kB / 0.6407 GB, free: 5.77 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001608/0.424, allocations: 491.7 kB / 0.6412 GB, free: 5.289 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009189/0.425, allocations: 0.5292 MB / 0.6417 GB, free: 4.758 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001869/0.4269, allocations: 1.041 MB / 0.6427 GB, free: 3.711 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004201/0.4311, allocations: 2.723 MB / 0.6454 GB, free: 0.9805 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.56e-06/0.4311, allocations: 0 / 0.6454 GB, free: 0.9805 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.4311, allocations: 0 / 0.6454 GB, free: 0.9805 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001036/0.4312, allocations: 0 / 0.6454 GB, free: 0.9805 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: 283 * Number of variables: 283 Notification: Performance of Generate backend data structure: time 0.01759/0.4488, allocations: 4.148 MB / 0.6494 GB, free: 12.77 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.886e-05/0.4489, allocations: 12.03 kB / 0.6494 GB, free: 12.76 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005242/0.4541, allocations: 0.7742 MB / 0.6502 GB, free: 11.98 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003606/0.4578, allocations: 1.263 MB / 0.6514 GB, free: 10.67 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006743/0.4585, allocations: 0.4886 MB / 0.6519 GB, free: 10.1 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005791/0.4591, allocations: 135.9 kB / 0.652 GB, free: 9.965 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004663/0.4637, allocations: 1.624 MB / 0.6536 GB, free: 8.289 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.269e-05/0.4638, allocations: 4 kB / 0.6536 GB, free: 8.285 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000219/0.464, allocations: 48 kB / 0.6537 GB, free: 8.238 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.858e-05/0.4641, allocations: 24 kB / 0.6537 GB, free: 8.215 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003854/0.4679, allocations: 1.512 MB / 0.6552 GB, free: 6.695 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.01129/0.4792, allocations: 5.584 MB / 0.6606 GB, free: 0.8906 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009371/0.4886, allocations: 3.192 MB / 0.6637 GB, free: 13.56 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002664/0.4913, allocations: 1.014 MB / 0.6647 GB, free: 12.54 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007656/0.4921, allocations: 0.7336 MB / 0.6654 GB, free: 11.64 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002994/0.4951, allocations: 1.165 MB / 0.6666 GB, free: 10.45 MB / 478.1 MB Notification: Performance of pre-optimization done (n=139): time 5.651e-06/0.4952, allocations: 3.938 kB / 0.6666 GB, free: 10.45 MB / 478.1 MB Notification: Performance of matching and sorting (n=139): time 0.04265/0.5378, allocations: 9.963 MB / 0.6763 GB, free: 452 kB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000121/0.538, allocations: 149.8 kB / 0.6765 GB, free: 268 kB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003539/0.5415, allocations: 1.565 MB / 0.678 GB, free: 14.69 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004891/0.5421, allocations: 57.7 kB / 0.678 GB, free: 14.63 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000754/0.5428, allocations: 0.6753 MB / 0.6787 GB, free: 13.94 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009074/0.5437, allocations: 0.4968 MB / 0.6792 GB, free: 13.44 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00142/0.5452, allocations: 379.6 kB / 0.6796 GB, free: 13.06 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001345/0.5453, allocations: 309.1 kB / 0.6798 GB, free: 12.75 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002865/0.5482, allocations: 1.091 MB / 0.6809 GB, free: 11.65 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003053/0.5513, allocations: 1.318 MB / 0.6822 GB, free: 10.27 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00564/0.5569, allocations: 2.294 MB / 0.6844 GB, free: 7.922 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.206e-05/0.557, allocations: 0 / 0.6844 GB, free: 7.922 MB / 494.1 MB Notification: Performance of matching and sorting (n=265) (initialization): time 0.01233/0.5693, allocations: 4.117 MB / 0.6885 GB, free: 3.789 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.337e-05/0.5694, allocations: 12.03 kB / 0.6885 GB, free: 3.777 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.828e-05/0.5694, allocations: 4 kB / 0.6885 GB, free: 3.773 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01082/0.5802, allocations: 2.789 MB / 0.6912 GB, free: 0.9727 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002053/0.5823, allocations: 351.5 kB / 0.6915 GB, free: 0.6289 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008238/0.5906, allocations: 3.365 MB / 0.6948 GB, free: 13.21 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003131/0.5938, allocations: 290 kB / 0.6951 GB, free: 12.93 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004534/0.5943, allocations: 75.91 kB / 0.6952 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003946/0.5982, allocations: 1.32 MB / 0.6965 GB, free: 11.53 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003232/0.6015, allocations: 1.306 MB / 0.6977 GB, free: 10.16 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.006208/0.6077, allocations: 2.27 MB / 0.7 GB, free: 7.836 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.394e-05/0.6078, allocations: 0 / 0.7 GB, free: 7.836 MB / 0.4981 GB Notification: Performance of matching and sorting (n=265) (initialization_lambda0): time 0.013/0.6208, allocations: 4.093 MB / 0.7039 GB, free: 3.727 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.008e-05/0.6208, allocations: 9.719 kB / 0.704 GB, free: 3.719 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.05e-05/0.6209, allocations: 4 kB / 0.704 GB, free: 3.715 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01052/0.6314, allocations: 2.797 MB / 0.7067 GB, free: 0.9102 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001973/0.6334, allocations: 343.5 kB / 0.707 GB, free: 0.5742 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008164/0.6416, allocations: 3.368 MB / 0.7103 GB, free: 13.15 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003037/0.6447, allocations: 258.5 kB / 0.7106 GB, free: 12.89 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004208/0.6451, allocations: 79.92 kB / 0.7106 GB, free: 12.82 MB / 0.5137 GB 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.0008092/0.6459, allocations: 271.9 kB / 0.7109 GB, free: 12.54 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007245/0.6467, allocations: 185.7 kB / 0.7111 GB, free: 12.36 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01848/0.6652, allocations: 5.056 MB / 0.716 GB, free: 7.281 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.191e-05/0.6652, allocations: 16 kB / 0.716 GB, free: 7.266 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.627e-05/0.6653, allocations: 3.938 kB / 0.716 GB, free: 7.262 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.04e-05/0.6653, allocations: 11.97 kB / 0.716 GB, free: 7.25 MB / 0.5137 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.024/0.6893, allocations: 7.257 MB / 0.7231 GB, free: 15.86 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.343e-05/0.6894, allocations: 3.984 kB / 0.7231 GB, free: 15.86 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001276/0.6907, allocations: 187.8 kB / 0.7233 GB, free: 15.67 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008078/0.6988, allocations: 2.142 MB / 0.7254 GB, free: 13.53 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003655/0.6992, allocations: 35.98 kB / 0.7254 GB, free: 13.49 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02833/0.7275, allocations: 10.05 MB / 0.7352 GB, free: 3.289 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.7276, allocations: 0 / 0.7352 GB, free: 3.289 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02123/0.7488, allocations: 6.265 MB / 0.7414 GB, free: 12.99 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008529/0.7497, allocations: 294.3 kB / 0.7416 GB, free: 12.68 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000723/0.7504, allocations: 28 kB / 0.7417 GB, free: 12.66 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002254/0.7527, allocations: 159.8 kB / 0.7418 GB, free: 12.5 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001151/0.7539, allocations: 281.3 kB / 0.7421 GB, free: 12.22 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002595/0.7542, allocations: 43.98 kB / 0.7421 GB, free: 12.18 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.002281/0.7565, allocations: 1.049 MB / 0.7432 GB, free: 11.14 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.1e-07/0.7565, allocations: 0 / 0.7432 GB, free: 11.14 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.003852/0.7603, allocations: 0.9363 MB / 0.7441 GB, free: 10.2 MB / 0.545 GB 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.0005902/0.7609, allocations: 167 kB / 0.7442 GB, free: 10.03 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01867/0.7796, allocations: 5.295 MB / 0.7494 GB, free: 4.73 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.117e-05/0.7797, allocations: 0 / 0.7494 GB, free: 4.73 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.007368/0.7871, allocations: 2.043 MB / 0.7514 GB, free: 2.672 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002347/0.7894, allocations: 168.1 kB / 0.7516 GB, free: 2.508 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008952/0.7984, allocations: 3.517 MB / 0.755 GB, free: 14.95 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001465/0.7999, allocations: 1.296 MB / 0.7563 GB, free: 13.63 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008738/0.8008, allocations: 127.4 kB / 0.7564 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of SimCode: time 7.82e-07/0.8008, allocations: 4 kB / 0.7564 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of Templates: time 0.3613/1.162, allocations: 33.19 MB / 0.7888 GB, free: 130.4 MB / 0.5606 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)