Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_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.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.FourthOrder_AVRII,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_PSATSystems_TwoArea_FourthOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_PSATSystems_TwoArea_FourthOrder_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.00108/0.00108, allocations: 174.8 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.198/1.198, allocations: 221.4 MB / 234.6 MB, free: 14.45 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.0008882/0.0008882, allocations: 92.98 kB / 285.6 MB, free: 12.97 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4387/0.4387, allocations: 78.03 MB / 414.5 MB, free: 10.84 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.03e-05/3.04e-05, allocations: 4 kB / 491.9 MB, free: 13.8 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3224/0.3225, allocations: 69.34 MB / 0.548 GB, free: 20.29 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1296/0.4521, allocations: 102.1 MB / 0.6478 GB, free: 14.26 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002445/0.4524, allocations: 79.97 kB / 0.6479 GB, free: 14.18 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5285/0.9809, allocations: 100 MB / 0.7456 GB, free: 62.08 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.981, allocations: 0 / 0.7456 GB, free: 62.08 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0004302/0.9814, allocations: 91.94 kB / 0.7457 GB, free: 61.99 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: 893 * Number of variables: 893 Notification: Performance of Generate backend data structure: time 0.01787/0.9993, allocations: 5.751 MB / 0.7513 GB, free: 56.16 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.398e-05/0.9993, allocations: 11.97 kB / 0.7513 GB, free: 56.15 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001633/1.001, allocations: 492.8 kB / 0.7518 GB, free: 55.66 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01675/1.018, allocations: 2.779 MB / 0.7545 GB, free: 52.87 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006164/1.024, allocations: 2.259 MB / 0.7567 GB, free: 50.54 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009524/1.025, allocations: 0.9924 MB / 0.7576 GB, free: 49.41 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001692/1.027, allocations: 351.9 kB / 0.758 GB, free: 49.06 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01134/1.038, allocations: 4.076 MB / 0.762 GB, free: 44.96 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001196/1.038, allocations: 4 kB / 0.762 GB, free: 44.95 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001027/1.039, allocations: 144 kB / 0.7621 GB, free: 44.81 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.057e-05/1.039, allocations: 84 kB / 0.7622 GB, free: 44.73 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007806/1.047, allocations: 3.613 MB / 0.7657 GB, free: 41.11 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.03634/1.083, allocations: 18.57 MB / 0.7838 GB, free: 21.36 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01037/1.094, allocations: 4.805 MB / 0.7885 GB, free: 16.46 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003878/1.098, allocations: 2.219 MB / 0.7907 GB, free: 14.23 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006965/1.099, allocations: 74.91 kB / 0.7908 GB, free: 14.16 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004848/1.103, allocations: 2.604 MB / 0.7933 GB, free: 11.52 MB / 490.7 MB Notification: Performance of pre-optimization done (n=383): time 8.967e-06/1.103, allocations: 0 / 0.7933 GB, free: 11.52 MB / 490.7 MB Notification: Performance of matching and sorting (n=383): time 0.0503/1.154, allocations: 17.58 MB / 0.8105 GB, free: 9.875 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001259/1.154, allocations: 145.8 kB / 0.8106 GB, free: 9.707 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005499/1.159, allocations: 2.645 MB / 0.8132 GB, free: 7.043 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.001063/1.161, allocations: 85.7 kB / 0.8133 GB, free: 6.953 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.00176/1.162, allocations: 1.998 MB / 0.8152 GB, free: 4.938 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.002163/1.164, allocations: 1.309 MB / 0.8165 GB, free: 3.609 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008371/1.165, allocations: 72 kB / 0.8166 GB, free: 3.539 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0003593/1.166, allocations: 445.8 kB / 0.817 GB, free: 3.098 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004094/1.17, allocations: 1.839 MB / 0.8188 GB, free: 1.258 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004567/1.174, allocations: 2.407 MB / 0.8212 GB, free: 14.65 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004762/1.179, allocations: 2.087 MB / 0.8232 GB, free: 12.54 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.019e-05/1.179, allocations: 7.938 kB / 0.8232 GB, free: 12.53 MB / 0.5105 GB Notification: Performance of matching and sorting (n=468) (initialization): time 0.05622/1.235, allocations: 17.74 MB / 0.8405 GB, free: 10.73 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 8.287e-05/1.236, allocations: 65.59 kB / 0.8406 GB, free: 10.65 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.201e-05/1.236, allocations: 15.98 kB / 0.8406 GB, free: 10.64 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02331/1.259, allocations: 6.969 MB / 0.8474 GB, free: 3.66 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002981/1.262, allocations: 0.5655 MB / 0.848 GB, free: 3.094 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06476/1.327, allocations: 25.75 MB / 0.8731 GB, free: 9.18 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006075/1.333, allocations: 0.6957 MB / 0.8738 GB, free: 8.48 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001061/1.334, allocations: 136 kB / 0.8739 GB, free: 8.348 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.002147/1.336, allocations: 328.7 kB / 0.8742 GB, free: 8.012 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00212/1.338, allocations: 458.3 kB / 0.8747 GB, free: 7.559 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05305/1.391, allocations: 18.13 MB / 0.8924 GB, free: 5.363 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.652e-05/1.391, allocations: 36 kB / 0.8924 GB, free: 5.328 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.736e-05/1.391, allocations: 32 kB / 0.8924 GB, free: 5.297 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001108/1.392, allocations: 19.92 kB / 0.8925 GB, free: 5.277 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.4043/1.796, allocations: 23.07 MB / 0.915 GB, free: 137.3 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.028e-05/1.796, allocations: 3.188 kB / 0.915 GB, free: 137.3 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002576/1.799, allocations: 389.3 kB / 0.9154 GB, free: 137.3 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02211/1.821, allocations: 7.037 MB / 0.9222 GB, free: 137.2 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001083/1.822, allocations: 71.33 kB / 0.9223 GB, free: 137.2 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05681/1.879, allocations: 24.5 MB / 0.9462 GB, free: 131.9 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.975e-06/1.879, allocations: 3.5 kB / 0.9462 GB, free: 131.9 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05255/1.931, allocations: 20.96 MB / 0.9667 GB, free: 122 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001651/1.933, allocations: 0.5602 MB / 0.9672 GB, free: 121.5 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001705/1.935, allocations: 64 kB / 0.9673 GB, free: 121.5 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00506/1.94, allocations: 0.4953 MB / 0.9678 GB, free: 121.1 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003364/1.943, allocations: 0.7763 MB / 0.9685 GB, free: 120.7 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006361/1.944, allocations: 94.78 kB / 0.9686 GB, free: 120.6 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.004084/1.948, allocations: 2.003 MB / 0.9706 GB, free: 118.7 MB / 0.573 GB Notification: Performance of sort global known variables: time 2.365e-06/1.948, allocations: 0 / 0.9706 GB, free: 118.7 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.008073/1.956, allocations: 1.758 MB / 0.9723 GB, free: 117.1 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.05242/2.008, allocations: 21.69 MB / 0.9935 GB, free: 99.21 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.02048/2.029, allocations: 8.224 MB / 1.002 GB, free: 91.69 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 9.187e-06/2.029, allocations: 0 / 1.002 GB, free: 91.69 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0177/2.047, allocations: 6.132 MB / 1.008 GB, free: 86.25 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003857/2.051, allocations: 306.7 kB / 1.008 GB, free: 85.96 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01583/2.067, allocations: 6.564 MB / 1.014 GB, free: 80.1 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001653/2.068, allocations: 2.531 MB / 1.017 GB, free: 78.21 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.001546/2.07, allocations: 294.5 kB / 1.017 GB, free: 78.01 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002071/2.072, allocations: 1.935 MB / 1.019 GB, free: 76.22 MB / 0.573 GB Notification: Performance of SimCode: time 1.603e-06/2.072, allocations: 4 kB / 1.019 GB, free: 76.22 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4916/2.563, allocations: 113.3 MB / 1.13 GB, free: 156.5 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001575/2.564, allocations: 193.6 kB / 1.13 GB, free: 156.2 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.973/8.537, allocations: 0 / 1.13 GB, free: 156.2 MB / 0.5886 GB (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Examples_PSATSystems_TwoArea_FourthOrder_AVRII_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Examples_PSATSystems_TwoArea_FourthOrder_AVRII.fmu > OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.pipe 2>&1)