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.001138/0.001138, allocations: 174.6 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.249/1.249, allocations: 221.4 MB / 234.6 MB, free: 14.46 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008088/0.0008088, allocations: 98.09 kB / 285.6 MB, free: 13 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4431/0.4431, allocations: 78.04 MB / 414.5 MB, free: 10.86 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.938e-05/2.941e-05, allocations: 4 kB / 491.9 MB, free: 13.83 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3008/0.3008, allocations: 69.34 MB / 0.548 GB, free: 20.1 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1124/0.4132, allocations: 102.8 MB / 0.6484 GB, free: 13.66 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002011/0.4135, allocations: 71.97 kB / 0.6485 GB, free: 13.59 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4857/0.8992, allocations: 101.4 MB / 0.7475 GB, free: 60.24 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.064e-06/0.8992, allocations: 0 / 0.7475 GB, free: 60.24 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.000319/0.8996, allocations: 91.88 kB / 0.7476 GB, free: 60.15 MB / 490.7 MB 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.01673/0.9163, allocations: 5.809 MB / 0.7533 GB, free: 54.26 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.894e-05/0.9164, allocations: 15.91 kB / 0.7533 GB, free: 54.25 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001368/0.9177, allocations: 492.9 kB / 0.7538 GB, free: 53.75 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01649/0.9342, allocations: 2.779 MB / 0.7565 GB, free: 50.96 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005038/0.9393, allocations: 2.265 MB / 0.7587 GB, free: 48.62 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008188/0.9401, allocations: 0.9808 MB / 0.7597 GB, free: 47.51 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00127/0.9414, allocations: 347.9 kB / 0.76 GB, free: 47.17 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007867/0.9493, allocations: 4.112 MB / 0.764 GB, free: 43.03 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.368e-05/0.9494, allocations: 0 / 0.764 GB, free: 43.03 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003877/0.9498, allocations: 144 kB / 0.7641 GB, free: 42.89 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.005e-05/0.9498, allocations: 84 kB / 0.7642 GB, free: 42.8 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005654/0.9555, allocations: 3.624 MB / 0.7678 GB, free: 39.18 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.02797/0.9835, allocations: 18.68 MB / 0.786 GB, free: 19.31 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009567/0.9931, allocations: 4.83 MB / 0.7907 GB, free: 14.39 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003175/0.9963, allocations: 2.239 MB / 0.7929 GB, free: 12.15 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004619/0.9968, allocations: 74.92 kB / 0.793 GB, free: 12.07 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003713/1, allocations: 2.62 MB / 0.7955 GB, free: 9.414 MB / 490.7 MB Notification: Performance of pre-optimization done (n=385): time 5.37e-06/1.001, allocations: 3.984 kB / 0.7955 GB, free: 9.41 MB / 490.7 MB Notification: Performance of matching and sorting (n=385): time 0.05028/1.051, allocations: 17.62 MB / 0.8127 GB, free: 7.73 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.305e-05/1.051, allocations: 141.8 kB / 0.8129 GB, free: 7.566 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004211/1.055, allocations: 2.686 MB / 0.8155 GB, free: 4.863 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0009235/1.056, allocations: 85.7 kB / 0.8156 GB, free: 4.773 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001457/1.058, allocations: 2.006 MB / 0.8175 GB, free: 2.75 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001654/1.059, allocations: 1.313 MB / 0.8188 GB, free: 1.418 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002982/1.06, allocations: 72 kB / 0.8189 GB, free: 1.348 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002078/1.06, allocations: 453.8 kB / 0.8193 GB, free: 0.8984 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003174/1.063, allocations: 1.855 MB / 0.8211 GB, free: 15.04 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003404/1.066, allocations: 2.434 MB / 0.8235 GB, free: 12.41 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003497/1.07, allocations: 2.112 MB / 0.8256 GB, free: 10.28 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.364e-05/1.07, allocations: 4 kB / 0.8256 GB, free: 10.27 MB / 0.5105 GB Notification: Performance of matching and sorting (n=472) (initialization): time 0.05165/1.122, allocations: 17.84 MB / 0.843 GB, free: 8.363 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 6.25e-05/1.122, allocations: 63.41 kB / 0.8431 GB, free: 8.289 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.026e-05/1.122, allocations: 19.94 kB / 0.8431 GB, free: 8.27 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02349/1.145, allocations: 7.063 MB / 0.85 GB, free: 1.195 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002855/1.148, allocations: 0.5539 MB / 0.8505 GB, free: 0.6406 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05891/1.207, allocations: 27.11 MB / 0.877 GB, free: 5.227 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005876/1.213, allocations: 0.7152 MB / 0.8777 GB, free: 4.508 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005397/1.213, allocations: 132 kB / 0.8778 GB, free: 4.379 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.0008287/1.214, allocations: 334.2 kB / 0.8781 GB, free: 4.039 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009627/1.215, allocations: 454.4 kB / 0.8786 GB, free: 3.59 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05192/1.267, allocations: 18.17 MB / 0.8963 GB, free: 1.344 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.352e-05/1.267, allocations: 36 kB / 0.8964 GB, free: 1.309 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.142e-05/1.267, allocations: 28 kB / 0.8964 GB, free: 1.281 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.514e-05/1.267, allocations: 19.89 kB / 0.8964 GB, free: 1.262 MB / 0.573 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.3429/1.61, allocations: 23.17 MB / 0.919 GB, free: 135.1 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.688e-05/1.61, allocations: 1.219 kB / 0.919 GB, free: 135.1 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002288/1.613, allocations: 395.4 kB / 0.9194 GB, free: 135.1 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02016/1.633, allocations: 7.028 MB / 0.9263 GB, free: 135 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008216/1.634, allocations: 75.16 kB / 0.9264 GB, free: 135 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04654/1.68, allocations: 24.51 MB / 0.9503 GB, free: 128.1 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.055e-06/1.68, allocations: 7.438 kB / 0.9503 GB, free: 128.1 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05293/1.733, allocations: 21.03 MB / 0.9708 GB, free: 117.6 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001656/1.735, allocations: 0.5652 MB / 0.9714 GB, free: 117.1 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001014/1.736, allocations: 64 kB / 0.9714 GB, free: 117 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004169/1.74, allocations: 0.4918 MB / 0.9719 GB, free: 116.6 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002652/1.743, allocations: 0.7763 MB / 0.9727 GB, free: 116.2 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003154/1.743, allocations: 95.75 kB / 0.9728 GB, free: 116.1 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.002399/1.745, allocations: 2.045 MB / 0.9748 GB, free: 114.2 MB / 0.573 GB Notification: Performance of sort global known variables: time 7.21e-07/1.745, allocations: 3.562 kB / 0.9748 GB, free: 114.2 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.004488/1.75, allocations: 1.775 MB / 0.9765 GB, free: 112.5 MB / 0.573 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.05187/1.802, allocations: 21.77 MB / 0.9978 GB, free: 94.59 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.02015/1.822, allocations: 8.398 MB / 1.006 GB, free: 86.9 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 7.354e-06/1.822, allocations: 0 / 1.006 GB, free: 86.9 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.01653/1.839, allocations: 6.14 MB / 1.012 GB, free: 81.46 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002547/1.841, allocations: 307.2 kB / 1.012 GB, free: 81.16 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01191/1.853, allocations: 6.757 MB / 1.019 GB, free: 75.12 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001422/1.855, allocations: 2.551 MB / 1.021 GB, free: 73.22 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.001381/1.856, allocations: 301.5 kB / 1.022 GB, free: 73.02 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00195/1.858, allocations: 1.949 MB / 1.024 GB, free: 71.22 MB / 0.573 GB Notification: Performance of SimCode: time 1.203e-06/1.858, allocations: 3.938 kB / 1.024 GB, free: 71.21 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4355/2.293, allocations: 114.5 MB / 1.135 GB, free: 156.9 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001483/2.294, allocations: 181.4 kB / 1.136 GB, free: 156.7 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.101/8.395, allocations: 0 / 1.136 GB, free: 156.7 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)