Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_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.FifthOrder_AVRIII,fileNamePrefix="OpenIPSL_release_OpenIPSL_Examples_PSATSystems_ThreeArea_FifthOrder_AVRIII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRIII,fileNamePrefix="OpenIPSL_release_OpenIPSL_Examples_PSATSystems_ThreeArea_FifthOrder_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.005312/0.005312, allocations: 172.4 kB / 15.12 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.331/1.331, allocations: 223.2 MB / 239 MB, free: 1.809 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009274/0.0009274, allocations: 93.7 kB / 290.2 MB, free: 13.96 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4649/0.4649, allocations: 78.59 MB / 419.9 MB, free: 44.22 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000345/0.000345, allocations: 8 kB / 499.9 MB, free: 2.84 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.389/0.3894, allocations: 69.35 MB / 0.5559 GB, free: 38.99 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1158/0.5053, allocations: 99.07 MB / 0.6526 GB, free: 7.414 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002476/0.5055, allocations: 79.95 kB / 0.6527 GB, free: 7.336 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.156/0.6615, allocations: 61.86 MB / 0.7131 GB, free: 9.121 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.763e-06/0.6616, allocations: 0 / 0.7131 GB, free: 9.121 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0001217/0.6617, allocations: 47.94 kB / 0.7131 GB, free: 9.074 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: 488 * Number of variables: 488 Notification: Performance of Generate backend data structure: time 0.01214/0.6739, allocations: 4.279 MB / 0.7173 GB, free: 4.73 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.3e-05/0.6739, allocations: 12.02 kB / 0.7173 GB, free: 4.719 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005675/0.6745, allocations: 278.4 kB / 0.7176 GB, free: 4.438 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009193/0.6837, allocations: 1.592 MB / 0.7192 GB, free: 2.84 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002501/0.6862, allocations: 1.495 MB / 0.7206 GB, free: 1.277 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005801/0.6868, allocations: 0.6826 MB / 0.7213 GB, free: 0.4961 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003313/0.6871, allocations: 195.9 kB / 0.7215 GB, free: 312 kB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005847/0.693, allocations: 3.086 MB / 0.7245 GB, free: 13.2 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.103e-05/0.693, allocations: 0 / 0.7245 GB, free: 13.2 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002537/0.6933, allocations: 80 kB / 0.7246 GB, free: 13.12 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.882e-05/0.6934, allocations: 47.95 kB / 0.7246 GB, free: 13.07 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005716/0.6991, allocations: 2.877 MB / 0.7274 GB, free: 10.2 MB / 0.5261 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.01798/0.7171, allocations: 9.67 MB / 0.7369 GB, free: 104 kB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01164/0.7287, allocations: 4.79 MB / 0.7415 GB, free: 11.19 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003309/0.7291, allocations: 37.89 kB / 0.7416 GB, free: 11.16 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.519e-05/0.7292, allocations: 56.56 kB / 0.7416 GB, free: 11.09 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=229): time 3.787e-06/0.7292, allocations: 0 / 0.7416 GB, free: 11.09 MB / 0.5417 GB Notification: Performance of matching and sorting (n=229): time 0.3629/1.092, allocations: 28.71 MB / 0.7697 GB, free: 119.1 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.922e-05/1.092, allocations: 126.8 kB / 0.7698 GB, free: 119 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002678/1.095, allocations: 1.689 MB / 0.7714 GB, free: 118.8 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0005403/1.095, allocations: 67.69 kB / 0.7715 GB, free: 118.7 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007971/1.096, allocations: 1.131 MB / 0.7726 GB, free: 118.6 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008526/1.097, allocations: 0.7873 MB / 0.7734 GB, free: 118.2 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001731/1.097, allocations: 42.5 kB / 0.7734 GB, free: 118.2 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001224/1.097, allocations: 385.8 kB / 0.7738 GB, free: 117.9 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003934/1.101, allocations: 1.807 MB / 0.7755 GB, free: 117.9 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003776/1.105, allocations: 2.117 MB / 0.7776 GB, free: 117.6 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003412/1.109, allocations: 1.917 MB / 0.7795 GB, free: 117.6 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.837e-06/1.109, allocations: 5.25 kB / 0.7795 GB, free: 117.6 MB / 0.5573 GB Notification: Performance of matching and sorting (n=278) (initialization): time 0.03819/1.147, allocations: 14.14 MB / 0.7933 GB, free: 117.2 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005018/1.147, allocations: 2.735 MB / 0.796 GB, free: 114.4 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.258e-05/1.147, allocations: 9.391 kB / 0.796 GB, free: 114.4 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01875/1.166, allocations: 6.422 MB / 0.8022 GB, free: 114 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001926/1.168, allocations: 341.1 kB / 0.8026 GB, free: 114 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05888/1.227, allocations: 26.45 MB / 0.8284 GB, free: 108.6 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003432/1.23, allocations: 496.4 kB / 0.8289 GB, free: 108.5 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002168/1.231, allocations: 80.69 kB / 0.8289 GB, free: 108.5 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.113e-05/1.231, allocations: 3.844 kB / 0.8289 GB, free: 108.5 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03574/1.266, allocations: 13.81 MB / 0.8424 GB, free: 106.1 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.337e-05/1.266, allocations: 10.95 kB / 0.8424 GB, free: 106.1 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01712/1.284, allocations: 6.424 MB / 0.8487 GB, free: 105.1 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001702/1.285, allocations: 321.6 kB / 0.849 GB, free: 105.1 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0544/1.34, allocations: 26.44 MB / 0.8749 GB, free: 85.62 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003872/1.344, allocations: 471.9 kB / 0.8753 GB, free: 85.27 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003466/1.344, allocations: 75.61 kB / 0.8754 GB, free: 85.2 MB / 0.5573 GB Warning: Assuming fixed start value for the following 7 variables: Exc2.vref:VARIABLE(unit = "1" fixed = true protected = true ) type: Real Exc1.vref:VARIABLE(unit = "1" fixed = true protected = true ) type: Real Syn2.e2d:VARIABLE(start = Syn2.e2d0 unit = "1" fixed = true ) "d-axis sub-transient voltage" type: Real Syn2.e2q:VARIABLE(start = Syn2.e2q0 unit = "1" fixed = true ) "q-axis sub-transient voltage" type: Real Syn2.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 (188): * Single equations (assignments): 187 * 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 {65 26} Notification: Performance of prepare postOptimizeDAE: time 0.001473/1.345, allocations: 0.4907 MB / 0.8759 GB, free: 84.72 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006953/1.346, allocations: 279.5 kB / 0.8761 GB, free: 84.45 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03753/1.384, allocations: 14.3 MB / 0.8901 GB, free: 73.45 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.512e-05/1.384, allocations: 20 kB / 0.8901 GB, free: 73.43 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.544e-05/1.384, allocations: 23.83 kB / 0.8901 GB, free: 73.41 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.051e-05/1.384, allocations: 11.06 kB / 0.8901 GB, free: 73.41 MB / 0.5573 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.0417/1.426, allocations: 17.82 MB / 0.9075 GB, free: 59.7 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.841e-05/1.426, allocations: 0 / 0.9075 GB, free: 59.7 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001863/1.428, allocations: 246.3 kB / 0.9078 GB, free: 59.49 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01599/1.444, allocations: 6.027 MB / 0.9137 GB, free: 54.44 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005209/1.444, allocations: 47.98 kB / 0.9137 GB, free: 54.39 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04708/1.491, allocations: 22.67 MB / 0.9358 GB, free: 31.59 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.559e-06/1.491, allocations: 4 kB / 0.9358 GB, free: 31.59 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04231/1.534, allocations: 16.83 MB / 0.9523 GB, free: 14.7 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001067/1.535, allocations: 385.2 kB / 0.9527 GB, free: 14.3 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005735/1.535, allocations: 43.95 kB / 0.9527 GB, free: 14.25 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002649/1.538, allocations: 371.5 kB / 0.953 GB, free: 13.89 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001912/1.54, allocations: 0.541 MB / 0.9536 GB, free: 13.35 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001838/1.54, allocations: 56 kB / 0.9536 GB, free: 13.3 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.001635/1.542, allocations: 1.295 MB / 0.9549 GB, free: 11.99 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.4e-07/1.542, allocations: 4 kB / 0.9549 GB, free: 11.99 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.005257/1.547, allocations: 1.703 MB / 0.9566 GB, free: 10.29 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 16 (order3_2.delta,order3_2.w,order3_2.e1q,order2.delta,order2.w,Syn2.delta,Syn2.w,Syn2.e1q,Syn2.e2q,Syn2.e2d,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 (148): * Single equations (assignments): 147 * 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 {(63,8.1%) 25} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.04514/1.592, allocations: 17.73 MB / 0.9739 GB, free: 8.508 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.3141/1.906, allocations: 11.34 MB / 0.9849 GB, free: 132.1 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 1.069e-05/1.906, allocations: 0.9062 kB / 0.985 GB, free: 132.1 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.01391/1.92, allocations: 4.591 MB / 0.9894 GB, free: 131.8 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001888/1.922, allocations: 189.9 kB / 0.9896 GB, free: 131.7 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01464/1.937, allocations: 11.63 MB / 1.001 GB, free: 124 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001316/1.938, allocations: 1.795 MB / 1.003 GB, free: 123.2 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.001285/1.939, allocations: 214.1 kB / 1.003 GB, free: 123.2 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001428/1.941, allocations: 1.093 MB / 1.004 GB, free: 123.2 MB / 0.573 GB Notification: Performance of SimCode: time 1.163e-06/1.941, allocations: 0 / 1.004 GB, free: 123.2 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1291/2.07, allocations: 91.87 MB / 1.094 GB, free: 94.58 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001218/2.07, allocations: 219 kB / 1.094 GB, free: 94.34 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.837/6.907, allocations: 0 / 1.094 GB, free: 94.34 MB / 0.573 GB (rm -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRIII.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRIII.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRIII.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRIII.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_release_OpenIPSL_Examples_PSATSystems_ThreeArea_FifthOrder_AVRIII_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_release_OpenIPSL_Examples_PSATSystems_ThreeArea_FifthOrder_AVRIII.fmu > OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRIII.pipe 2>&1)