Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete.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: translateModel(OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete,tolerance=0.001,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete") translateModel(OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete,tolerance=0.001,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001463/0.001463, allocations: 180.9 kB / 7.651 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.275/1.275, allocations: 221.5 MB / 229.6 MB, free: 7.598 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.000861/0.000861, allocations: 92.55 kB / 280.5 MB, free: 5.348 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.431/0.431, allocations: 78.13 MB / 409.4 MB, free: 6.5 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.274e-05/2.276e-05, allocations: 4 kB / 485 MB, free: 12.44 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.151/0.1511, allocations: 69.36 MB / 0.5413 GB, free: 6.965 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3458/0.4969, allocations: 96.97 MB / 0.636 GB, free: 2.77 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002186/0.4971, allocations: 85.73 kB / 0.6361 GB, free: 2.688 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08566/0.5828, allocations: 32.35 MB / 0.6677 GB, free: 2.324 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.272e-06/0.5828, allocations: 0 / 0.6677 GB, free: 2.324 MB / 474.7 MB Notification: Performance of Transformations before backend: time 6.762e-05/0.5829, allocations: 24 kB / 0.6677 GB, free: 2.301 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: 178 * Number of variables: 178 Notification: Performance of Generate backend data structure: time 0.004193/0.5871, allocations: 1.577 MB / 0.6693 GB, free: 0.6797 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.537e-05/0.5872, allocations: 8.875 kB / 0.6693 GB, free: 0.6719 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003368/0.5905, allocations: 0.5526 MB / 0.6698 GB, free: 120 kB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001253/0.5918, allocations: 0.7045 MB / 0.6705 GB, free: 15.36 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002741/0.5921, allocations: 244.2 kB / 0.6707 GB, free: 15.09 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001438/0.5923, allocations: 43.91 kB / 0.6708 GB, free: 15.04 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001323/0.5936, allocations: 0.7538 MB / 0.6715 GB, free: 14.29 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00153/0.5951, allocations: 0.8924 MB / 0.6724 GB, free: 13.38 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.659e-05/0.5951, allocations: 4 kB / 0.6724 GB, free: 13.37 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.517e-05/0.5952, allocations: 0 / 0.6724 GB, free: 13.37 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.509e-05/0.5953, allocations: 16.66 kB / 0.6724 GB, free: 13.36 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.005692/0.6009, allocations: 3.397 MB / 0.6757 GB, free: 9.777 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007218/0.6082, allocations: 2.535 MB / 0.6782 GB, free: 7.152 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007581/0.609, allocations: 0.4928 MB / 0.6787 GB, free: 6.656 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001053/0.6091, allocations: 12.77 kB / 0.6787 GB, free: 6.645 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.015e-05/0.6091, allocations: 47.34 kB / 0.6787 GB, free: 6.59 MB / 490.7 MB Notification: Performance of pre-optimization done (n=92): time 2.855e-06/0.6091, allocations: 0 / 0.6787 GB, free: 6.59 MB / 490.7 MB Notification: Performance of matching and sorting (n=92): time 0.01212/0.6212, allocations: 3.854 MB / 0.6825 GB, free: 2.719 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.33e-05/0.6214, allocations: 93.83 kB / 0.6826 GB, free: 2.609 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001035/0.6224, allocations: 0.7249 MB / 0.6833 GB, free: 1.867 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001175/0.6225, allocations: 25.7 kB / 0.6833 GB, free: 1.836 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003017/0.6228, allocations: 480.7 kB / 0.6838 GB, free: 1.359 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002887/0.6231, allocations: 287.7 kB / 0.684 GB, free: 1.074 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.056e-05/0.6232, allocations: 0 / 0.684 GB, free: 1.074 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 9.615e-05/0.6233, allocations: 341.9 kB / 0.6844 GB, free: 0.7344 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005827/0.6239, allocations: 376.2 kB / 0.6847 GB, free: 380 kB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007109/0.6246, allocations: 0.5381 MB / 0.6853 GB, free: 15.76 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006794/0.6253, allocations: 438.7 kB / 0.6857 GB, free: 15.33 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.404e-06/0.6253, allocations: 4 kB / 0.6857 GB, free: 15.33 MB / 0.4948 GB Notification: Performance of matching and sorting (n=113) (initialization): time 0.01176/0.6371, allocations: 3.817 MB / 0.6894 GB, free: 11.5 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.222e-05/0.6371, allocations: 8 kB / 0.6894 GB, free: 11.49 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.155e-05/0.6371, allocations: 4 kB / 0.6894 GB, free: 11.48 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004958/0.6421, allocations: 1.445 MB / 0.6908 GB, free: 10.04 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006036/0.6427, allocations: 147.8 kB / 0.691 GB, free: 9.891 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01261/0.6553, allocations: 6.38 MB / 0.6972 GB, free: 3.387 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001205/0.6566, allocations: 151.3 kB / 0.6973 GB, free: 3.238 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.543e-05/0.6567, allocations: 32 kB / 0.6974 GB, free: 3.207 MB / 0.4948 GB Warning: Assuming fixed start value for the following 4 variables: order4.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order4.e1d:VARIABLE(start = order4.e1d0 unit = "1" ) "d-axis transient voltage" type: Real order4.e1q:VARIABLE(start = order4.e1q0 unit = "1" ) "q-axis transient voltage" type: Real order4.delta:VARIABLE(start = order4.delta0 unit = "rad" ) "Rotor angle" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (82): * Single equations (assignments): 81 * 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 {18 14} Notification: Performance of prepare postOptimizeDAE: time 0.0002948/0.657, allocations: 136.6 kB / 0.6975 GB, free: 3.07 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008651/0.6578, allocations: 310.3 kB / 0.6978 GB, free: 2.758 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01139/0.6692, allocations: 3.767 MB / 0.7015 GB, free: 14.97 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.207e-06/0.6693, allocations: 12 kB / 0.7015 GB, free: 14.96 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.025e-05/0.6693, allocations: 9.125 kB / 0.7015 GB, free: 14.95 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.295e-05/0.6693, allocations: 7.938 kB / 0.7015 GB, free: 14.94 MB / 0.5105 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.01257/0.6819, allocations: 5.063 MB / 0.7064 GB, free: 9.777 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.91e-06/0.6819, allocations: 0 / 0.7064 GB, free: 9.777 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005733/0.6825, allocations: 111.9 kB / 0.7066 GB, free: 9.668 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004526/0.687, allocations: 1.438 MB / 0.708 GB, free: 8.223 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.735e-05/0.6871, allocations: 8 kB / 0.708 GB, free: 8.215 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01293/0.7001, allocations: 8.695 MB / 0.7165 GB, free: 15.23 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.19e-06/0.7001, allocations: 4 kB / 0.7165 GB, free: 15.23 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01283/0.7129, allocations: 4.63 MB / 0.721 GB, free: 10.57 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003822/0.7134, allocations: 207.5 kB / 0.7212 GB, free: 10.34 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002683/0.7136, allocations: 0 / 0.7212 GB, free: 10.34 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001097/0.7147, allocations: 109.1 kB / 0.7213 GB, free: 10.24 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004476/0.7152, allocations: 172.5 kB / 0.7214 GB, free: 10.07 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.337e-05/0.7153, allocations: 23.98 kB / 0.7215 GB, free: 10.05 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0007338/0.716, allocations: 0.5568 MB / 0.722 GB, free: 9.48 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.292e-06/0.716, allocations: 4 kB / 0.722 GB, free: 9.477 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.00127/0.7173, allocations: 367.4 kB / 0.7224 GB, free: 9.117 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (order2.delta,order2.w,order4.delta,order4.w,order4.e1q,order4.e1d) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (61): * Single equations (assignments): 59 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(19,24.4%) 13} * Non-linear torn systems: 1 {3 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002939/0.7176, allocations: 130.9 kB / 0.7225 GB, free: 8.98 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.004407/0.722, allocations: 1.765 MB / 0.7242 GB, free: 7.207 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.446e-06/0.722, allocations: 0 / 0.7242 GB, free: 7.207 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.003511/0.7256, allocations: 1.275 MB / 0.7255 GB, free: 5.926 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00138/0.727, allocations: 321.8 kB / 0.7258 GB, free: 5.602 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00347/0.7304, allocations: 1.525 MB / 0.7273 GB, free: 4.055 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006725/0.7311, allocations: 1.1 MB / 0.7283 GB, free: 2.926 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0003586/0.7315, allocations: 73.94 kB / 0.7284 GB, free: 2.852 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002423/0.7318, allocations: 59.42 kB / 0.7285 GB, free: 2.793 MB / 0.5261 GB Notification: Performance of SimCode: time 1.343e-06/0.7318, allocations: 0 / 0.7285 GB, free: 2.793 MB / 0.5261 GB Notification: Performance of Templates: time 0.02564/0.7574, allocations: 16.94 MB / 0.745 GB, free: 2.012 MB / 0.5417 GB make -j1 -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete.makefile (rm -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete.sim & ./OpenIPSL_release_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete.pipe 2>&1)