Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRI.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRI,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_TwoArea_FourthOrder_AVRI",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRI,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_TwoArea_FourthOrder_AVRI",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001108/0.001108, 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 3.2.3+maint.om/package.mo): time 1.609/1.609, allocations: 205.3 MB / 213.4 MB, free: 13.77 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008598/0.00086, allocations: 93.73 kB / 261.4 MB, free: 13.45 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.09877/0.09877, allocations: 12.2 MB / 321.5 MB, free: 1.195 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.3111/0.3111, allocations: 78.06 MB / 450.3 MB, free: 3.488 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.121e-05/2.123e-05, allocations: 4 kB / 0.5142 GB, free: 29.96 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1382/0.1382, allocations: 69.24 MB / 0.5819 GB, free: 8.844 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.422/0.5602, allocations: 102.6 MB / 0.682 GB, free: 6.02 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001895/0.5605, allocations: 78.7 kB / 0.6821 GB, free: 5.98 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2324/0.7928, allocations: 94.34 MB / 0.7743 GB, free: 2.359 MB / 0.4948 GB Notification: Performance of FrontEnd: time 3.547e-06/0.7929, allocations: 0 / 0.7743 GB, free: 2.359 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.000325/0.7933, allocations: 87.94 kB / 0.7743 GB, free: 2.273 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 890 * Number of variables: 890 Notification: Performance of Generate backend data structure: time 0.02058/0.8138, allocations: 5.731 MB / 0.7799 GB, free: 12.46 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.689e-05/0.8139, allocations: 12.02 kB / 0.7799 GB, free: 12.45 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01858/0.8325, allocations: 2.776 MB / 0.7827 GB, free: 9.668 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007293/0.8399, allocations: 2.275 MB / 0.7849 GB, free: 7.316 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001231/0.8411, allocations: 0.8346 MB / 0.7857 GB, free: 6.352 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001637/0.8428, allocations: 207.9 kB / 0.7859 GB, free: 6.148 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007999/0.8508, allocations: 3.431 MB / 0.7892 GB, free: 2.715 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007143/0.858, allocations: 3.586 MB / 0.7927 GB, free: 15.1 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.749e-05/0.8581, allocations: 0.75 kB / 0.7927 GB, free: 15.1 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003276/0.8584, allocations: 0 / 0.7927 GB, free: 15.1 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.886e-05/0.8585, allocations: 87.95 kB / 0.7928 GB, free: 15.01 MB / 0.5261 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.044/0.9025, allocations: 18.08 MB / 0.8105 GB, free: 11.76 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01167/0.9142, allocations: 4.647 MB / 0.815 GB, free: 7.023 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004401/0.9187, allocations: 2.112 MB / 0.8171 GB, free: 4.902 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008146/0.9196, allocations: 66.92 kB / 0.8172 GB, free: 4.836 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.5e-05/0.9197, allocations: 77.5 kB / 0.8172 GB, free: 4.75 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=380): time 8.626e-06/0.9197, allocations: 3.938 kB / 0.8172 GB, free: 4.746 MB / 0.5417 GB Notification: Performance of matching and sorting (n=380): time 0.05662/0.9763, allocations: 17.16 MB / 0.834 GB, free: 3.535 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001179/0.9765, allocations: 171.5 kB / 0.8342 GB, free: 3.336 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004553/0.981, allocations: 2.428 MB / 0.8365 GB, free: 0.8945 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.001228/0.9823, allocations: 25.7 kB / 0.8365 GB, free: 0.8633 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.00161/0.9839, allocations: 1.998 MB / 0.8385 GB, free: 14.84 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.002436/0.9863, allocations: 1.243 MB / 0.8397 GB, free: 13.58 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002958/0.9867, allocations: 4 kB / 0.8397 GB, free: 13.58 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.000263/0.9869, allocations: 441.5 kB / 0.8401 GB, free: 13.14 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002931/0.9899, allocations: 1.745 MB / 0.8418 GB, free: 11.39 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003286/0.9932, allocations: 2.313 MB / 0.8441 GB, free: 8.883 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003191/0.9964, allocations: 1.948 MB / 0.846 GB, free: 6.922 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.579e-05/0.9964, allocations: 4 kB / 0.846 GB, free: 6.918 MB / 0.573 GB Notification: Performance of matching and sorting (n=458) (initialization): time 0.0521/1.048, allocations: 17.24 MB / 0.8628 GB, free: 5.625 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 0.4804/1.529, allocations: 6.667 MB / 0.8694 GB, free: 127.7 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001381/1.529, allocations: 16.33 kB / 0.8694 GB, free: 127.7 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02671/1.556, allocations: 6.839 MB / 0.876 GB, free: 127.6 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003571/1.56, allocations: 0.5382 MB / 0.8766 GB, free: 127.6 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07023/1.63, allocations: 25.05 MB / 0.901 GB, free: 126 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007045/1.637, allocations: 0.6167 MB / 0.9016 GB, free: 125.9 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007812/1.638, allocations: 130.1 kB / 0.9018 GB, free: 125.9 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.858e-05/1.638, allocations: 3.812 kB / 0.9018 GB, free: 125.9 MB / 0.5886 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04817/1.686, allocations: 16.77 MB / 0.9181 GB, free: 125.7 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001207/1.686, allocations: 15.41 kB / 0.9182 GB, free: 125.7 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02282/1.709, allocations: 6.842 MB / 0.9248 GB, free: 125.7 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003015/1.712, allocations: 0.5315 MB / 0.9254 GB, free: 125.7 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05537/1.767, allocations: 25.04 MB / 0.9498 GB, free: 115.4 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00628/1.774, allocations: 0.5863 MB / 0.9504 GB, free: 115.3 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006821/1.774, allocations: 126.2 kB / 0.9505 GB, free: 115.3 MB / 0.5886 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 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 order4.delta:VARIABLE(start = order4.delta0 unit = "rad" ) "Rotor angle" 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (322): * Single equations (assignments): 319 * 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 {92 45} Notification: Performance of prepare postOptimizeDAE: time 0.001098/1.776, allocations: 205.2 kB / 0.9507 GB, free: 115.2 MB / 0.5886 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.04928/1.825, allocations: 17.16 MB / 0.9675 GB, free: 108 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00277/1.828, allocations: 450.4 kB / 0.9679 GB, free: 107.6 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05041/1.878, allocations: 17.61 MB / 0.9851 GB, free: 94.14 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.924e-05/1.878, allocations: 36 kB / 0.9851 GB, free: 94.11 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.622e-05/1.878, allocations: 28 kB / 0.9851 GB, free: 94.08 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001241/1.878, allocations: 24.81 kB / 0.9852 GB, free: 94.07 MB / 0.5886 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.05899/1.937, allocations: 22.5 MB / 1.007 GB, free: 77.12 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.924e-05/1.937, allocations: 4 kB / 1.007 GB, free: 77.11 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0028/1.94, allocations: 400.5 kB / 1.008 GB, free: 76.77 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02199/1.962, allocations: 6.908 MB / 1.014 GB, free: 71.41 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001624/1.964, allocations: 15.84 kB / 1.014 GB, free: 71.4 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04702/2.011, allocations: 22.27 MB / 1.036 GB, free: 51.74 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.104e-06/2.011, allocations: 3.797 kB / 1.036 GB, free: 51.74 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05301/2.064, allocations: 20.46 MB / 1.056 GB, free: 34.96 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002129/2.066, allocations: 0.547 MB / 1.057 GB, free: 34.48 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008935/2.067, allocations: 10.75 kB / 1.057 GB, free: 34.47 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004177/2.071, allocations: 427.9 kB / 1.057 GB, free: 34.15 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002801/2.074, allocations: 0.7659 MB / 1.058 GB, free: 33.55 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002709/2.074, allocations: 95.98 kB / 1.058 GB, free: 33.46 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.002511/2.077, allocations: 1.804 MB / 1.06 GB, free: 31.65 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.5e-07/2.077, allocations: 2.25 kB / 1.06 GB, free: 31.65 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.008467/2.085, allocations: 2.607 MB / 1.062 GB, free: 29.17 MB / 0.5886 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,aVRTypeI.firstOrder.y,aVRTypeI.firstOrder2.y,aVRTypeI.transferFunction.x_scaled[1],aVRTypeI.transferFunction.x_scaled[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (250): * Single equations (assignments): 248 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(100,5.5%) 36} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0522/2.138, allocations: 21.13 MB / 1.083 GB, free: 7.977 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.4113/2.549, allocations: 13.97 MB / 1.096 GB, free: 136.9 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.003e-05/2.549, allocations: 2.25 kB / 1.096 GB, free: 136.9 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.01894/2.568, allocations: 5.844 MB / 1.102 GB, free: 136.4 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003975/2.572, allocations: 247.8 kB / 1.102 GB, free: 136.4 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01801/2.59, allocations: 6.417 MB / 1.109 GB, free: 134.7 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003082/2.593, allocations: 2.597 MB / 1.111 GB, free: 133.9 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.003243/2.596, allocations: 0.6073 MB / 1.112 GB, free: 133.8 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002015/2.598, allocations: 1.908 MB / 1.114 GB, free: 133.8 MB / 0.5886 GB Notification: Performance of SimCode: time 9.22e-07/2.599, allocations: 0 / 1.114 GB, free: 133.8 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1939/2.792, allocations: 138.7 MB / 1.249 GB, free: 49.44 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001635/2.793, allocations: 142.6 kB / 1.249 GB, free: 49.25 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.282/11.07, allocations: 3.125 kB / 1.249 GB, free: 49.25 MB / 0.5886 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRI.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRI.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRI.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_TwoArea_FourthOrder_AVRI_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_TwoArea_FourthOrder_AVRI.fmu > OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRI.pipe 2>&1)