Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.Tutorial.Example_2.Example_2.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.Tutorial.Example_2.Example_2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.Tutorial.Example_2.Example_2") translateModel(OpenIPSL.Examples.Tutorial.Example_2.Example_2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.Tutorial.Example_2.Example_2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009697/0.0009699, allocations: 173.8 kB / 7.648 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.28/1.28, allocations: 221.5 MB / 229.6 MB, free: 7.586 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.0008416/0.0008416, allocations: 94.03 kB / 280.4 MB, free: 5.332 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4584/0.4584, allocations: 78.13 MB / 409.4 MB, free: 6.418 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.103e-05/2.104e-05, allocations: 11.86 kB / 485 MB, free: 12.43 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1422/0.1423, allocations: 69.36 MB / 0.5413 GB, free: 6.953 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4389/0.5812, allocations: 100.4 MB / 0.6394 GB, free: 15.34 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002696/0.5815, allocations: 82.33 kB / 0.6395 GB, free: 15.26 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08312/0.6647, allocations: 29.46 MB / 0.6682 GB, free: 1.859 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.924e-06/0.6647, allocations: 8 kB / 0.6682 GB, free: 1.852 MB / 474.7 MB Notification: Performance of Transformations before backend: time 7.957e-05/0.6648, allocations: 16 kB / 0.6683 GB, free: 1.836 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: 159 * Number of variables: 159 Notification: Performance of Generate backend data structure: time 0.003548/0.6683, allocations: 1.466 MB / 0.6697 GB, free: 328 kB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.203e-05/0.6684, allocations: 8.031 kB / 0.6697 GB, free: 320 kB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002238/0.6706, allocations: 422 kB / 0.6701 GB, free: 15.9 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001406/0.6721, allocations: 0.8605 MB / 0.6709 GB, free: 14.98 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000278/0.6724, allocations: 219.8 kB / 0.6711 GB, free: 14.73 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001241/0.6725, allocations: 47.86 kB / 0.6712 GB, free: 14.69 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001307/0.6738, allocations: 0.7485 MB / 0.6719 GB, free: 13.94 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001292/0.6751, allocations: 0.7664 MB / 0.6727 GB, free: 13.15 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.731e-05/0.6751, allocations: 0 / 0.6727 GB, free: 13.15 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.569e-05/0.6752, allocations: 0.9375 kB / 0.6727 GB, free: 13.15 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.779e-05/0.6753, allocations: 16 kB / 0.6727 GB, free: 13.14 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.00595/0.6812, allocations: 3.491 MB / 0.6761 GB, free: 9.531 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01361/0.6948, allocations: 3.979 MB / 0.68 GB, free: 5.508 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009917/0.6959, allocations: 459.2 kB / 0.6804 GB, free: 5.059 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001004/0.696, allocations: 16.78 kB / 0.6804 GB, free: 5.039 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.367e-05/0.696, allocations: 39.34 kB / 0.6805 GB, free: 4.992 MB / 490.7 MB Notification: Performance of pre-optimization done (n=76): time 5.109e-06/0.696, allocations: 0 / 0.6805 GB, free: 4.992 MB / 490.7 MB Notification: Performance of matching and sorting (n=76): time 0.00608/0.7021, allocations: 2.098 MB / 0.6825 GB, free: 2.879 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.122e-05/0.7022, allocations: 111.6 kB / 0.6826 GB, free: 2.742 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001431/0.7037, allocations: 0.8628 MB / 0.6835 GB, free: 1.863 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001128/0.7038, allocations: 25.7 kB / 0.6835 GB, free: 1.832 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003794/0.7042, allocations: 484.6 kB / 0.684 GB, free: 1.355 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002733/0.7044, allocations: 264.1 kB / 0.6842 GB, free: 1.094 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.938e-05/0.7045, allocations: 0 / 0.6842 GB, free: 1.094 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.000105/0.7046, allocations: 345.9 kB / 0.6845 GB, free: 0.75 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006125/0.7052, allocations: 410.6 kB / 0.6849 GB, free: 360 kB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000694/0.7059, allocations: 0.5157 MB / 0.6854 GB, free: 15.81 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006763/0.7066, allocations: 453.2 kB / 0.6859 GB, free: 15.37 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.027e-06/0.7066, allocations: 4.031 kB / 0.6859 GB, free: 15.36 MB / 0.4948 GB Notification: Performance of matching and sorting (n=101) (initialization): time 0.006261/0.7129, allocations: 2.309 MB / 0.6881 GB, free: 13.04 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.000216/0.7131, allocations: 0.6254 MB / 0.6887 GB, free: 12.37 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.997e-06/0.7132, allocations: 4 kB / 0.6887 GB, free: 12.36 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003745/0.7169, allocations: 1.003 MB / 0.6897 GB, free: 11.36 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008351/0.7178, allocations: 163.8 kB / 0.6899 GB, free: 11.2 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007679/0.7254, allocations: 4.294 MB / 0.6941 GB, free: 6.785 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001596/0.7271, allocations: 165.5 kB / 0.6942 GB, free: 6.625 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.988e-05/0.7272, allocations: 27.98 kB / 0.6943 GB, free: 6.598 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.266e-05/0.7272, allocations: 6.125 kB / 0.6943 GB, free: 6.594 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006124/0.7333, allocations: 2.171 MB / 0.6964 GB, free: 4.41 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.097e-05/0.7333, allocations: 4 kB / 0.6964 GB, free: 4.406 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003736/0.7371, allocations: 1 MB / 0.6974 GB, free: 3.398 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008491/0.738, allocations: 147.8 kB / 0.6975 GB, free: 3.254 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007681/0.7456, allocations: 4.289 MB / 0.7017 GB, free: 14.85 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001615/0.7473, allocations: 147.9 kB / 0.7018 GB, free: 14.7 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.799e-05/0.7474, allocations: 31.2 kB / 0.7019 GB, free: 14.68 MB / 0.5105 GB Warning: Assuming fixed start value for the following 1 variables: G1.avr.vref:VARIABLE(unit = "1" fixed = false protected = true ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (79): * Single equations (assignments): 76 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {8 13} Notification: Performance of prepare postOptimizeDAE: time 0.0003244/0.7477, allocations: 112.9 kB / 0.702 GB, free: 14.56 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000202/0.7479, allocations: 110.6 kB / 0.7021 GB, free: 14.45 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00574/0.7537, allocations: 2.181 MB / 0.7042 GB, free: 12.25 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.018e-05/0.7537, allocations: 8 kB / 0.7042 GB, free: 12.24 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.703e-06/0.7537, allocations: 4 kB / 0.7042 GB, free: 12.24 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.234e-05/0.7537, allocations: 3.984 kB / 0.7042 GB, free: 12.23 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.007742/0.7615, allocations: 3.685 MB / 0.7078 GB, free: 8.469 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.1e-06/0.7615, allocations: 0 / 0.7078 GB, free: 8.469 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007585/0.7623, allocations: 107.9 kB / 0.7079 GB, free: 8.363 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002724/0.765, allocations: 0.8432 MB / 0.7087 GB, free: 7.512 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001112/0.7651, allocations: 8 kB / 0.7087 GB, free: 7.504 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005434/0.7706, allocations: 3.277 MB / 0.7119 GB, free: 4.105 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.358e-06/0.7706, allocations: 4 kB / 0.712 GB, free: 4.102 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006717/0.7773, allocations: 2.831 MB / 0.7147 GB, free: 1.234 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000474/0.7778, allocations: 227.6 kB / 0.7149 GB, free: 0.9922 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001709/0.778, allocations: 4 kB / 0.7149 GB, free: 0.9883 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00117/0.7792, allocations: 119.8 kB / 0.7151 GB, free: 0.8711 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003661/0.7796, allocations: 128.5 kB / 0.7152 GB, free: 0.7461 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.52e-05/0.7796, allocations: 27.98 kB / 0.7152 GB, free: 0.7188 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0009249/0.7806, allocations: 0.6587 MB / 0.7158 GB, free: 52 kB / 0.5105 GB Notification: Performance of sort global known variables: time 1.8e-07/0.7806, allocations: 0 / 0.7158 GB, free: 52 kB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001592/0.7822, allocations: 0.5038 MB / 0.7163 GB, free: 15.54 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 12 (G1.avr.vm,G1.avr.vr,G1.avr.vf1,G1.machine.delta,G1.machine.w,G1.machine.e1q,G1.machine.e1d,G1.machine.e2q,G1.machine.e2d,G1.pss.imLeadLag.TF.x_scaled[1],G1.pss.imLeadLag1.TF.x_scaled[1],G1.pss.derivativeLag.TF.x_scaled[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (59): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(9,48.1%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002909/0.7825, allocations: 142.8 kB / 0.7165 GB, free: 15.39 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.006651/0.7891, allocations: 2.998 MB / 0.7194 GB, free: 12.29 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.937e-06/0.7892, allocations: 384 / 0.7194 GB, free: 12.29 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.002641/0.7918, allocations: 1.18 MB / 0.7206 GB, free: 11.06 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008048/0.7926, allocations: 102.2 kB / 0.7207 GB, free: 10.96 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003693/0.7963, allocations: 1.871 MB / 0.7225 GB, free: 9.074 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006028/0.797, allocations: 1.111 MB / 0.7236 GB, free: 7.93 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0008852/0.7979, allocations: 204.6 kB / 0.7238 GB, free: 7.727 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001993/0.7981, allocations: 47.42 kB / 0.7238 GB, free: 7.68 MB / 0.5261 GB Notification: Performance of SimCode: time 6.92e-07/0.7981, allocations: 0 / 0.7238 GB, free: 7.68 MB / 0.5261 GB Notification: Performance of Templates: time 0.03259/0.8307, allocations: 21.17 MB / 0.7445 GB, free: 2.727 MB / 0.5417 GB make -j1 -f OpenIPSL_release_OpenIPSL.Examples.Tutorial.Example_2.Example_2.makefile (rm -f OpenIPSL_release_OpenIPSL.Examples.Tutorial.Example_2.Example_2.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.Tutorial.Example_2.Example_2.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.Tutorial.Example_2.Example_2.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.Tutorial.Example_2.Example_2.sim & ./OpenIPSL_release_OpenIPSL.Examples.Tutorial.Example_2.Example_2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Examples.Tutorial.Example_2.Example_2.pipe 2>&1)