Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode") translateModel(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.0009938/0.0009939, allocations: 187.9 kB / 8.353 MB, free: 0.707 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.371/1.371, allocations: 194.3 MB / 203.1 MB, free: 9.312 MB / 171.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001738/0.001738, allocations: 117.7 kB / 248.1 MB, free: 6.363 MB / 203.1 MB Notification: Performance of FrontEnd - loaded program: time 1.521e-05/1.525e-05, allocations: 4 kB / 298.1 MB, free: 8.238 MB / 251.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08988/0.08991, allocations: 44.48 MB / 342.6 MB, free: 11.65 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2982/0.3882, allocations: 77.79 MB / 420.4 MB, free: 18.09 MB / 315.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001965/0.3884, allocations: 78.45 kB / 420.4 MB, free: 18.05 MB / 315.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.0351/0.4236, allocations: 17.44 MB / 437.9 MB, free: 4.121 MB / 315.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.4236, allocations: 0 / 437.9 MB, free: 4.121 MB / 315.1 MB Notification: Performance of Transformations before backend: time 1.672e-05/0.4236, allocations: 12 kB / 437.9 MB, free: 4.109 MB / 315.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 170 * Number of variables: 170 Notification: Performance of Generate backend data structure: time 0.001537/0.4252, allocations: 0.83 MB / 438.7 MB, free: 3.301 MB / 315.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.221e-05/0.4252, allocations: 8.031 kB / 438.7 MB, free: 3.293 MB / 315.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002608/0.4278, allocations: 454 kB / 439.2 MB, free: 2.898 MB / 315.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003917/0.4282, allocations: 349.7 kB / 439.5 MB, free: 2.586 MB / 315.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.839e-05/0.4283, allocations: 20 kB / 439.5 MB, free: 2.566 MB / 315.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.777e-05/0.4284, allocations: 40.47 kB / 439.6 MB, free: 2.527 MB / 315.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00102/0.4294, allocations: 0.7767 MB / 440.3 MB, free: 2.047 MB / 315.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008826/0.4303, allocations: 0.6639 MB / 441 MB, free: 1.578 MB / 315.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.388e-05/0.4303, allocations: 0 / 441 MB, free: 1.578 MB / 315.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.244e-05/0.4304, allocations: 0 / 441 MB, free: 1.578 MB / 315.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.467e-05/0.4304, allocations: 19.98 kB / 441 MB, free: 1.559 MB / 315.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003295/0.4337, allocations: 2.594 MB / 443.6 MB, free: 15.41 MB / 331.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001596/0.4353, allocations: 1.887 MB / 445.5 MB, free: 13.37 MB / 331.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002332/0.4356, allocations: 189.8 kB / 445.7 MB, free: 13.25 MB / 331.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000102/0.4357, allocations: 97.47 kB / 445.8 MB, free: 13.14 MB / 331.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.198e-05/0.4357, allocations: 40.88 kB / 445.8 MB, free: 13.1 MB / 331.1 MB Notification: Performance of pre-optimization done (n=50): time 2.194e-06/0.4357, allocations: 0 / 445.8 MB, free: 13.1 MB / 331.1 MB Notification: Performance of matching and sorting (n=50): time 0.0009823/0.4367, allocations: 460.4 kB / 446.3 MB, free: 12.75 MB / 331.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.314e-05/0.4368, allocations: 81.55 kB / 446.4 MB, free: 12.65 MB / 331.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002704/0.437, allocations: 283.2 kB / 446.6 MB, free: 12.44 MB / 331.1 MB Notification: Performance of collectPreVariables (initialization): time 3.143e-05/0.4371, allocations: 25.7 kB / 446.7 MB, free: 12.41 MB / 331.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000144/0.4372, allocations: 302.2 kB / 447 MB, free: 12.14 MB / 331.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001042/0.4373, allocations: 158.3 kB / 447.1 MB, free: 12 MB / 331.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.701e-05/0.4374, allocations: 0 / 447.1 MB, free: 12 MB / 331.1 MB Notification: Performance of setup shared object (initialization): time 0.0001135/0.4375, allocations: 345.2 kB / 447.4 MB, free: 11.67 MB / 331.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002455/0.4377, allocations: 191.9 kB / 447.6 MB, free: 11.56 MB / 331.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003584/0.4381, allocations: 396 kB / 448 MB, free: 11.19 MB / 331.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006338/0.4387, allocations: 322.2 kB / 448.3 MB, free: 10.97 MB / 331.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.049e-06/0.4388, allocations: 7.938 kB / 448.3 MB, free: 10.96 MB / 331.1 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001262/0.44, allocations: 0.7148 MB / 449.1 MB, free: 10.42 MB / 331.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.001022/0.4411, allocations: 2.446 MB / 451.5 MB, free: 7.828 MB / 331.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.337e-05/0.4411, allocations: 11.95 kB / 451.5 MB, free: 7.816 MB / 331.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002482/0.4413, allocations: 51.34 kB / 451.6 MB, free: 7.773 MB / 331.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005105/0.4419, allocations: 146.5 kB / 451.7 MB, free: 7.637 MB / 331.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001259/0.4431, allocations: 1.541 MB / 453.3 MB, free: 6.109 MB / 331.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004195/0.4436, allocations: 63.27 kB / 453.3 MB, free: 6.047 MB / 331.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.861e-05/0.4436, allocations: 34.23 kB / 453.3 MB, free: 6.02 MB / 331.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.614e-06/0.4436, allocations: 5.688 kB / 453.4 MB, free: 6.016 MB / 331.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001204/0.4449, allocations: 0.662 MB / 454 MB, free: 5.531 MB / 331.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.997e-06/0.4449, allocations: 12.03 kB / 454 MB, free: 5.52 MB / 331.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001489/0.445, allocations: 57.14 kB / 454.1 MB, free: 5.473 MB / 331.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004641/0.4455, allocations: 134.4 kB / 454.2 MB, free: 5.348 MB / 331.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00102/0.4465, allocations: 1.44 MB / 455.7 MB, free: 3.922 MB / 331.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000335/0.4469, allocations: 47.52 kB / 455.7 MB, free: 3.875 MB / 331.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.585e-05/0.4469, allocations: 34.61 kB / 455.7 MB, free: 3.848 MB / 331.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (71): * Single equations (assignments): 68 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 {(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001505/0.4471, allocations: 132.5 kB / 455.9 MB, free: 3.711 MB / 331.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.855e-05/0.4472, allocations: 32.19 kB / 455.9 MB, free: 3.68 MB / 331.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001026/0.4482, allocations: 0.5287 MB / 456.4 MB, free: 3.289 MB / 331.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.626e-06/0.4482, allocations: 4 kB / 456.4 MB, free: 3.285 MB / 331.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/0.4483, allocations: 7.953 kB / 456.4 MB, free: 3.277 MB / 331.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.971e-06/0.4483, allocations: 0 / 456.4 MB, free: 3.277 MB / 331.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001656/0.4499, allocations: 1.12 MB / 457.6 MB, free: 2.387 MB / 331.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.347e-06/0.4499, allocations: 0 / 457.6 MB, free: 2.387 MB / 331.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003565/0.4503, allocations: 86.95 kB / 457.6 MB, free: 2.305 MB / 331.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001579/0.4505, allocations: 55.33 kB / 457.7 MB, free: 2.258 MB / 331.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.571e-05/0.4505, allocations: 5.484 kB / 457.7 MB, free: 2.254 MB / 331.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00116/0.4517, allocations: 1.531 MB / 459.2 MB, free: 0.7461 MB / 331.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/0.4517, allocations: 0 / 459.2 MB, free: 0.7461 MB / 331.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001131/0.4528, allocations: 0.7721 MB / 460 MB, free: 184 kB / 331.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000139/0.453, allocations: 148.5 kB / 460.1 MB, free: 36 kB / 331.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.114e-05/0.453, allocations: 4.125 kB / 460.2 MB, free: 32 kB / 331.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002815/0.4533, allocations: 23.97 kB / 460.2 MB, free: 8 kB / 331.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.458e-05/0.4534, allocations: 31.89 kB / 460.2 MB, free: 15.98 MB / 347.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.76e-05/0.4535, allocations: 15.88 kB / 460.2 MB, free: 15.96 MB / 347.1 MB Notification: Performance of sorting global known variables: time 0.0001954/0.4537, allocations: 197.9 kB / 460.4 MB, free: 15.82 MB / 347.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4537, allocations: 0 / 460.4 MB, free: 15.82 MB / 347.1 MB Notification: Performance of remove unused functions: time 0.0009751/0.4547, allocations: 289.5 kB / 460.7 MB, free: 15.54 MB / 347.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (currentSensor.pin_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (46): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 {(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002168/0.4549, allocations: 123.2 kB / 460.8 MB, free: 15.41 MB / 347.1 MB Notification: Performance of simCode: created initialization part: time 0.001389/0.4563, allocations: 1.005 MB / 461.8 MB, free: 14.66 MB / 347.1 MB Notification: Performance of simCode: created event and clocks part: time 4.048e-06/0.4563, allocations: 4.125 kB / 461.8 MB, free: 14.66 MB / 347.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003622/0.4567, allocations: 324.2 kB / 462.1 MB, free: 14.4 MB / 347.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002981/0.457, allocations: 29.89 kB / 462.2 MB, free: 14.38 MB / 347.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002999/0.46, allocations: 1.158 MB / 463.3 MB, free: 13.23 MB / 347.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003581/0.4604, allocations: 0.853 MB / 464.2 MB, free: 12.35 MB / 347.1 MB Notification: Performance of simCode: alias equations: time 0.0008814/0.4612, allocations: 0.593 MB / 464.8 MB, free: 11.76 MB / 347.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001088/0.4614, allocations: 39.42 kB / 464.8 MB, free: 11.72 MB / 347.1 MB Notification: Performance of SimCode: time 8.12e-07/0.4614, allocations: 0 / 464.8 MB, free: 11.72 MB / 347.1 MB Notification: Performance of Templates: time 0.009088/0.4705, allocations: 5.007 MB / 469.8 MB, free: 6.766 MB / 347.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode.sim & ./Modelica_3.2.2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode.pipe 2>&1)