Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII.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.ThreeArea.ThirdOrder_AVRIII,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_ThreeArea_ThirdOrder_AVRIII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_ThreeArea_ThirdOrder_AVRIII",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.005069/0.005069, allocations: 169.5 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.346/1.346, allocations: 205.4 MB / 221.3 MB, free: 13.82 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.0008642/0.0008642, allocations: 94.84 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.06431/0.06431, allocations: 12.2 MB / 330.1 MB, free: 10.69 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4311/0.4311, allocations: 78.52 MB / 459.6 MB, free: 4.004 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004897/0.0004898, allocations: 27.5 kB / 0.528 GB, free: 35.26 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1345/0.135, allocations: 69.24 MB / 0.5956 GB, free: 4.266 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1325/0.2675, allocations: 99.46 MB / 0.6928 GB, free: 0.668 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000233/0.2678, allocations: 83.94 kB / 0.6928 GB, free: 0.5859 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4178/0.6856, allocations: 59.15 MB / 0.7506 GB, free: 60.06 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.895e-06/0.6857, allocations: 0 / 0.7506 GB, free: 60.06 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001259/0.6858, allocations: 48 kB / 0.7507 GB, free: 60.01 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: 486 * Number of variables: 486 Notification: Performance of Generate backend data structure: time 0.01192/0.6977, allocations: 4.242 MB / 0.7548 GB, free: 55.71 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.052e-05/0.6978, allocations: 15.98 kB / 0.7548 GB, free: 55.69 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000831/0.6987, allocations: 286.3 kB / 0.7551 GB, free: 55.4 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009359/0.708, allocations: 1.584 MB / 0.7566 GB, free: 53.81 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003601/0.7117, allocations: 1.471 MB / 0.7581 GB, free: 52.27 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004702/0.7122, allocations: 0.6825 MB / 0.7587 GB, free: 51.49 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003663/0.7125, allocations: 192 kB / 0.7589 GB, free: 51.3 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005271/0.7178, allocations: 3.062 MB / 0.7619 GB, free: 48.22 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.334e-05/0.7179, allocations: 0 / 0.7619 GB, free: 48.22 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002281/0.7181, allocations: 80 kB / 0.762 GB, free: 48.14 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.142e-05/0.7181, allocations: 48 kB / 0.762 GB, free: 48.1 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004732/0.7229, allocations: 2.865 MB / 0.7648 GB, free: 45.23 MB / 474.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.01473/0.7376, allocations: 9.607 MB / 0.7742 GB, free: 35.2 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009931/0.7476, allocations: 4.762 MB / 0.7789 GB, free: 30.32 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002265/0.7478, allocations: 41.95 kB / 0.7789 GB, free: 30.28 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.857e-05/0.7479, allocations: 52.56 kB / 0.779 GB, free: 30.22 MB / 474.7 MB Notification: Performance of pre-optimization done (n=227): time 3.927e-06/0.7479, allocations: 0 / 0.779 GB, free: 30.22 MB / 474.7 MB Notification: Performance of matching and sorting (n=227): time 0.1062/0.8541, allocations: 32.22 MB / 0.8104 GB, free: 13.94 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.49e-05/0.8542, allocations: 124.8 kB / 0.8105 GB, free: 13.79 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002664/0.8569, allocations: 1.664 MB / 0.8122 GB, free: 12.11 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006274/0.8575, allocations: 61.7 kB / 0.8122 GB, free: 12.05 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008516/0.8584, allocations: 1.125 MB / 0.8133 GB, free: 10.91 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000898/0.8593, allocations: 0.7776 MB / 0.8141 GB, free: 10.12 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001689/0.8595, allocations: 44 kB / 0.8141 GB, free: 10.08 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001935/0.8597, allocations: 386.2 kB / 0.8145 GB, free: 9.695 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003559/0.8633, allocations: 1.804 MB / 0.8162 GB, free: 7.887 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003788/0.8671, allocations: 2.091 MB / 0.8183 GB, free: 5.688 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003674/0.8707, allocations: 1.907 MB / 0.8202 GB, free: 3.781 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.244e-06/0.8708, allocations: 0 / 0.8202 GB, free: 3.781 MB / 490.7 MB Notification: Performance of matching and sorting (n=274) (initialization): time 0.0412/0.912, allocations: 14.1 MB / 0.8339 GB, free: 5.656 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 0.001329/0.9134, allocations: 2.74 MB / 0.8366 GB, free: 2.699 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.391e-05/0.9134, allocations: 8 kB / 0.8366 GB, free: 2.691 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01949/0.9329, allocations: 6.378 MB / 0.8428 GB, free: 12.3 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001777/0.9347, allocations: 319.5 kB / 0.8431 GB, free: 11.99 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05996/0.9947, allocations: 26.5 MB / 0.869 GB, free: 1.348 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004046/0.9988, allocations: 481.9 kB / 0.8695 GB, free: 0.875 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002913/0.9991, allocations: 83.97 kB / 0.8696 GB, free: 0.793 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.465e-05/0.9991, allocations: 6.656 kB / 0.8696 GB, free: 0.7891 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03981/1.039, allocations: 13.79 MB / 0.883 GB, free: 2.98 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.908e-05/1.039, allocations: 11.94 kB / 0.883 GB, free: 2.969 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0192/1.058, allocations: 6.37 MB / 0.8893 GB, free: 12.59 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001742/1.06, allocations: 303.6 kB / 0.8896 GB, free: 12.29 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06181/1.122, allocations: 26.5 MB / 0.9154 GB, free: 1.645 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004068/1.126, allocations: 474 kB / 0.9159 GB, free: 1.18 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002847/1.126, allocations: 71.98 kB / 0.916 GB, free: 1.109 MB / 0.573 GB Warning: Assuming fixed start value for the following 6 variables: Exc2.vref:VARIABLE(unit = "1" fixed = true protected = true ) type: Real Exc1.vref:VARIABLE(unit = "1" fixed = true protected = true ) type: Real order3_1.e1q:VARIABLE(start = order3_1.e1q0 unit = "1" fixed = true ) "q-axis transient voltage" type: Real order3_1.w:VARIABLE(start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order2.w:VARIABLE(start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order3_2.w:VARIABLE(start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * 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 (184): * Single equations (assignments): 183 * Array equations: 0 * Algorithm blocks: 0 * 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 {64 27} Notification: Performance of prepare postOptimizeDAE: time 0.001592/1.128, allocations: 489.9 kB / 0.9164 GB, free: 0.6211 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007356/1.129, allocations: 272.6 kB / 0.9167 GB, free: 360 kB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3514/1.48, allocations: 14.26 MB / 0.9306 GB, free: 161.6 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.522e-05/1.48, allocations: 21.75 kB / 0.9306 GB, free: 161.6 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.57e-05/1.48, allocations: 19.59 kB / 0.9307 GB, free: 161.6 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.337e-05/1.48, allocations: 11.77 kB / 0.9307 GB, free: 161.6 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.04219/1.522, allocations: 17.75 MB / 0.948 GB, free: 160.6 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.954e-05/1.522, allocations: 1.062 kB / 0.948 GB, free: 160.6 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001575/1.524, allocations: 247.5 kB / 0.9482 GB, free: 160.6 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01592/1.54, allocations: 6.084 MB / 0.9542 GB, free: 160.3 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000686/1.541, allocations: 45.11 kB / 0.9542 GB, free: 160.3 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04724/1.588, allocations: 22.67 MB / 0.9764 GB, free: 147.7 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.959e-06/1.588, allocations: 2.656 kB / 0.9764 GB, free: 147.7 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04041/1.628, allocations: 16.81 MB / 0.9928 GB, free: 134.2 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001119/1.63, allocations: 375.9 kB / 0.9931 GB, free: 133.8 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005583/1.63, allocations: 40 kB / 0.9932 GB, free: 133.8 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00249/1.633, allocations: 368.8 kB / 0.9935 GB, free: 133.5 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0019/1.635, allocations: 0.5437 MB / 0.9941 GB, free: 133.2 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001714/1.635, allocations: 55.8 kB / 0.9941 GB, free: 133.2 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.001578/1.636, allocations: 1.279 MB / 0.9954 GB, free: 132.1 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.8e-07/1.636, allocations: 0 / 0.9954 GB, free: 132.1 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.004729/1.641, allocations: 1.699 MB / 0.997 GB, free: 130.5 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 14 (order3_2.delta,order3_2.w,order3_2.e1q,order2.delta,order2.w,order3_1.delta,order3_1.w,order3_1.e1q,Exc1.vm,Exc1.vr,Exc1.vf1,Exc2.vm,Exc2.vr,Exc2.vf1) * 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 (146): * Single equations (assignments): 145 * Array equations: 0 * Algorithm blocks: 0 * 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 {(65,7.8%) 23} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.04112/1.682, allocations: 17.67 MB / 1.014 GB, free: 115.3 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.02705/1.709, allocations: 11.27 MB / 1.025 GB, free: 104 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 1.06e-05/1.709, allocations: 4.062 kB / 1.025 GB, free: 104 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.01148/1.721, allocations: 4.599 MB / 1.03 GB, free: 99.42 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001784/1.723, allocations: 192 kB / 1.03 GB, free: 99.23 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01135/1.734, allocations: 11.4 MB / 1.041 GB, free: 87.54 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001066/1.735, allocations: 1.786 MB / 1.043 GB, free: 85.72 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.001125/1.736, allocations: 211.6 kB / 1.043 GB, free: 85.52 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001075/1.737, allocations: 1.089 MB / 1.044 GB, free: 84.43 MB / 0.573 GB Notification: Performance of SimCode: time 9.02e-07/1.737, allocations: 0 / 1.044 GB, free: 84.43 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1248/1.862, allocations: 91.4 MB / 1.133 GB, free: 9.57 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000208/1.862, allocations: 216.6 kB / 1.134 GB, free: 9.332 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.057/6.92, allocations: 0 / 1.134 GB, free: 9.332 MB / 0.5886 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_ThreeArea_ThirdOrder_AVRIII_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_ThreeArea_ThirdOrder_AVRIII.fmu > OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII.pipe 2>&1)