Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.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.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008298/0.0008297, allocations: 100 kB / 15.05 MB, free: 1.105 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.467/1.467, allocations: 223.2 MB / 238.9 MB, free: 5.465 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.001769/0.001769, allocations: 188.5 kB / 290.2 MB, free: 2.152 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5445/0.5445, allocations: 79.45 MB / 420.7 MB, free: 3.941 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0006438/0.0006439, allocations: 8 kB / 0.489 GB, free: 5.574 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1886/0.1893, allocations: 69.52 MB / 0.5569 GB, free: 0 / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII): time 0.3263/0.5156, allocations: 12.14 MB / 0.5687 GB, free: 34.8 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00823/0.5239, allocations: 3.581 MB / 0.5722 GB, free: 32.23 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002328/0.5262, allocations: 28.56 kB / 0.5723 GB, free: 32.23 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001168/0.5274, allocations: 393.7 kB / 0.5726 GB, free: 32.05 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003818/0.5312, allocations: 1.345 MB / 0.574 GB, free: 31.13 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002921/0.5342, allocations: 1.275 MB / 0.5752 GB, free: 30.55 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.003879/0.538, allocations: 2.375 MB / 0.5775 GB, free: 29.26 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008495/0.5389, allocations: 0.6974 MB / 0.5782 GB, free: 28.98 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001648/0.5406, allocations: 1.312 MB / 0.5795 GB, free: 28.36 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00147/0.542, allocations: 1.663 MB / 0.5811 GB, free: 27.62 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002771/0.5423, allocations: 147.4 kB / 0.5812 GB, free: 27.61 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000649/0.543, allocations: 256.4 kB / 0.5815 GB, free: 27.58 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003994/0.5434, allocations: 0.5795 MB / 0.5821 GB, free: 27.24 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000425/0.5438, allocations: 0.5208 MB / 0.5826 GB, free: 26.92 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002292/0.5461, allocations: 2.815 MB / 0.5853 GB, free: 26.05 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.207e-06/0.5461, allocations: 0 / 0.5853 GB, free: 26.05 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.465e-06/0.5461, allocations: 1.125 kB / 0.5853 GB, free: 26.05 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.201e-05/0.5462, allocations: 0 / 0.5853 GB, free: 26.05 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: 523 * Number of variables: 523 Notification: Performance of Generate backend data structure: time 0.02127/0.5675, allocations: 6.161 MB / 0.5913 GB, free: 23.78 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.85e-05/0.5675, allocations: 8 kB / 0.5913 GB, free: 23.78 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01535/0.5829, allocations: 2.295 MB / 0.5936 GB, free: 23.36 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004872/0.5878, allocations: 1.762 MB / 0.5953 GB, free: 22.32 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006951/0.5885, allocations: 0.7546 MB / 0.596 GB, free: 21.66 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005457/0.5891, allocations: 217.8 kB / 0.5962 GB, free: 21.58 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007048/0.5962, allocations: 3.205 MB / 0.5994 GB, free: 20.4 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.263e-05/0.5962, allocations: 0 / 0.5994 GB, free: 20.4 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002478/0.5965, allocations: 83.91 kB / 0.5995 GB, free: 20.34 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.989e-05/0.5965, allocations: 54.17 kB / 0.5995 GB, free: 20.34 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006675/0.6032, allocations: 2.969 MB / 0.6024 GB, free: 19.37 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.02217/0.6254, allocations: 10.47 MB / 0.6126 GB, free: 13.48 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01208/0.6375, allocations: 4.852 MB / 0.6174 GB, free: 11.75 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005452/0.6381, allocations: 36.64 kB / 0.6174 GB, free: 11.74 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005464/0.6436, allocations: 2.422 MB / 0.6198 GB, free: 10.6 MB / 430.1 MB Notification: Performance of pre-optimization done (n=248): time 4.188e-06/0.6436, allocations: 0 / 0.6198 GB, free: 10.6 MB / 430.1 MB Notification: Performance of matching and sorting (n=248): time 0.1241/0.7676, allocations: 34.65 MB / 0.6536 GB, free: 9.141 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.783e-05/0.7678, allocations: 188.2 kB / 0.6538 GB, free: 8.918 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003691/0.7715, allocations: 2.254 MB / 0.656 GB, free: 6.645 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0008401/0.7723, allocations: 69.7 kB / 0.6561 GB, free: 6.57 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009069/0.7733, allocations: 1.164 MB / 0.6572 GB, free: 5.395 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001335/0.7746, allocations: 0.8665 MB / 0.658 GB, free: 4.516 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000246/0.7749, allocations: 64 kB / 0.6581 GB, free: 4.453 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001938/0.7751, allocations: 428.8 kB / 0.6585 GB, free: 4.027 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004464/0.7795, allocations: 2.142 MB / 0.6606 GB, free: 1.883 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005101/0.7847, allocations: 2.498 MB / 0.663 GB, free: 15.29 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005378/0.7901, allocations: 2.411 MB / 0.6654 GB, free: 12.84 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.121e-05/0.7901, allocations: 1.875 kB / 0.6654 GB, free: 12.84 MB / 478.1 MB Notification: Performance of matching and sorting (n=417) (initialization): time 0.04432/0.8344, allocations: 15.16 MB / 0.6802 GB, free: 13.61 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001076/0.8346, allocations: 122.7 kB / 0.6803 GB, free: 13.46 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.685e-05/0.8346, allocations: 8 kB / 0.6803 GB, free: 13.45 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02053/0.8552, allocations: 6.417 MB / 0.6866 GB, free: 7.047 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003148/0.8583, allocations: 0.5703 MB / 0.6871 GB, free: 6.477 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0649/0.9233, allocations: 26.48 MB / 0.713 GB, free: 11.87 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005546/0.9288, allocations: 0.5837 MB / 0.7136 GB, free: 11.29 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007725/0.9296, allocations: 120 kB / 0.7137 GB, free: 11.17 MB / 0.5137 GB Warning: Assuming fixed start value for the following 7 variables: Exc2.firstOrder2.y:VARIABLE(flow=false start = Exc2.firstOrder2.y_start fixed = true ) "Connector of Real output signal" type: Real Exc1.firstOrder2.y:VARIABLE(flow=false start = Exc1.firstOrder2.y_start fixed = true ) "Connector of Real output signal" type: Real order4_1.e1d:VARIABLE(start = order4_1.e1d0 unit = "1" fixed = true ) "d-axis transient voltage" type: Real order4_1.e1q:VARIABLE(start = order4_1.e1q0 unit = "1" fixed = true ) "q-axis transient voltage" type: Real order4_1.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order2.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order3_2.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * 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 initialization (327): * Single equations (assignments): 322 * Array equations: 0 * Algorithm blocks: 4 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {65 26} Notification: Performance of prepare postOptimizeDAE: time 0.001565/0.9312, allocations: 0.5336 MB / 0.7142 GB, free: 10.62 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008285/0.9321, allocations: 296.3 kB / 0.7145 GB, free: 10.33 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04245/0.9745, allocations: 14.72 MB / 0.7289 GB, free: 11.55 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.4e-05/0.9746, allocations: 35.95 kB / 0.7289 GB, free: 11.52 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.616e-05/0.9746, allocations: 16 kB / 0.7289 GB, free: 11.5 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.302e-05/0.9747, allocations: 11.95 kB / 0.7289 GB, free: 11.49 MB / 0.5294 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.0495/1.024, allocations: 18.43 MB / 0.7469 GB, free: 8.875 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.949e-05/1.024, allocations: 0 / 0.7469 GB, free: 8.875 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001711/1.026, allocations: 247.6 kB / 0.7472 GB, free: 8.633 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01947/1.046, allocations: 6.229 MB / 0.7533 GB, free: 2.391 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008873/1.046, allocations: 51.98 kB / 0.7533 GB, free: 2.34 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3748/1.421, allocations: 26.87 MB / 0.7795 GB, free: 162.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.5e-06/1.421, allocations: 6.719 kB / 0.7796 GB, free: 162.6 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05238/1.474, allocations: 17.32 MB / 0.7965 GB, free: 162 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001672/1.475, allocations: 411.8 kB / 0.7969 GB, free: 161.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001017/1.476, allocations: 48.14 kB / 0.7969 GB, free: 161.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003388/1.48, allocations: 409 kB / 0.7973 GB, free: 161.8 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002249/1.482, allocations: 0.5747 MB / 0.7979 GB, free: 161.8 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002092/1.482, allocations: 65.47 kB / 0.7979 GB, free: 161.8 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0025/1.485, allocations: 1.484 MB / 0.7994 GB, free: 161.6 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.01e-07/1.485, allocations: 2.391 kB / 0.7994 GB, free: 161.6 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004193/1.489, allocations: 1.178 MB / 0.8005 GB, free: 161.6 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 17 (order3_2.delta,order3_2.w,order3_2.e1q,order2.delta,order2.w,order4_1.delta,order4_1.w,order4_1.e1q,order4_1.e1d,Exc1.ExcitationSystem.x_scaled[1],Exc1.derivativeBlock.x,Exc1.firstOrder2.y,Exc1.simpleLagLim.state,Exc2.ExcitationSystem.x_scaled[1],Exc2.derivativeBlock.x,Exc2.firstOrder2.y,Exc2.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 (157): * Single equations (assignments): 152 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(65,7.8%) 23} * Non-linear torn systems: 2 {1 6,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004554/1.49, allocations: 175.6 kB / 0.8007 GB, free: 161.5 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.02054/1.51, allocations: 7.496 MB / 0.808 GB, free: 159.9 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.021e-06/1.51, allocations: 0 / 0.808 GB, free: 159.9 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.01488/1.525, allocations: 5.085 MB / 0.813 GB, free: 158.1 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002343/1.527, allocations: 219.3 kB / 0.8132 GB, free: 158 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009132/1.537, allocations: 6.465 MB / 0.8195 GB, free: 154.1 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001523/1.538, allocations: 1.87 MB / 0.8213 GB, free: 153.3 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.00116/1.539, allocations: 263.3 kB / 0.8216 GB, free: 153.3 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005006/1.54, allocations: 165 kB / 0.8217 GB, free: 153.2 MB / 0.5606 GB Notification: Performance of SimCode: time 8.42e-07/1.54, allocations: 0 / 0.8217 GB, free: 153.2 MB / 0.5606 GB Notification: Performance of Templates: time 0.07519/1.615, allocations: 56.45 MB / 0.8769 GB, free: 103 MB / 0.5606 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.makefile (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.pipe 2>&1)