Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_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.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 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.TwoAreaOld.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009994/0.0009998, allocations: 168.8 kB / 7.645 MB, free: 1.434 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.432/1.432, allocations: 221.5 MB / 229.6 MB, free: 7.512 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.001049/0.001049, allocations: 90.89 kB / 280.5 MB, free: 5.258 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4614/0.4614, allocations: 78.06 MB / 409.3 MB, free: 6.34 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.119e-05/1.121e-05, allocations: 0 / 484.9 MB, free: 12.24 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1384/0.1385, allocations: 69.36 MB / 0.5413 GB, free: 6.812 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3936/0.5321, allocations: 97.85 MB / 0.6368 GB, free: 1.684 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002135/0.5323, allocations: 85.67 kB / 0.6369 GB, free: 1.602 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08475/0.6171, allocations: 30.89 MB / 0.6671 GB, free: 2.742 MB / 474.7 MB Notification: Performance of FrontEnd: time 3.346e-06/0.6171, allocations: 0.6562 kB / 0.6671 GB, free: 2.742 MB / 474.7 MB Notification: Performance of Transformations before backend: time 7.935e-05/0.6172, allocations: 27.94 kB / 0.6671 GB, free: 2.715 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 189 * Number of variables: 189 Notification: Performance of Generate backend data structure: time 0.004481/0.6217, allocations: 1.698 MB / 0.6688 GB, free: 0.9609 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.84e-05/0.6217, allocations: 12.03 kB / 0.6688 GB, free: 0.9492 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003482/0.6252, allocations: 0.5602 MB / 0.6693 GB, free: 396 kB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001484/0.6267, allocations: 0.7587 MB / 0.6701 GB, free: 15.57 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002878/0.627, allocations: 232.2 kB / 0.6703 GB, free: 15.31 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001798/0.6272, allocations: 52.86 kB / 0.6703 GB, free: 15.26 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001474/0.6287, allocations: 0.8006 MB / 0.6711 GB, free: 14.46 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001457/0.6302, allocations: 0.8251 MB / 0.6719 GB, free: 13.62 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.758e-05/0.6302, allocations: 3.984 kB / 0.6719 GB, free: 13.62 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001056/0.6303, allocations: 0 / 0.6719 GB, free: 13.62 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.852e-05/0.6304, allocations: 20 kB / 0.672 GB, free: 13.6 MB / 490.7 MB 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.006826/0.6372, allocations: 3.657 MB / 0.6755 GB, free: 9.781 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007482/0.6447, allocations: 2.614 MB / 0.6781 GB, free: 7.07 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008379/0.6456, allocations: 0.5145 MB / 0.6786 GB, free: 6.555 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001159/0.6457, allocations: 20.69 kB / 0.6786 GB, free: 6.535 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001095/0.6468, allocations: 0.6371 MB / 0.6792 GB, free: 5.879 MB / 490.7 MB Notification: Performance of pre-optimization done (n=95): time 3.166e-06/0.6468, allocations: 7.938 kB / 0.6792 GB, free: 5.871 MB / 490.7 MB Notification: Performance of matching and sorting (n=95): time 0.01248/0.6593, allocations: 3.922 MB / 0.6831 GB, free: 1.934 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.18e-05/0.6594, allocations: 120 kB / 0.6832 GB, free: 1.789 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001377/0.6608, allocations: 0.8109 MB / 0.684 GB, free: 0.9648 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001186/0.6609, allocations: 33.64 kB / 0.684 GB, free: 0.9258 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004075/0.6613, allocations: 0.5166 MB / 0.6845 GB, free: 412 kB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003678/0.6617, allocations: 323.1 kB / 0.6848 GB, free: 84 kB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.576e-05/0.6618, allocations: 0 / 0.6848 GB, free: 84 kB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.000148/0.6619, allocations: 349.9 kB / 0.6852 GB, free: 15.73 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007503/0.6627, allocations: 438.6 kB / 0.6856 GB, free: 15.3 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008116/0.6635, allocations: 0.5536 MB / 0.6861 GB, free: 14.71 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008721/0.6644, allocations: 488.8 kB / 0.6866 GB, free: 14.23 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.764e-06/0.6644, allocations: 0 / 0.6866 GB, free: 14.23 MB / 0.4948 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.01256/0.677, allocations: 3.96 MB / 0.6904 GB, free: 10.26 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 6.062e-05/0.6771, allocations: 68.8 kB / 0.6905 GB, free: 10.18 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.059e-05/0.6771, allocations: 0 / 0.6905 GB, free: 10.18 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00552/0.6826, allocations: 1.506 MB / 0.692 GB, free: 8.672 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009708/0.6836, allocations: 183.8 kB / 0.6922 GB, free: 8.492 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01326/0.6969, allocations: 6.598 MB / 0.6986 GB, free: 1.77 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001574/0.6985, allocations: 183 kB / 0.6988 GB, free: 1.59 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001366/0.6986, allocations: 39.98 kB / 0.6988 GB, free: 1.551 MB / 0.4948 GB Warning: Assuming fixed start value for the following 4 variables: order3.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order2.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 order3.e1q:VARIABLE(start = order3.e1q0 unit = "1" ) "q-axis transient voltage" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (94): * Single equations (assignments): 91 * 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 {19 14} Notification: Performance of prepare postOptimizeDAE: time 0.0003267/0.699, allocations: 158 kB / 0.699 GB, free: 1.387 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002722/0.6992, allocations: 118.5 kB / 0.6991 GB, free: 1.27 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01208/0.7113, allocations: 4.036 MB / 0.703 GB, free: 13.21 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.314e-05/0.7114, allocations: 12 kB / 0.703 GB, free: 13.2 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.237e-05/0.7114, allocations: 5.219 kB / 0.703 GB, free: 13.2 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.899e-05/0.7114, allocations: 7.984 kB / 0.703 GB, free: 13.19 MB / 0.5105 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.0139/0.7253, allocations: 5.501 MB / 0.7084 GB, free: 7.598 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.43e-05/0.7254, allocations: 3.938 kB / 0.7084 GB, free: 7.594 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006817/0.7261, allocations: 99.89 kB / 0.7085 GB, free: 7.496 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004938/0.731, allocations: 1.49 MB / 0.71 GB, free: 6 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001868/0.7312, allocations: 8 kB / 0.71 GB, free: 5.992 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01357/0.7448, allocations: 7.533 MB / 0.7173 GB, free: 14.23 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.158e-06/0.7448, allocations: 3.938 kB / 0.7173 GB, free: 14.22 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01304/0.7579, allocations: 4.769 MB / 0.722 GB, free: 9.418 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004432/0.7584, allocations: 223.3 kB / 0.7222 GB, free: 9.18 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002321/0.7586, allocations: 4.844 kB / 0.7222 GB, free: 9.176 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001238/0.7598, allocations: 127.9 kB / 0.7223 GB, free: 9.051 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005092/0.7604, allocations: 196.9 kB / 0.7225 GB, free: 8.859 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.249e-05/0.7605, allocations: 28 kB / 0.7225 GB, free: 8.832 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.000938/0.7614, allocations: 0.6177 MB / 0.7231 GB, free: 8.207 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.523e-06/0.7614, allocations: 96 / 0.7231 GB, free: 8.207 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.00136/0.7628, allocations: 399.4 kB / 0.7235 GB, free: 7.816 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 9 (order2.delta,order2.w,order3.delta,order3.w,order3.e1q,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 (63): * Single equations (assignments): 60 * 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 {(20,23.0%) 12} * Non-linear torn systems: 1 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003179/0.7631, allocations: 138.9 kB / 0.7237 GB, free: 7.668 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.004872/0.768, allocations: 1.995 MB / 0.7256 GB, free: 5.637 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.768, allocations: 4.906 kB / 0.7256 GB, free: 5.633 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.003921/0.7719, allocations: 1.54 MB / 0.7271 GB, free: 4.062 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009936/0.773, allocations: 94.62 kB / 0.7272 GB, free: 3.969 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003845/0.7768, allocations: 1.626 MB / 0.7288 GB, free: 2.316 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008001/0.7776, allocations: 1.143 MB / 0.7299 GB, free: 1.148 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0004608/0.7781, allocations: 90.69 kB / 0.73 GB, free: 1.055 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003024/0.7784, allocations: 67.42 kB / 0.7301 GB, free: 0.9883 MB / 0.5261 GB Notification: Performance of SimCode: time 1.102e-06/0.7784, allocations: 0.9375 kB / 0.7301 GB, free: 0.9883 MB / 0.5261 GB Notification: Performance of Templates: time 0.02963/0.8081, allocations: 18.91 MB / 0.7485 GB, free: 14.27 MB / 0.5573 GB make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.makefile (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.sim & ./OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe 2>&1)