Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII.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.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/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.ThreeArea.ThirdOrder_AVRIII,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_ThreeArea_ThirdOrder_AVRIII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII,fileNamePrefix="OpenIPSL_dev_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 4.0.0+maint.om/package.mo): time 0.007666/0.007666, allocations: 170 kB / 15.11 MB, free: 6.039 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.461/1.461, allocations: 223.2 MB / 239 MB, free: 84 kB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009686/0.0009683, allocations: 104 kB / 290.2 MB, free: 4.5 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4944/0.4944, allocations: 79.43 MB / 420.7 MB, free: 36.37 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000402/0.0004021, allocations: 8 kB / 0.4891 GB, free: 6.277 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.149/0.1494, allocations: 69.52 MB / 0.557 GB, free: 0.7031 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4306/0.5801, allocations: 98.51 MB / 0.6532 GB, free: 2.684 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002135/0.5804, allocations: 80.97 kB / 0.6533 GB, free: 2.605 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1608/0.7412, allocations: 61.76 MB / 0.7136 GB, free: 4.719 MB / 0.4948 GB Notification: Performance of FrontEnd: time 3.287e-06/0.7413, allocations: 0 / 0.7136 GB, free: 4.719 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0003749/0.7417, allocations: 51.94 kB / 0.7137 GB, free: 4.668 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: 486 * Number of variables: 486 Notification: Performance of Generate backend data structure: time 0.01668/0.7584, allocations: 4.217 MB / 0.7178 GB, free: 396 kB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 7.967e-05/0.7585, allocations: 8.031 kB / 0.7178 GB, free: 388 kB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001479/0.76, allocations: 298.2 kB / 0.7181 GB, free: 80 kB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.011/0.771, allocations: 1.578 MB / 0.7196 GB, free: 14.49 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005469/0.7765, allocations: 1.471 MB / 0.721 GB, free: 12.95 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00098/0.7775, allocations: 0.6786 MB / 0.7217 GB, free: 12.18 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00126/0.7788, allocations: 188 kB / 0.7219 GB, free: 11.99 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009987/0.7888, allocations: 3.066 MB / 0.7249 GB, free: 8.906 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.797e-05/0.789, allocations: 3.781 kB / 0.7249 GB, free: 8.906 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007368/0.7897, allocations: 80 kB / 0.725 GB, free: 8.828 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.263e-05/0.7898, allocations: 44 kB / 0.725 GB, free: 8.785 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007669/0.7975, allocations: 2.877 MB / 0.7278 GB, free: 5.906 MB / 0.5105 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 preOpt removeSimpleEquations (simulation): time 0.02546/0.823, allocations: 9.591 MB / 0.7372 GB, free: 11.89 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01275/0.8358, allocations: 4.771 MB / 0.7418 GB, free: 6.996 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005605/0.8364, allocations: 41.89 kB / 0.7419 GB, free: 6.957 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.758e-05/0.8365, allocations: 58.44 kB / 0.7419 GB, free: 6.895 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=227): time 6.573e-06/0.8365, allocations: 0 / 0.7419 GB, free: 6.895 MB / 0.5261 GB Notification: Performance of matching and sorting (n=227): time 0.1266/0.9631, allocations: 32.22 MB / 0.7734 GB, free: 6.613 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001201/0.9633, allocations: 124.8 kB / 0.7735 GB, free: 6.469 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004608/0.9679, allocations: 1.656 MB / 0.7751 GB, free: 4.797 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0009025/0.9688, allocations: 65.7 kB / 0.7752 GB, free: 4.727 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.001369/0.9702, allocations: 1.121 MB / 0.7763 GB, free: 3.594 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.001864/0.9721, allocations: 0.7815 MB / 0.777 GB, free: 2.801 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006388/0.9728, allocations: 40 kB / 0.7771 GB, free: 2.762 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0003491/0.9731, allocations: 386.2 kB / 0.7775 GB, free: 2.379 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004806/0.9779, allocations: 1.792 MB / 0.7792 GB, free: 0.582 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004959/0.9829, allocations: 2.103 MB / 0.7813 GB, free: 14.37 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004688/0.9876, allocations: 1.911 MB / 0.7831 GB, free: 12.46 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.527e-05/0.9877, allocations: 4 kB / 0.7831 GB, free: 12.45 MB / 0.573 GB Notification: Performance of matching and sorting (n=274) (initialization): time 0.3583/1.346, allocations: 14.09 MB / 0.7969 GB, free: 121.2 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005512/1.347, allocations: 2.737 MB / 0.7996 GB, free: 118.3 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.988e-05/1.347, allocations: 7.062 kB / 0.7996 GB, free: 118.3 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02007/1.367, allocations: 6.373 MB / 0.8058 GB, free: 118.3 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002083/1.369, allocations: 320.8 kB / 0.8061 GB, free: 118.3 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06501/1.434, allocations: 26.49 MB / 0.832 GB, free: 116.8 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004347/1.438, allocations: 491.1 kB / 0.8324 GB, free: 116.7 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000526/1.439, allocations: 79.97 kB / 0.8325 GB, free: 116.7 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 2.164e-05/1.439, allocations: 8.516 kB / 0.8325 GB, free: 116.7 MB / 0.573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04253/1.481, allocations: 13.78 MB / 0.846 GB, free: 116 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.969e-05/1.482, allocations: 8.438 kB / 0.846 GB, free: 116 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0201/1.502, allocations: 6.372 MB / 0.8522 GB, free: 115.7 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00184/1.504, allocations: 306.1 kB / 0.8525 GB, free: 115.7 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06272/1.566, allocations: 26.49 MB / 0.8784 GB, free: 107.1 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004212/1.571, allocations: 469.3 kB / 0.8788 GB, free: 107 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005069/1.571, allocations: 72.03 kB / 0.8789 GB, free: 107 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.001556/1.573, allocations: 0.494 MB / 0.8794 GB, free: 106.6 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008998/1.574, allocations: 268.1 kB / 0.8796 GB, free: 106.5 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04034/1.614, allocations: 14.27 MB / 0.8936 GB, free: 103.2 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-05/1.614, allocations: 25.64 kB / 0.8936 GB, free: 103.1 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.141e-05/1.614, allocations: 21.06 kB / 0.8936 GB, free: 103.1 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.608e-05/1.614, allocations: 10.45 kB / 0.8936 GB, free: 103.1 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.0437/1.658, allocations: 17.76 MB / 0.911 GB, free: 89.57 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.468e-05/1.658, allocations: 0 / 0.911 GB, free: 89.57 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001624/1.66, allocations: 250.5 kB / 0.9112 GB, free: 89.37 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01682/1.676, allocations: 6.083 MB / 0.9172 GB, free: 84.64 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007284/1.677, allocations: 43.7 kB / 0.9172 GB, free: 84.6 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04834/1.726, allocations: 22.66 MB / 0.9393 GB, free: 65.25 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.519e-06/1.726, allocations: 4 kB / 0.9393 GB, free: 65.24 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04296/1.769, allocations: 16.79 MB / 0.9557 GB, free: 51.73 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001047/1.77, allocations: 377.9 kB / 0.9561 GB, free: 51.39 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005419/1.77, allocations: 43.84 kB / 0.9561 GB, free: 51.35 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00274/1.773, allocations: 366.6 kB / 0.9565 GB, free: 51.07 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001848/1.775, allocations: 0.5495 MB / 0.957 GB, free: 50.77 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001878/1.775, allocations: 59.38 kB / 0.9571 GB, free: 50.71 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.001576/1.777, allocations: 1.271 MB / 0.9583 GB, free: 49.44 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.51e-07/1.777, allocations: 0 / 0.9583 GB, free: 49.44 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.005124/1.782, allocations: 1.683 MB / 0.96 GB, free: 47.82 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.04205/1.824, allocations: 17.69 MB / 0.9772 GB, free: 30.09 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.02968/1.854, allocations: 11.27 MB / 0.9882 GB, free: 18.82 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 9.457e-06/1.854, allocations: 0 / 0.9882 GB, free: 18.82 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.01296/1.867, allocations: 4.596 MB / 0.9927 GB, free: 14.21 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002758/1.869, allocations: 189.5 kB / 0.9929 GB, free: 14.03 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01741/1.887, allocations: 11.41 MB / 1.004 GB, free: 2.348 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001819/1.889, allocations: 1.782 MB / 1.006 GB, free: 0.5312 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.001564/1.89, allocations: 204.4 kB / 1.006 GB, free: 344 kB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001807/1.892, allocations: 1.094 MB / 1.007 GB, free: 15.26 MB / 0.5886 GB Notification: Performance of SimCode: time 3.737e-06/1.892, allocations: 0 / 1.007 GB, free: 15.26 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4339/2.326, allocations: 91.34 MB / 1.096 GB, free: 130.5 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001772/2.326, allocations: 216.7 kB / 1.096 GB, free: 130.2 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.273/7.6, allocations: 0 / 1.096 GB, free: 130.2 MB / 0.5886 GB (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_ThreeArea_ThirdOrder_AVRIII_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_ThreeArea_ThirdOrder_AVRIII.fmu > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII.pipe 2>&1)