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.001168/0.001168, allocations: 174.8 kB / 12.73 MB, free: 2.59 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.34/1.34, allocations: 221.4 MB / 234.6 MB, free: 14.46 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008519/0.0008519, allocations: 93.02 kB / 285.6 MB, free: 13.01 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4539/0.4539, allocations: 78.08 MB / 414.6 MB, free: 11.02 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.732e-05/2.741e-05, allocations: 7.984 kB / 491.9 MB, free: 13.99 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3049/0.3049, allocations: 69.34 MB / 0.5481 GB, free: 20.14 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1215/0.4264, allocations: 99 MB / 0.6448 GB, free: 1.523 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001877/0.4266, allocations: 83.95 kB / 0.6449 GB, free: 1.441 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4531/0.8797, allocations: 61.64 MB / 0.705 GB, free: 100.3 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.803e-06/0.8798, allocations: 0 / 0.705 GB, free: 100.3 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001295/0.8799, allocations: 49.78 kB / 0.7051 GB, free: 100.3 MB / 490.7 MB 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.01142/0.8913, allocations: 3.771 MB / 0.7088 GB, free: 98.21 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.083e-05/0.8914, allocations: 16.62 kB / 0.7088 GB, free: 98.21 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006551/0.892, allocations: 282.5 kB / 0.7091 GB, free: 97.99 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009715/0.9018, allocations: 1.575 MB / 0.7106 GB, free: 97.31 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003101/0.9049, allocations: 1.476 MB / 0.712 GB, free: 96.23 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004894/0.9054, allocations: 0.6866 MB / 0.7127 GB, free: 95.61 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003912/0.9058, allocations: 205.5 kB / 0.7129 GB, free: 95.48 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003773/0.9096, allocations: 2.434 MB / 0.7153 GB, free: 93.03 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.147e-05/0.9096, allocations: 0 / 0.7153 GB, free: 93.03 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002302/0.9099, allocations: 76 kB / 0.7154 GB, free: 92.95 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.387e-05/0.9099, allocations: 44 kB / 0.7154 GB, free: 92.91 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003306/0.9132, allocations: 2.183 MB / 0.7175 GB, free: 90.73 MB / 490.7 MB 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.01572/0.9289, allocations: 9.657 MB / 0.727 GB, free: 80.75 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008934/0.9379, allocations: 4.057 MB / 0.7309 GB, free: 76.57 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002271/0.9402, allocations: 1.448 MB / 0.7323 GB, free: 75.12 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002691/0.9405, allocations: 36.86 kB / 0.7324 GB, free: 75.09 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.235e-05/0.9405, allocations: 60.56 kB / 0.7324 GB, free: 75.03 MB / 490.7 MB Notification: Performance of pre-optimization done (n=229): time 3.897e-06/0.9405, allocations: 0 / 0.7324 GB, free: 75.03 MB / 490.7 MB Notification: Performance of matching and sorting (n=229): time 0.03491/0.9755, allocations: 12.09 MB / 0.7442 GB, free: 62.93 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.306e-05/0.9756, allocations: 128.8 kB / 0.7444 GB, free: 62.77 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002297/0.9779, allocations: 1.66 MB / 0.746 GB, free: 61.09 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005794/0.9785, allocations: 65.7 kB / 0.746 GB, free: 61.02 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005645/0.979, allocations: 1.132 MB / 0.7471 GB, free: 59.88 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000693/0.9797, allocations: 0.7874 MB / 0.7479 GB, free: 59.1 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001743/0.9799, allocations: 44 kB / 0.748 GB, free: 59.06 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001115/0.98, allocations: 390.3 kB / 0.7483 GB, free: 58.67 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001787/0.9818, allocations: 1.16 MB / 0.7495 GB, free: 57.51 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001894/0.9837, allocations: 1.463 MB / 0.7509 GB, free: 55.94 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001891/0.9856, allocations: 1.281 MB / 0.7521 GB, free: 54.66 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.713e-06/0.9856, allocations: 4 kB / 0.7521 GB, free: 54.66 MB / 490.7 MB Notification: Performance of matching and sorting (n=278) (initialization): time 0.03568/1.021, allocations: 12.25 MB / 0.7641 GB, free: 42.39 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005483/1.022, allocations: 2.735 MB / 0.7668 GB, free: 39.44 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.688e-05/1.022, allocations: 8 kB / 0.7668 GB, free: 39.43 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01609/1.038, allocations: 5.221 MB / 0.7719 GB, free: 34.21 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001916/1.04, allocations: 339.5 kB / 0.7722 GB, free: 33.88 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03608/1.076, allocations: 17.88 MB / 0.7897 GB, free: 15.86 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003409/1.08, allocations: 497.7 kB / 0.7901 GB, free: 15.38 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002529/1.08, allocations: 79.92 kB / 0.7902 GB, free: 15.3 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.117e-06/1.08, allocations: 4 kB / 0.7902 GB, free: 15.29 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0347/1.115, allocations: 11.98 MB / 0.8019 GB, free: 3.309 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.238e-05/1.115, allocations: 8 kB / 0.8019 GB, free: 3.301 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01663/1.131, allocations: 5.217 MB / 0.807 GB, free: 14.08 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001945/1.133, allocations: 319.5 kB / 0.8073 GB, free: 13.77 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04477/1.178, allocations: 17.88 MB / 0.8248 GB, free: 11.75 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004052/1.182, allocations: 458.1 kB / 0.8252 GB, free: 11.3 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006621/1.183, allocations: 79.97 kB / 0.8253 GB, free: 11.22 MB / 0.5105 GB Warning: Assuming fixed start value for the following 7 variables: Exc2.vref:VARIABLE(unit = "1" fixed = false protected = true ) type: Real Exc1.vref:VARIABLE(unit = "1" fixed = false protected = true ) type: Real Syn2.e2d:VARIABLE(start = Syn2.e2d0 unit = "1" ) "d-axis sub-transient voltage" type: Real Syn2.e2q:VARIABLE(start = Syn2.e2q0 unit = "1" ) "q-axis sub-transient voltage" type: Real Syn2.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order2.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order3_2.w:VARIABLE(start = 1.0 ) "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 () * 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.001229/1.184, allocations: 230.1 kB / 0.8255 GB, free: 10.99 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001256/1.185, allocations: 276.6 kB / 0.8258 GB, free: 10.71 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0387/1.224, allocations: 12.41 MB / 0.8379 GB, free: 14.27 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.823e-05/1.224, allocations: 27.98 kB / 0.8379 GB, free: 14.24 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.189e-05/1.224, allocations: 16 kB / 0.8379 GB, free: 14.22 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.046e-05/1.224, allocations: 7.969 kB / 0.838 GB, free: 14.21 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 postOpt removeSimpleEquations (simulation): time 0.04523/1.269, allocations: 15.94 MB / 0.8535 GB, free: 14.17 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.998e-05/1.27, allocations: 4 kB / 0.8535 GB, free: 14.16 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001659/1.271, allocations: 251.6 kB / 0.8538 GB, free: 13.92 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01561/1.287, allocations: 4.81 MB / 0.8585 GB, free: 9.102 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006459/1.287, allocations: 47.92 kB / 0.8585 GB, free: 9.055 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03889/1.326, allocations: 15.36 MB / 0.8735 GB, free: 9.555 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.302e-06/1.326, allocations: 3.938 kB / 0.8735 GB, free: 9.551 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04414/1.371, allocations: 14.32 MB / 0.8875 GB, free: 11.16 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001107/1.372, allocations: 385.1 kB / 0.8879 GB, free: 10.77 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001003/1.373, allocations: 47.95 kB / 0.8879 GB, free: 10.72 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003563/1.376, allocations: 359.7 kB / 0.8882 GB, free: 10.37 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002211/1.379, allocations: 0.5446 MB / 0.8888 GB, free: 9.82 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003911/1.379, allocations: 59.98 kB / 0.8888 GB, free: 9.762 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.002234/1.381, allocations: 1.274 MB / 0.8901 GB, free: 8.473 MB / 0.573 GB Notification: Performance of sort global known variables: time 6.81e-07/1.381, allocations: 0 / 0.8901 GB, free: 8.473 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.005876/1.387, allocations: 1.697 MB / 0.8917 GB, free: 6.773 MB / 0.573 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 () * 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.3769/1.764, allocations: 15.2 MB / 0.9066 GB, free: 176.9 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.02526/1.789, allocations: 9.41 MB / 0.9158 GB, free: 176.2 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 6.983e-06/1.789, allocations: 3.188 kB / 0.9158 GB, free: 176.2 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.01367/1.803, allocations: 3.881 MB / 0.9196 GB, free: 175.9 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002359/1.805, allocations: 199.7 kB / 0.9198 GB, free: 175.9 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01199/1.817, allocations: 4.489 MB / 0.9241 GB, free: 174.6 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001455/1.819, allocations: 1.797 MB / 0.9259 GB, free: 173.8 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.002376/1.821, allocations: 358.6 kB / 0.9262 GB, free: 173.7 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001604/1.823, allocations: 1.076 MB / 0.9273 GB, free: 173.7 MB / 0.573 GB Notification: Performance of SimCode: time 1.633e-06/1.823, allocations: 3.969 kB / 0.9273 GB, free: 173.7 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1379/1.961, allocations: 96.65 MB / 1.022 GB, free: 90.98 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001775/1.961, allocations: 200.3 kB / 1.022 GB, free: 90.75 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.15/7.111, allocations: 0 / 1.022 GB, free: 90.75 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)