Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.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.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.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001454/0.001454, 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.463/1.463, allocations: 221.5 MB / 229.6 MB, free: 7.594 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.001134/0.001134, allocations: 96.8 kB / 280.5 MB, free: 5.324 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.6219/0.6219, allocations: 78.94 MB / 410.2 MB, free: 5.949 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.264e-05/1.266e-05, allocations: 0 / 485.9 MB, free: 11.55 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1386/0.1386, allocations: 69.52 MB / 0.5424 GB, free: 5.922 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4043/0.5429, allocations: 101.4 MB / 0.6415 GB, free: 12.7 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002045/0.5431, allocations: 85.02 kB / 0.6415 GB, free: 12.62 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2652/0.8083, allocations: 100.5 MB / 0.7397 GB, free: 7.758 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.212e-06/0.8083, allocations: 0 / 0.7397 GB, free: 7.758 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.0004399/0.8088, allocations: 91.94 kB / 0.7398 GB, free: 7.668 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: 892 * Number of variables: 892 Notification: Performance of Generate backend data structure: time 0.02007/0.8289, allocations: 5.731 MB / 0.7454 GB, free: 1.859 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.666e-05/0.8289, allocations: 12.03 kB / 0.7454 GB, free: 1.848 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01858/0.8475, allocations: 2.772 MB / 0.7481 GB, free: 15.07 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008161/0.8558, allocations: 2.246 MB / 0.7503 GB, free: 12.75 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00138/0.8572, allocations: 0.8636 MB / 0.7511 GB, free: 11.75 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001744/0.8589, allocations: 200 kB / 0.7513 GB, free: 11.55 MB / 0.5573 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01008/0.869, allocations: 3.436 MB / 0.7547 GB, free: 8.113 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01135/0.8804, allocations: 3.582 MB / 0.7582 GB, free: 4.504 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001394/0.8806, allocations: 0 / 0.7582 GB, free: 4.504 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001126/0.8818, allocations: 4 kB / 0.7582 GB, free: 4.5 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.385e-05/0.8818, allocations: 84 kB / 0.7582 GB, free: 4.418 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.3873/1.269, allocations: 18.04 MB / 0.7759 GB, free: 86.39 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01206/1.281, allocations: 4.691 MB / 0.7804 GB, free: 85.95 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004616/1.286, allocations: 2.11 MB / 0.7825 GB, free: 85.92 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008094/1.287, allocations: 73.33 kB / 0.7826 GB, free: 85.92 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006343/1.293, allocations: 2.477 MB / 0.785 GB, free: 85.79 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=382): time 1.175e-05/1.293, allocations: 2.531 kB / 0.785 GB, free: 85.79 MB / 0.5573 GB Notification: Performance of matching and sorting (n=382): time 0.05949/1.353, allocations: 17.27 MB / 0.8019 GB, free: 84.92 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.889e-05/1.353, allocations: 147.4 kB / 0.802 GB, free: 84.79 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006937/1.36, allocations: 2.444 MB / 0.8044 GB, free: 84.52 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.001178/1.361, allocations: 25.7 kB / 0.8044 GB, free: 84.48 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.001985/1.363, allocations: 1.99 MB / 0.8064 GB, free: 84.05 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.002651/1.366, allocations: 1.249 MB / 0.8076 GB, free: 83.39 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006255/1.366, allocations: 1.062 kB / 0.8076 GB, free: 83.39 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0004203/1.367, allocations: 445.3 kB / 0.808 GB, free: 83.08 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003988/1.371, allocations: 1.761 MB / 0.8097 GB, free: 83.07 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004654/1.375, allocations: 2.325 MB / 0.812 GB, free: 82.52 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003816/1.379, allocations: 1.949 MB / 0.8139 GB, free: 82.46 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.418e-05/1.379, allocations: 8.219 kB / 0.8139 GB, free: 82.45 MB / 0.5573 GB Notification: Performance of matching and sorting (n=466) (initialization): time 0.05865/1.438, allocations: 17.33 MB / 0.8308 GB, free: 81.37 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001036/1.438, allocations: 69.89 kB / 0.8309 GB, free: 81.3 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.286e-05/1.438, allocations: 17.34 kB / 0.8309 GB, free: 81.3 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02254/1.461, allocations: 6.901 MB / 0.8377 GB, free: 80.9 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002891/1.464, allocations: 0.556 MB / 0.8382 GB, free: 80.9 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05547/1.519, allocations: 25.25 MB / 0.8629 GB, free: 70.45 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005694/1.525, allocations: 0.6508 MB / 0.8635 GB, free: 70.34 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005874/1.525, allocations: 130.7 kB / 0.8636 GB, free: 70.31 MB / 0.5573 GB Warning: Assuming fixed start value for the following 4 variables: order3_1.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 order3_1.e1q:VARIABLE(start = order3_1.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 (329): * Single equations (assignments): 326 * 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.0008014/1.526, allocations: 203.4 kB / 0.8638 GB, free: 70.16 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009296/1.527, allocations: 451.5 kB / 0.8642 GB, free: 69.93 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04694/1.574, allocations: 17.74 MB / 0.8816 GB, free: 62.34 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.678e-05/1.574, allocations: 36.88 kB / 0.8816 GB, free: 62.31 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.806e-05/1.574, allocations: 29.22 kB / 0.8816 GB, free: 62.28 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.233e-05/1.574, allocations: 20.62 kB / 0.8816 GB, free: 62.28 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.05276/1.627, allocations: 22.36 MB / 0.9035 GB, free: 45.34 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.088e-05/1.627, allocations: 0 / 0.9035 GB, free: 45.34 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002321/1.629, allocations: 385.5 kB / 0.9038 GB, free: 45 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0201/1.65, allocations: 6.97 MB / 0.9107 GB, free: 39.6 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001245/1.651, allocations: 15.8 kB / 0.9107 GB, free: 39.59 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04652/1.697, allocations: 24.15 MB / 0.9343 GB, free: 18.02 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.863e-06/1.697, allocations: 4.812 kB / 0.9343 GB, free: 18.01 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05289/1.75, allocations: 20.58 MB / 0.9544 GB, free: 1.121 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002187/1.753, allocations: 0.553 MB / 0.9549 GB, free: 0.5742 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001834/1.754, allocations: 8.797 kB / 0.9549 GB, free: 0.5664 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005231/1.76, allocations: 458 kB / 0.9553 GB, free: 240 kB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004038/1.764, allocations: 0.86 MB / 0.9562 GB, free: 0 / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009215/1.765, allocations: 132.5 kB / 0.9563 GB, free: 0 / 0.5573 GB Notification: Performance of sorting global known variables: time 0.003018/1.768, allocations: 1.81 MB / 0.9581 GB, free: 14.34 MB / 0.573 GB Notification: Performance of sort global known variables: time 2.81e-07/1.768, allocations: 4 kB / 0.9581 GB, free: 14.34 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.006592/1.774, allocations: 1.592 MB / 0.9596 GB, free: 12.75 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 10 (order3.delta,order3.w,order3.e1q,order3_1.delta,order3_1.w,order3_1.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 (246): * Single equations (assignments): 243 * 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.0007555/1.775, allocations: 145.1 kB / 0.9598 GB, free: 12.61 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.02136/1.796, allocations: 7.963 MB / 0.9675 GB, free: 5.336 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 7.183e-06/1.796, allocations: 0.9375 kB / 0.9676 GB, free: 5.336 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0193/1.816, allocations: 5.952 MB / 0.9734 GB, free: 15.37 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004295/1.82, allocations: 239.3 kB / 0.9736 GB, free: 15.13 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0161/1.836, allocations: 5.674 MB / 0.9791 GB, free: 9.438 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00257/1.839, allocations: 2.538 MB / 0.9816 GB, free: 6.859 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.002088/1.841, allocations: 288 kB / 0.9819 GB, free: 6.582 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000883/1.842, allocations: 196 kB / 0.9821 GB, free: 6.391 MB / 0.5886 GB Notification: Performance of SimCode: time 1.563e-06/1.842, allocations: 0 / 0.9821 GB, free: 6.391 MB / 0.5886 GB Notification: Performance of Templates: time 0.4572/2.299, allocations: 72.39 MB / 1.053 GB, free: 111 MB / 0.5886 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.makefile (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.pipe 2>&1)