Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_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.ThirdOrder_AVRI,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_TwoArea_ThirdOrder_AVRI",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRI,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_TwoArea_ThirdOrder_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.001578/0.001578, allocations: 174.7 kB / 12.73 MB, free: 2.59 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.214/1.214, allocations: 205.2 MB / 218.5 MB, free: 9.215 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.0007598/0.0007599, allocations: 88.53 kB / 266.6 MB, free: 9.281 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.05951/0.05951, allocations: 12.21 MB / 326.9 MB, free: 12.89 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.2738/0.2738, allocations: 78.02 MB / 455.6 MB, free: 15.37 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 2.863e-05/2.866e-05, allocations: 4 kB / 0.5213 GB, free: 24.13 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1013/0.1014, allocations: 69.25 MB / 0.5889 GB, free: 2.945 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3705/0.4719, allocations: 102.5 MB / 0.6891 GB, free: 13.84 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002383/0.4721, allocations: 80.31 kB / 0.6891 GB, free: 13.8 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2342/0.7064, allocations: 95.54 MB / 0.7824 GB, free: 8.559 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.262e-06/0.7064, allocations: 0 / 0.7824 GB, free: 8.559 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0002091/0.7066, allocations: 87.94 kB / 0.7825 GB, free: 8.473 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 889 * Number of variables: 889 Notification: Performance of Generate backend data structure: time 0.01696/0.7236, allocations: 5.739 MB / 0.7881 GB, free: 2.656 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.712e-05/0.7237, allocations: 11.98 kB / 0.7881 GB, free: 2.645 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001179/0.7248, allocations: 484.7 kB / 0.7886 GB, free: 2.16 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01645/0.7413, allocations: 2.779 MB / 0.7913 GB, free: 15.37 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004813/0.7461, allocations: 2.255 MB / 0.7935 GB, free: 13.04 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009021/0.7471, allocations: 0.9635 MB / 0.7945 GB, free: 11.95 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007549/0.7478, allocations: 343.9 kB / 0.7948 GB, free: 11.61 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007134/0.755, allocations: 4.069 MB / 0.7988 GB, free: 7.508 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.427e-05/0.7551, allocations: 11.88 kB / 0.7988 GB, free: 7.496 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003806/0.7555, allocations: 140 kB / 0.7989 GB, free: 7.359 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.394e-05/0.7555, allocations: 88 kB / 0.799 GB, free: 7.273 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007189/0.7627, allocations: 3.613 MB / 0.8025 GB, free: 3.656 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.03473/0.7975, allocations: 18.62 MB / 0.8207 GB, free: 15.84 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01061/0.8081, allocations: 4.743 MB / 0.8253 GB, free: 11.01 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003886/0.8121, allocations: 2.213 MB / 0.8275 GB, free: 8.785 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004147/0.8125, allocations: 70.88 kB / 0.8276 GB, free: 8.715 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.052e-05/0.8126, allocations: 73.53 kB / 0.8276 GB, free: 8.633 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=379): time 6.162e-06/0.8126, allocations: 0 / 0.8276 GB, free: 8.633 MB / 0.5573 GB Notification: Performance of matching and sorting (n=379): time 0.05134/0.8639, allocations: 17.44 MB / 0.8447 GB, free: 7.137 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.651e-05/0.8641, allocations: 171.4 kB / 0.8448 GB, free: 6.938 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004014/0.8681, allocations: 2.649 MB / 0.8474 GB, free: 4.27 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.0008453/0.8689, allocations: 85.7 kB / 0.8475 GB, free: 4.18 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.001319/0.8703, allocations: 1.991 MB / 0.8494 GB, free: 2.172 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.001558/0.8718, allocations: 1.294 MB / 0.8507 GB, free: 0.8594 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002827/0.8721, allocations: 72 kB / 0.8508 GB, free: 0.7891 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001894/0.8723, allocations: 441.5 kB / 0.8512 GB, free: 360 kB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003122/0.8755, allocations: 1.819 MB / 0.853 GB, free: 14.53 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003393/0.8789, allocations: 2.394 MB / 0.8553 GB, free: 11.93 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003295/0.8822, allocations: 2.075 MB / 0.8573 GB, free: 9.828 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.219e-05/0.8822, allocations: 4 kB / 0.8573 GB, free: 9.824 MB / 0.5886 GB Notification: Performance of matching and sorting (n=456) (initialization): time 0.3204/1.203, allocations: 17.64 MB / 0.8746 GB, free: 128.6 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 0.001126/1.204, allocations: 6.679 MB / 0.8811 GB, free: 121.7 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.481e-05/1.204, allocations: 14.34 kB / 0.8811 GB, free: 121.7 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02413/1.228, allocations: 6.92 MB / 0.8878 GB, free: 121.6 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002766/1.231, allocations: 0.5359 MB / 0.8884 GB, free: 121.6 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05589/1.287, allocations: 25.57 MB / 0.9133 GB, free: 120 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005346/1.292, allocations: 0.6902 MB / 0.914 GB, free: 119.9 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005043/1.293, allocations: 130.9 kB / 0.9141 GB, free: 119.9 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.144e-05/1.293, allocations: 7.062 kB / 0.9141 GB, free: 119.9 MB / 0.5886 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04687/1.339, allocations: 17.24 MB / 0.931 GB, free: 119.2 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.64e-05/1.34, allocations: 11.75 kB / 0.931 GB, free: 119.2 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02125/1.361, allocations: 6.923 MB / 0.9378 GB, free: 118.6 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002622/1.363, allocations: 0.5304 MB / 0.9383 GB, free: 118.5 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05176/1.415, allocations: 25.56 MB / 0.9632 GB, free: 106.6 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005624/1.421, allocations: 0.6621 MB / 0.9639 GB, free: 106.4 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006612/1.422, allocations: 129 kB / 0.964 GB, free: 106.4 MB / 0.5886 GB Warning: Assuming fixed start value for the following 4 variables: order3_1.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order3.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order3_1.e1q:VARIABLE(start = order3_1.e1q0 unit = "1" ) "q-axis transient voltage" type: Real order3_1.delta:VARIABLE(start = order3_1.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 (320): * Single equations (assignments): 317 * 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.0008905/1.423, allocations: 326.7 kB / 0.9643 GB, free: 106.1 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001015/1.424, allocations: 458 kB / 0.9647 GB, free: 105.9 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04769/1.471, allocations: 17.97 MB / 0.9823 GB, free: 92.53 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.959e-05/1.471, allocations: 43.89 kB / 0.9823 GB, free: 92.48 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.363e-05/1.471, allocations: 28 kB / 0.9824 GB, free: 92.46 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.636e-05/1.471, allocations: 20.25 kB / 0.9824 GB, free: 92.46 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.05804/1.529, allocations: 23.22 MB / 1.005 GB, free: 74.88 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.403e-05/1.53, allocations: 0 / 1.005 GB, free: 74.88 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002332/1.532, allocations: 402.7 kB / 1.005 GB, free: 74.55 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02064/1.553, allocations: 6.977 MB / 1.012 GB, free: 69.14 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001001/1.554, allocations: 71.42 kB / 1.012 GB, free: 69.07 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04774/1.601, allocations: 22.56 MB / 1.034 GB, free: 49.09 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.528e-06/1.601, allocations: 3.953 kB / 1.034 GB, free: 49.08 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05318/1.655, allocations: 20.79 MB / 1.055 GB, free: 31.13 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00139/1.656, allocations: 0.5538 MB / 1.055 GB, free: 30.61 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001578/1.658, allocations: 64 kB / 1.055 GB, free: 30.54 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005553/1.663, allocations: 495.6 kB / 1.056 GB, free: 30.06 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003266/1.666, allocations: 0.7646 MB / 1.056 GB, free: 29.29 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000729/1.667, allocations: 91.98 kB / 1.057 GB, free: 29.2 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.003055/1.67, allocations: 2.006 MB / 1.059 GB, free: 27.19 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.563e-06/1.67, allocations: 0 / 1.059 GB, free: 27.19 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.00995/1.68, allocations: 2.867 MB / 1.061 GB, free: 24.45 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 10 (order3.delta,order3.w,order3.e1q,order3_1.delta,order3_1.w,order3_1.e1q,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 (249): * Single equations (assignments): 247 * 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.05473/1.735, allocations: 21.53 MB / 1.082 GB, free: 2.859 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.04029/1.775, allocations: 14.41 MB / 1.096 GB, free: 4.371 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 7.514e-06/1.775, allocations: 0 / 1.096 GB, free: 4.371 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.2893/2.065, allocations: 5.979 MB / 1.102 GB, free: 145.3 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002825/2.068, allocations: 311.1 kB / 1.103 GB, free: 145.2 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01386/2.082, allocations: 6.62 MB / 1.109 GB, free: 143.6 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002129/2.084, allocations: 2.591 MB / 1.112 GB, free: 142.7 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.002746/2.086, allocations: 0.6064 MB / 1.112 GB, free: 142.7 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001957/2.088, allocations: 1.937 MB / 1.114 GB, free: 142.7 MB / 0.6042 GB Notification: Performance of SimCode: time 1.533e-06/2.088, allocations: 3.562 kB / 1.114 GB, free: 142.7 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1925/2.281, allocations: 147.6 MB / 1.258 GB, free: 63.74 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00013/2.281, allocations: 193.5 kB / 1.258 GB, free: 63.51 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.548/9.829, allocations: 0 / 1.258 GB, free: 63.51 MB / 0.6042 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRI.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRI.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRI.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_TwoArea_ThirdOrder_AVRI_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_TwoArea_ThirdOrder_AVRI.fmu > OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRI.pipe 2>&1)