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.005512/0.005512, allocations: 171.1 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.294/1.294, allocations: 205.4 MB / 221.3 MB, free: 13.83 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.0008669/0.0008669, allocations: 102.8 kB / 269.6 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.05497/0.05497, allocations: 12.2 MB / 330.1 MB, free: 10.68 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.391/0.391, allocations: 78.52 MB / 459.6 MB, free: 3.996 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005911/0.0005911, allocations: 18.94 kB / 0.528 GB, free: 35.38 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1202/0.1208, allocations: 69.25 MB / 0.5956 GB, free: 4.27 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3426/0.4635, allocations: 103.3 MB / 0.6966 GB, free: 99.23 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002676/0.4638, allocations: 79.33 kB / 0.6966 GB, free: 99.23 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2058/0.6696, allocations: 95.94 MB / 0.7903 GB, free: 18.62 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.823e-06/0.6697, allocations: 0 / 0.7903 GB, free: 18.62 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0004141/0.6701, allocations: 99.88 kB / 0.7904 GB, free: 18.52 MB / 474.7 MB 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.01937/0.6895, allocations: 6.534 MB / 0.7968 GB, free: 11.9 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.755e-05/0.6896, allocations: 15.98 kB / 0.7968 GB, free: 11.89 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001952/0.6915, allocations: 488.8 kB / 0.7973 GB, free: 11.4 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01606/0.7076, allocations: 2.807 MB / 0.8 GB, free: 8.582 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005552/0.7132, allocations: 2.313 MB / 0.8023 GB, free: 6.191 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000644/0.7139, allocations: 0.9595 MB / 0.8032 GB, free: 5.102 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008839/0.7148, allocations: 336 kB / 0.8035 GB, free: 4.773 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008349/0.7231, allocations: 4.946 MB / 0.8084 GB, free: 15.79 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.977e-05/0.7232, allocations: 0 / 0.8084 GB, free: 15.79 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003833/0.7236, allocations: 140 kB / 0.8085 GB, free: 15.65 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.392e-05/0.7237, allocations: 87.95 kB / 0.8086 GB, free: 15.57 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008618/0.7323, allocations: 4.509 MB / 0.813 GB, free: 11.05 MB / 490.7 MB Warning: The model contains alias variables with redundant start and/or conflicting 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.03283/0.7652, allocations: 18.62 MB / 0.8312 GB, free: 7.242 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01221/0.7774, allocations: 5.656 MB / 0.8367 GB, free: 1.5 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006558/0.7781, allocations: 74.86 kB / 0.8368 GB, free: 1.426 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.524e-05/0.7782, allocations: 85.48 kB / 0.8369 GB, free: 1.332 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=380): time 5.36e-06/0.7782, allocations: 0 / 0.8369 GB, free: 1.332 MB / 0.4948 GB Notification: Performance of matching and sorting (n=380): time 0.2923/1.071, allocations: 78.6 MB / 0.9136 GB, free: 2.551 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.91e-05/1.071, allocations: 179.5 kB / 0.9138 GB, free: 2.344 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2637/1.334, allocations: 2.688 MB / 0.9164 GB, free: 127.5 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.001006/1.335, allocations: 89.98 kB / 0.9165 GB, free: 127.5 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.001519/1.337, allocations: 1.991 MB / 0.9184 GB, free: 127.3 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.001785/1.339, allocations: 1.287 MB / 0.9197 GB, free: 126.7 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000325/1.339, allocations: 71.75 kB / 0.9198 GB, free: 126.7 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001794/1.339, allocations: 445.2 kB / 0.9202 GB, free: 126.4 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005129/1.344, allocations: 2.657 MB / 0.9228 GB, free: 126.3 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005817/1.35, allocations: 3.234 MB / 0.9259 GB, free: 125.8 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005487/1.356, allocations: 2.902 MB / 0.9288 GB, free: 125.7 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.655e-05/1.356, allocations: 7.312 kB / 0.9288 GB, free: 125.7 MB / 0.573 GB Notification: Performance of matching and sorting (n=458) (initialization): time 0.0557/1.412, allocations: 20.11 MB / 0.9484 GB, free: 125.1 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 0.001146/1.413, allocations: 6.679 MB / 0.9549 GB, free: 118.2 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-05/1.413, allocations: 16.31 kB / 0.955 GB, free: 118.2 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02454/1.437, allocations: 8.493 MB / 0.9633 GB, free: 117.8 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002818/1.44, allocations: 0.545 MB / 0.9638 GB, free: 117.8 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07865/1.519, allocations: 36.85 MB / 0.9998 GB, free: 105.3 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006062/1.525, allocations: 0.6908 MB / 1 GB, free: 104.8 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003937/1.525, allocations: 131.3 kB / 1.001 GB, free: 104.7 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.445e-05/1.525, allocations: 4 kB / 1.001 GB, free: 104.7 MB / 0.573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.05018/1.576, allocations: 19.67 MB / 1.02 GB, free: 89.55 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.475e-05/1.576, allocations: 16 kB / 1.02 GB, free: 89.53 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02447/1.6, allocations: 8.494 MB / 1.028 GB, free: 83.05 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003157/1.604, allocations: 0.5312 MB / 1.029 GB, free: 82.62 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07572/1.679, allocations: 36.85 MB / 1.065 GB, free: 51.32 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005423/1.685, allocations: 0.6587 MB / 1.065 GB, free: 50.79 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004635/1.685, allocations: 131.8 kB / 1.065 GB, free: 50.66 MB / 0.573 GB Warning: Assuming fixed start value for the following 5 variables: order4.w:VARIABLE(start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order3.w:VARIABLE(start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order4.e1d:VARIABLE(start = order4.e1d0 unit = "1" fixed = true ) "d-axis transient voltage" type: Real order4.e1q:VARIABLE(start = order4.e1q0 unit = "1" fixed = true ) "q-axis transient voltage" type: Real order4.delta:VARIABLE(start = order4.delta0 unit = "rad" fixed = true ) "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 () * Number of clocked 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.002126/1.687, allocations: 0.7257 MB / 1.066 GB, free: 49.96 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001122/1.688, allocations: 458.3 kB / 1.067 GB, free: 49.51 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05123/1.74, allocations: 20.42 MB / 1.086 GB, free: 32.13 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.18e-05/1.74, allocations: 36 kB / 1.086 GB, free: 32.09 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.224e-05/1.74, allocations: 35.78 kB / 1.087 GB, free: 32.06 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001274/1.74, allocations: 19.92 kB / 1.087 GB, free: 32.04 MB / 0.573 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.05939/1.799, allocations: 25.67 MB / 1.112 GB, free: 6.293 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.138e-05/1.799, allocations: 0 / 1.112 GB, free: 6.293 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002417/1.802, allocations: 404 kB / 1.112 GB, free: 5.898 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02456/1.826, allocations: 8.55 MB / 1.12 GB, free: 13.34 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001059/1.828, allocations: 71.98 kB / 1.12 GB, free: 13.27 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3761/2.204, allocations: 32.24 MB / 1.152 GB, free: 145.9 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/2.204, allocations: 0 / 1.152 GB, free: 145.9 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06461/2.268, allocations: 24.08 MB / 1.175 GB, free: 145.5 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001553/2.27, allocations: 0.5537 MB / 1.176 GB, free: 145.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007806/2.271, allocations: 64.62 kB / 1.176 GB, free: 145.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003737/2.274, allocations: 495.4 kB / 1.176 GB, free: 145.1 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002631/2.277, allocations: 0.763 MB / 1.177 GB, free: 145.1 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002715/2.277, allocations: 93.84 kB / 1.177 GB, free: 145.1 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.002674/2.28, allocations: 2.067 MB / 1.179 GB, free: 145 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.2e-07/2.28, allocations: 0 / 1.179 GB, free: 145 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.00722/2.287, allocations: 2.866 MB / 1.182 GB, free: 144.8 MB / 0.6042 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 () * Number of clocked 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.05735/2.345, allocations: 24.82 MB / 1.206 GB, free: 143.5 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.03888/2.384, allocations: 16.93 MB / 1.223 GB, free: 139.4 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 7.303e-06/2.384, allocations: 64 / 1.223 GB, free: 139.4 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.01658/2.4, allocations: 6.918 MB / 1.23 GB, free: 134.8 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002413/2.403, allocations: 308.4 kB / 1.23 GB, free: 134.7 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01638/2.419, allocations: 21.12 MB / 1.251 GB, free: 114.3 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001743/2.421, allocations: 2.586 MB / 1.253 GB, free: 112.3 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.001851/2.423, allocations: 360.3 kB / 1.253 GB, free: 112.1 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001925/2.425, allocations: 1.929 MB / 1.255 GB, free: 110.3 MB / 0.6042 GB Notification: Performance of SimCode: time 1.744e-06/2.425, allocations: 0 / 1.255 GB, free: 110.3 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4471/2.872, allocations: 139.4 MB / 1.391 GB, free: 146.2 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000155/2.872, allocations: 220.5 kB / 1.392 GB, free: 146 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.178/10.05, allocations: 2.953 kB / 1.392 GB, free: 146 MB / 0.6042 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)