Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_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: "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_PSATSystems_TwoArea_SixthOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_PSATSystems_TwoArea_SixthOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001379/0.001379, allocations: 173.9 kB / 7.648 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.42/1.42, 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.0009177/0.0009176, allocations: 92.08 kB / 280.5 MB, free: 5.324 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4897/0.4897, allocations: 78.07 MB / 409.3 MB, free: 6.355 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.25e-05/2.251e-05, allocations: 7.938 kB / 485 MB, free: 12.17 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1444/0.1444, allocations: 69.36 MB / 0.5414 GB, free: 6.738 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4427/0.5872, allocations: 102.1 MB / 0.6411 GB, free: 13.31 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002638/0.5875, allocations: 83.95 kB / 0.6412 GB, free: 13.23 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2563/0.8438, allocations: 100.1 MB / 0.7389 GB, free: 8.742 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.994e-06/0.8439, allocations: 0 / 0.7389 GB, free: 8.742 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.0002899/0.8442, allocations: 91.94 kB / 0.739 GB, free: 8.652 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: 895 * Number of variables: 895 Notification: Performance of Generate backend data structure: time 0.01914/0.8633, allocations: 5.803 MB / 0.7447 GB, free: 2.773 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.926e-05/0.8634, allocations: 12.03 kB / 0.7447 GB, free: 2.762 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01815/0.8816, allocations: 2.772 MB / 0.7474 GB, free: 15.98 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006956/0.8886, allocations: 2.268 MB / 0.7496 GB, free: 13.64 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001124/0.8897, allocations: 0.8597 MB / 0.7504 GB, free: 12.64 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001485/0.8913, allocations: 203.9 kB / 0.7506 GB, free: 12.44 MB / 0.5573 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.009062/0.9003, allocations: 3.456 MB / 0.754 GB, free: 8.984 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01114/0.9115, allocations: 3.614 MB / 0.7575 GB, free: 5.344 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000138/0.9117, allocations: 0 / 0.7575 GB, free: 5.344 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001037/0.9127, allocations: 3.984 kB / 0.7575 GB, free: 5.34 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.915e-05/0.9128, allocations: 84.56 kB / 0.7576 GB, free: 5.258 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.3521/1.265, allocations: 18.12 MB / 0.7753 GB, free: 85.81 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01065/1.276, allocations: 4.72 MB / 0.7799 GB, free: 85.38 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003939/1.28, allocations: 2.128 MB / 0.782 GB, free: 85.35 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000734/1.28, allocations: 75.27 kB / 0.7821 GB, free: 85.35 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004977/1.285, allocations: 2.508 MB / 0.7845 GB, free: 85.21 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=385): time 1.029e-05/1.285, allocations: 0 / 0.7845 GB, free: 85.21 MB / 0.5573 GB Notification: Performance of matching and sorting (n=385): time 0.05582/1.341, allocations: 17.32 MB / 0.8014 GB, free: 84.44 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.013e-05/1.341, allocations: 143.2 kB / 0.8016 GB, free: 84.31 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007451/1.349, allocations: 2.483 MB / 0.804 GB, free: 84.03 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.001446/1.35, allocations: 27.23 kB / 0.804 GB, free: 84 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.001866/1.352, allocations: 2.001 MB / 0.806 GB, free: 83.57 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.002505/1.355, allocations: 1.261 MB / 0.8072 GB, free: 82.9 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003163/1.355, allocations: 0 / 0.8072 GB, free: 82.9 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0002849/1.355, allocations: 449.3 kB / 0.8076 GB, free: 82.59 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003539/1.359, allocations: 1.78 MB / 0.8094 GB, free: 82.58 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003862/1.363, allocations: 2.344 MB / 0.8117 GB, free: 82.03 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003632/1.366, allocations: 1.979 MB / 0.8136 GB, free: 81.96 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-05/1.366, allocations: 3.344 kB / 0.8136 GB, free: 81.96 MB / 0.5573 GB Notification: Performance of matching and sorting (n=472) (initialization): time 0.04955/1.416, allocations: 17.43 MB / 0.8306 GB, free: 80.86 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 8.975e-05/1.416, allocations: 64.41 kB / 0.8307 GB, free: 80.8 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.142e-05/1.416, allocations: 13.34 kB / 0.8307 GB, free: 80.8 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02261/1.439, allocations: 6.98 MB / 0.8375 GB, free: 80.39 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003091/1.442, allocations: 0.5608 MB / 0.8381 GB, free: 80.39 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05675/1.499, allocations: 26.56 MB / 0.864 GB, free: 68.84 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005927/1.505, allocations: 0.631 MB / 0.8646 GB, free: 68.73 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008205/1.506, allocations: 137.1 kB / 0.8648 GB, free: 68.7 MB / 0.5573 GB Warning: Assuming fixed start value for the following 4 variables: order6.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 order6.e2d:VARIABLE(start = order6.e2d0 unit = "1" ) "d-axis sub-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 (334): * Single equations (assignments): 330 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 1 {93 45} Notification: Performance of prepare postOptimizeDAE: time 0.001003/1.507, allocations: 209.1 kB / 0.865 GB, free: 68.55 MB / 0.5573 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.04764/1.554, allocations: 17.32 MB / 0.8819 GB, free: 60.87 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002755/1.557, allocations: 458.3 kB / 0.8823 GB, free: 60.42 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04745/1.605, allocations: 17.79 MB / 0.8997 GB, free: 46.79 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.295e-05/1.605, allocations: 40 kB / 0.8997 GB, free: 46.75 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-05/1.605, allocations: 28 kB / 0.8997 GB, free: 46.72 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.999e-05/1.605, allocations: 17.58 kB / 0.8998 GB, free: 46.72 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.05395/1.659, allocations: 22.43 MB / 0.9217 GB, free: 29.66 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.694e-05/1.659, allocations: 8.812 kB / 0.9217 GB, free: 29.65 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002466/1.661, allocations: 394.3 kB / 0.922 GB, free: 29.3 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02083/1.682, allocations: 6.961 MB / 0.9288 GB, free: 23.91 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001114/1.683, allocations: 16.64 kB / 0.9289 GB, free: 23.9 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04984/1.733, allocations: 24.18 MB / 0.9525 GB, free: 2.305 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.418e-06/1.733, allocations: 5.406 kB / 0.9525 GB, free: 2.301 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05808/1.791, allocations: 20.66 MB / 0.9727 GB, free: 15.56 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001941/1.793, allocations: 0.5702 MB / 0.9732 GB, free: 14.97 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002021/1.795, allocations: 4.562 kB / 0.9732 GB, free: 14.97 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005457/1.801, allocations: 439.6 kB / 0.9736 GB, free: 14.54 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003303/1.804, allocations: 0.7841 MB / 0.9744 GB, free: 13.75 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005378/1.805, allocations: 91.98 kB / 0.9745 GB, free: 13.66 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.003001/1.808, allocations: 1.837 MB / 0.9763 GB, free: 11.82 MB / 0.5886 GB Notification: Performance of sort global known variables: time 3.5e-07/1.808, allocations: 0 / 0.9763 GB, free: 11.82 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.006278/1.814, allocations: 1.601 MB / 0.9779 GB, free: 10.22 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 13 (order3.delta,order3.w,order3.e1q,order6.delta,order6.w,order6.e1q,order6.e1d,order6.e2q,order6.e2d,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 (249): * Single equations (assignments): 246 * 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.3543/2.168, allocations: 21.35 MB / 0.9987 GB, free: 111.5 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.02399/2.192, allocations: 8.112 MB / 1.007 GB, free: 110.9 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 9.207e-06/2.192, allocations: 4.578 kB / 1.007 GB, free: 110.9 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.01903/2.211, allocations: 5.994 MB / 1.012 GB, free: 110.3 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003092/2.215, allocations: 248 kB / 1.013 GB, free: 110.3 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01751/2.232, allocations: 6.476 MB / 1.019 GB, free: 108.5 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002122/2.234, allocations: 2.546 MB / 1.022 GB, free: 107.7 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.001869/2.236, allocations: 294.5 kB / 1.022 GB, free: 107.7 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002675/2.239, allocations: 1.949 MB / 1.024 GB, free: 107.7 MB / 0.5886 GB Notification: Performance of SimCode: time 9.82e-07/2.239, allocations: 0 / 1.024 GB, free: 107.7 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1614/2.4, allocations: 108.2 MB / 1.129 GB, free: 71.5 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001415/2.401, allocations: 141.6 kB / 1.13 GB, free: 71.31 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.726/9.127, allocations: 7.25 kB / 1.13 GB, free: 71.3 MB / 0.5886 GB (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Examples_PSATSystems_TwoArea_SixthOrder_AVRII_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Examples_PSATSystems_TwoArea_SixthOrder_AVRII.fmu > OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.pipe 2>&1)