Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.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.Examples.PSATSystems.TwoArea.FourthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001195/0.001195, allocations: 180.9 kB / 7.651 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.324/1.324, allocations: 221.5 MB / 229.6 MB, free: 7.578 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00087/0.0008701, allocations: 92.2 kB / 280.5 MB, free: 5.309 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4862/0.4862, allocations: 78.12 MB / 409.4 MB, free: 6.41 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.464e-05/1.467e-05, allocations: 3.938 kB / 485 MB, free: 12.41 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1748/0.1748, allocations: 69.36 MB / 0.5413 GB, free: 6.945 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4758/0.6506, allocations: 101.5 MB / 0.6404 GB, free: 14.27 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002179/0.6509, allocations: 84.47 kB / 0.6405 GB, free: 14.19 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2508/0.9017, allocations: 98.73 MB / 0.7369 GB, free: 11.07 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.603e-06/0.9018, allocations: 0 / 0.7369 GB, free: 11.07 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.0004505/0.9022, allocations: 91.94 kB / 0.737 GB, free: 10.98 MB / 0.5417 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 893 * Number of variables: 893 Notification: Performance of Generate backend data structure: time 0.01968/0.9219, allocations: 5.735 MB / 0.7426 GB, free: 5.172 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.677e-05/0.922, allocations: 8.031 kB / 0.7426 GB, free: 5.164 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01775/0.9397, allocations: 2.776 MB / 0.7453 GB, free: 2.379 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00824/0.948, allocations: 2.274 MB / 0.7475 GB, free: 28 kB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001115/0.9492, allocations: 0.8636 MB / 0.7484 GB, free: 15.03 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001417/0.9506, allocations: 196 kB / 0.7486 GB, free: 14.84 MB / 0.5573 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008057/0.9587, allocations: 3.443 MB / 0.7519 GB, free: 11.39 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007157/0.9659, allocations: 3.586 MB / 0.7554 GB, free: 7.777 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.774e-05/0.966, allocations: 0 / 0.7554 GB, free: 7.777 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003601/0.9663, allocations: 0 / 0.7554 GB, free: 7.777 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.465e-05/0.9664, allocations: 84.56 kB / 0.7555 GB, free: 7.695 MB / 0.5573 GB Warning: The model contains alias variables with conflicting start and/or 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.3396/1.306, allocations: 18.04 MB / 0.7731 GB, free: 85.39 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009813/1.316, allocations: 4.686 MB / 0.7777 GB, free: 84.96 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003593/1.319, allocations: 2.118 MB / 0.7798 GB, free: 84.93 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004533/1.32, allocations: 75.09 kB / 0.7798 GB, free: 84.93 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003595/1.324, allocations: 2.481 MB / 0.7823 GB, free: 84.79 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=383): time 5.871e-06/1.324, allocations: 3 kB / 0.7823 GB, free: 84.79 MB / 0.5573 GB Notification: Performance of matching and sorting (n=383): time 0.05092/1.374, allocations: 17.28 MB / 0.7991 GB, free: 84.25 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.264e-05/1.375, allocations: 146.3 kB / 0.7993 GB, free: 84.12 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003974/1.379, allocations: 2.43 MB / 0.8016 GB, free: 83.84 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0008455/1.379, allocations: 25.7 kB / 0.8017 GB, free: 83.81 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.001371/1.381, allocations: 1.991 MB / 0.8036 GB, free: 83.38 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.001683/1.382, allocations: 1.255 MB / 0.8048 GB, free: 82.71 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002803/1.383, allocations: 0 / 0.8048 GB, free: 82.71 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001798/1.383, allocations: 443.9 kB / 0.8053 GB, free: 82.41 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002809/1.386, allocations: 1.766 MB / 0.807 GB, free: 82.4 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003046/1.389, allocations: 2.328 MB / 0.8093 GB, free: 81.84 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003129/1.392, allocations: 1.962 MB / 0.8112 GB, free: 81.77 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-05/1.392, allocations: 4.688 kB / 0.8112 GB, free: 81.77 MB / 0.5573 GB Notification: Performance of matching and sorting (n=468) (initialization): time 0.04977/1.442, allocations: 17.33 MB / 0.8281 GB, free: 80.68 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 7.355e-05/1.442, allocations: 70.03 kB / 0.8282 GB, free: 80.62 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.768e-05/1.442, allocations: 14 kB / 0.8282 GB, free: 80.62 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03214/1.474, allocations: 6.898 MB / 0.8349 GB, free: 80.21 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004155/1.478, allocations: 0.5562 MB / 0.8355 GB, free: 80.21 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05657/1.535, allocations: 25.23 MB / 0.8601 GB, free: 70.41 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005572/1.54, allocations: 0.627 MB / 0.8607 GB, free: 70.3 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006583/1.541, allocations: 131.1 kB / 0.8608 GB, free: 70.27 MB / 0.5573 GB Warning: Assuming fixed start value for the following 5 variables: order4.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order3.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real aVRTypeII.firstOrder2.y:VARIABLE(start = aVRTypeII.firstOrder2.y_start ) "Connector of Real output signal" type: Real order4.e1d:VARIABLE(start = order4.e1d0 unit = "1" ) "d-axis transient voltage" type: Real order4.e1q:VARIABLE(start = order4.e1q0 unit = "1" ) "q-axis transient voltage" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 65 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (331): * Single equations (assignments): 328 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {93 45} Notification: Performance of prepare postOptimizeDAE: time 0.0008502/1.542, allocations: 213.5 kB / 0.861 GB, free: 70.12 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001159/1.543, allocations: 455.9 kB / 0.8615 GB, free: 69.88 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04764/1.591, allocations: 17.74 MB / 0.8788 GB, free: 63.96 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.6e-05/1.591, allocations: 37.5 kB / 0.8788 GB, free: 63.92 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.847e-05/1.591, allocations: 32 kB / 0.8789 GB, free: 63.89 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.586e-05/1.591, allocations: 19.08 kB / 0.8789 GB, free: 63.89 MB / 0.5573 GB Warning: The model contains alias variables with conflicting start and/or 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.0541/1.645, allocations: 22.34 MB / 0.9007 GB, free: 47.04 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.362e-05/1.645, allocations: 4 kB / 0.9007 GB, free: 47.04 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002318/1.648, allocations: 392.1 kB / 0.9011 GB, free: 46.72 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02113/1.669, allocations: 6.96 MB / 0.9079 GB, free: 41.33 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009403/1.67, allocations: 23.73 kB / 0.9079 GB, free: 41.31 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04733/1.717, allocations: 24.18 MB / 0.9315 GB, free: 19.71 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.899e-06/1.717, allocations: 0 / 0.9315 GB, free: 19.71 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05196/1.769, allocations: 20.59 MB / 0.9516 GB, free: 2.812 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001702/1.771, allocations: 0.559 MB / 0.9522 GB, free: 2.262 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001139/1.772, allocations: 12.62 kB / 0.9522 GB, free: 2.254 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004445/1.776, allocations: 437.3 kB / 0.9526 GB, free: 1.93 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002677/1.779, allocations: 0.7826 MB / 0.9534 GB, free: 1.504 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000377/1.779, allocations: 91.42 kB / 0.9535 GB, free: 1.418 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.002632/1.782, allocations: 1.8 MB / 0.9552 GB, free: 15.77 MB / 0.573 GB Notification: Performance of sort global known variables: time 4.51e-07/1.782, allocations: 0 / 0.9552 GB, free: 15.77 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.007182/1.789, allocations: 1.592 MB / 0.9568 GB, free: 14.18 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 11 (order3.delta,order3.w,order3.e1q,order4.delta,order4.w,order4.e1q,order4.e1d,aVRTypeII.ExcitationSystem.x_scaled[1],aVRTypeII.derivativeBlock.x,aVRTypeII.firstOrder2.y,aVRTypeII.simpleLagLim.state) * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (247): * Single equations (assignments): 244 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(98,5.5%) 38} * Non-linear torn systems: 1 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.000777/1.79, allocations: 151.4 kB / 0.9569 GB, free: 14.04 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.02111/1.811, allocations: 7.949 MB / 0.9647 GB, free: 6.773 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 5.921e-06/1.811, allocations: 1.438 kB / 0.9647 GB, free: 6.773 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.01843/1.83, allocations: 5.972 MB / 0.9705 GB, free: 1.492 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002967/1.833, allocations: 246.2 kB / 0.9707 GB, free: 1.262 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01153/1.844, allocations: 5.767 MB / 0.9764 GB, free: 12.05 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001897/1.846, allocations: 2.533 MB / 0.9788 GB, free: 9.578 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.001622/1.848, allocations: 296.5 kB / 0.9791 GB, free: 9.297 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007662/1.849, allocations: 199.4 kB / 0.9793 GB, free: 9.102 MB / 0.5886 GB Notification: Performance of SimCode: time 8.51e-07/1.849, allocations: 0 / 0.9793 GB, free: 9.102 MB / 0.5886 GB Notification: Performance of Templates: time 0.3856/2.234, allocations: 72.26 MB / 1.05 GB, free: 111.7 MB / 0.5886 GB make -j1 -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.makefile (rm -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.sim & ./OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.pipe 2>&1)