Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_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_release_OpenIPSL_Examples_PSATSystems_ThreeArea_ThirdOrder_AVRIII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII,fileNamePrefix="OpenIPSL_release_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.008407/0.008407, allocations: 171.9 kB / 15.11 MB, free: 5.973 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.416/1.416, allocations: 223.2 MB / 239 MB, free: 88 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.001116/0.001116, allocations: 96.61 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.4637/0.4637, allocations: 78.59 MB / 419.9 MB, free: 36.44 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003525/0.0003525, allocations: 19.98 kB / 499.9 MB, free: 7.211 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1224/0.1228, allocations: 69.35 MB / 0.5559 GB, free: 1.789 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3491/0.4719, allocations: 97.92 MB / 0.6515 GB, free: 4.27 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002486/0.4722, allocations: 84.23 kB / 0.6516 GB, free: 4.227 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1498/0.6221, allocations: 60.9 MB / 0.7111 GB, free: 7.734 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.254e-06/0.6221, allocations: 0 / 0.7111 GB, free: 7.734 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0001376/0.6223, allocations: 51.94 kB / 0.7111 GB, free: 7.684 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.01245/0.6347, allocations: 4.221 MB / 0.7152 GB, free: 3.398 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.423e-05/0.6348, allocations: 8.031 kB / 0.7152 GB, free: 3.391 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007688/0.6356, allocations: 286.3 kB / 0.7155 GB, free: 3.102 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009795/0.6454, allocations: 1.584 MB / 0.7171 GB, free: 1.512 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003863/0.6493, allocations: 1.464 MB / 0.7185 GB, free: 15.98 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007031/0.65, allocations: 0.6786 MB / 0.7191 GB, free: 15.2 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005557/0.6506, allocations: 192 kB / 0.7193 GB, free: 15.02 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006399/0.657, allocations: 3.066 MB / 0.7223 GB, free: 11.93 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.606e-05/0.657, allocations: 3.953 kB / 0.7223 GB, free: 11.93 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000236/0.6573, allocations: 80.5 kB / 0.7224 GB, free: 11.85 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.738e-05/0.6573, allocations: 48 kB / 0.7225 GB, free: 11.8 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005869/0.6632, allocations: 2.865 MB / 0.7252 GB, free: 8.934 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.01737/0.6806, allocations: 9.603 MB / 0.7346 GB, free: 14.91 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0115/0.6921, allocations: 4.775 MB / 0.7393 GB, free: 10.01 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000373/0.6925, allocations: 37.89 kB / 0.7393 GB, free: 9.98 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.546e-05/0.6926, allocations: 53.97 kB / 0.7394 GB, free: 9.922 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=227): time 4.759e-06/0.6926, allocations: 0 / 0.7394 GB, free: 9.922 MB / 0.5261 GB Notification: Performance of matching and sorting (n=227): time 0.1217/0.8143, allocations: 32.22 MB / 0.7708 GB, free: 9.641 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001194/0.8145, allocations: 128.8 kB / 0.771 GB, free: 9.492 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00376/0.8183, allocations: 1.656 MB / 0.7726 GB, free: 7.82 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0008047/0.8191, allocations: 61.7 kB / 0.7726 GB, free: 7.754 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.001019/0.8202, allocations: 1.121 MB / 0.7737 GB, free: 6.621 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.001372/0.8215, allocations: 0.7815 MB / 0.7745 GB, free: 5.828 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004426/0.822, allocations: 44 kB / 0.7745 GB, free: 5.785 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0002254/0.8222, allocations: 378.2 kB / 0.7749 GB, free: 5.41 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004121/0.8264, allocations: 1.796 MB / 0.7767 GB, free: 3.609 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00436/0.8307, allocations: 2.106 MB / 0.7787 GB, free: 1.395 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004285/0.835, allocations: 1.907 MB / 0.7806 GB, free: 15.49 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.237e-05/0.8351, allocations: 4 kB / 0.7806 GB, free: 15.48 MB / 0.573 GB Notification: Performance of matching and sorting (n=274) (initialization): time 0.04243/0.8775, allocations: 14.11 MB / 0.7944 GB, free: 1.352 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 0.2576/1.135, allocations: 2.73 MB / 0.797 GB, free: 122 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.672e-05/1.135, allocations: 6.281 kB / 0.797 GB, free: 122 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02055/1.156, allocations: 6.373 MB / 0.8032 GB, free: 122 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001759/1.158, allocations: 323.1 kB / 0.8036 GB, free: 122 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06949/1.227, allocations: 26.49 MB / 0.8294 GB, free: 120.5 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004795/1.232, allocations: 494.8 kB / 0.8299 GB, free: 120.4 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007034/1.233, allocations: 72.23 kB / 0.83 GB, free: 120.4 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.584e-05/1.233, allocations: 4.125 kB / 0.83 GB, free: 120.4 MB / 0.573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04218/1.275, allocations: 13.79 MB / 0.8434 GB, free: 119.9 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.219e-05/1.275, allocations: 6.344 kB / 0.8434 GB, free: 119.9 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02079/1.296, allocations: 6.377 MB / 0.8497 GB, free: 119.6 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001695/1.298, allocations: 305.8 kB / 0.85 GB, free: 119.6 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06476/1.362, allocations: 26.5 MB / 0.8758 GB, free: 110.9 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00369/1.366, allocations: 461.2 kB / 0.8763 GB, free: 110.8 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004795/1.367, allocations: 83.77 kB / 0.8764 GB, free: 110.8 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.001646/1.368, allocations: 495.2 kB / 0.8768 GB, free: 110.5 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007776/1.369, allocations: 265.2 kB / 0.8771 GB, free: 110.3 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03905/1.408, allocations: 14.27 MB / 0.891 GB, free: 107 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.433e-05/1.408, allocations: 24 kB / 0.891 GB, free: 107 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.207e-05/1.408, allocations: 17.86 kB / 0.8911 GB, free: 107 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.211e-05/1.408, allocations: 10.22 kB / 0.8911 GB, free: 107 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.04513/1.453, allocations: 17.76 MB / 0.9084 GB, free: 93.45 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.811e-05/1.454, allocations: 1.125 kB / 0.9084 GB, free: 93.45 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001496/1.455, allocations: 249.4 kB / 0.9087 GB, free: 93.24 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01638/1.471, allocations: 6.082 MB / 0.9146 GB, free: 88.52 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005369/1.472, allocations: 44 kB / 0.9146 GB, free: 88.47 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04955/1.522, allocations: 22.67 MB / 0.9368 GB, free: 69.12 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/1.522, allocations: 8 kB / 0.9368 GB, free: 69.11 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04261/1.564, allocations: 16.79 MB / 0.9532 GB, free: 55.58 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009884/1.565, allocations: 378.6 kB / 0.9535 GB, free: 55.24 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009933/1.566, allocations: 44.56 kB / 0.9536 GB, free: 55.2 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003338/1.57, allocations: 360.7 kB / 0.9539 GB, free: 54.92 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002086/1.572, allocations: 0.539 MB / 0.9545 GB, free: 54.63 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003719/1.572, allocations: 59.8 kB / 0.9545 GB, free: 54.58 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.00181/1.574, allocations: 1.275 MB / 0.9558 GB, free: 53.49 MB / 0.573 GB Notification: Performance of sort global known variables: time 3.21e-07/1.574, allocations: 0 / 0.9558 GB, free: 53.49 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.006122/1.58, allocations: 1.689 MB / 0.9574 GB, free: 51.88 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.04338/1.623, allocations: 17.68 MB / 0.9747 GB, free: 34.66 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.02937/1.653, allocations: 11.27 MB / 0.9857 GB, free: 23.39 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 8.737e-06/1.653, allocations: 0 / 0.9857 GB, free: 23.39 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.01254/1.665, allocations: 4.602 MB / 0.9902 GB, free: 18.79 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002104/1.668, allocations: 192 kB / 0.9904 GB, free: 18.61 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0133/1.681, allocations: 11.4 MB / 1.001 GB, free: 6.926 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009561/1.682, allocations: 1.782 MB / 1.003 GB, free: 5.113 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.001092/1.683, allocations: 207.9 kB / 1.003 GB, free: 4.914 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001099/1.684, allocations: 1.089 MB / 1.004 GB, free: 3.832 MB / 0.573 GB Notification: Performance of SimCode: time 8.41e-07/1.684, allocations: 0 / 1.004 GB, free: 3.832 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4164/2.101, allocations: 91.35 MB / 1.094 GB, free: 133.6 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001812/2.101, allocations: 218.9 kB / 1.094 GB, free: 133.4 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.501/7.602, allocations: 0 / 1.094 GB, free: 133.4 MB / 0.5886 GB (rm -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_release_OpenIPSL_Examples_PSATSystems_ThreeArea_ThirdOrder_AVRIII_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_release_OpenIPSL_Examples_PSATSystems_ThreeArea_ThirdOrder_AVRIII.fmu > OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII.pipe 2>&1)