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.0009283/0.0009284, allocations: 179.1 kB / 16.38 MB, free: 5.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.168/1.168, allocations: 194.5 MB / 211.6 MB, free: 3.055 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001632/0.001631, allocations: 106.8 kB / 256.9 MB, free: 4.359 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002909/0.0002909, allocations: 8 kB / 310.6 MB, free: 14.94 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07649/0.07679, allocations: 44.49 MB / 355.1 MB, free: 2.344 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2396/0.3164, allocations: 78.54 MB / 433.6 MB, free: 11.04 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002247/0.3167, allocations: 84.7 kB / 433.7 MB, free: 11 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03735/0.3541, allocations: 17.71 MB / 451.4 MB, free: 11.75 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.364e-06/0.3541, allocations: 0 / 451.4 MB, free: 11.75 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.95e-05/0.3542, allocations: 12 kB / 451.4 MB, free: 11.73 MB / 330.7 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.001719/0.3559, allocations: 0.8511 MB / 452.3 MB, free: 10.84 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.01e-05/0.3559, allocations: 15.97 kB / 452.3 MB, free: 10.82 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002717/0.3587, allocations: 446.9 kB / 452.7 MB, free: 10.38 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000523/0.3592, allocations: 357.1 kB / 453.1 MB, free: 9.996 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.24e-05/0.3593, allocations: 53.98 kB / 453.1 MB, free: 9.945 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001129/0.3594, allocations: 71.92 kB / 453.2 MB, free: 9.875 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001528/0.3609, allocations: 0.8172 MB / 454 MB, free: 9.043 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.87e-05/0.361, allocations: 7.906 kB / 454 MB, free: 9.035 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.402e-05/0.3611, allocations: 28 kB / 454 MB, free: 9.008 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.972e-05/0.3611, allocations: 16.84 kB / 454 MB, free: 8.992 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001444/0.3625, allocations: 0.8784 MB / 454.9 MB, free: 8.117 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003863/0.3664, allocations: 2.772 MB / 457.7 MB, free: 5.168 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001916/0.3683, allocations: 2.04 MB / 459.7 MB, free: 2.809 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.948e-05/0.3684, allocations: 97.91 kB / 459.8 MB, free: 2.695 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.168e-05/0.3685, allocations: 42.95 kB / 459.9 MB, free: 2.645 MB / 330.7 MB Notification: Performance of pre-optimization done (n=52): time 3.046e-06/0.3685, allocations: 0 / 459.9 MB, free: 2.645 MB / 330.7 MB Notification: Performance of matching and sorting (n=52): time 0.001903/0.3704, allocations: 1.086 MB / 461 MB, free: 1.492 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.981e-05/0.3705, allocations: 85.53 kB / 461 MB, free: 1.391 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002549/0.3707, allocations: 263.2 kB / 461.3 MB, free: 1.129 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.587e-05/0.3708, allocations: 33.7 kB / 461.3 MB, free: 1.09 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001438/0.3709, allocations: 283.7 kB / 461.6 MB, free: 0.8086 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001203/0.3711, allocations: 177.4 kB / 461.8 MB, free: 0.6328 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.949e-05/0.3711, allocations: 12 kB / 461.8 MB, free: 0.6211 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001159/0.3712, allocations: 350.8 kB / 462.1 MB, free: 276 kB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004141/0.3716, allocations: 233.2 kB / 462.4 MB, free: 40 kB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005702/0.3722, allocations: 440.3 kB / 462.8 MB, free: 15.52 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004674/0.3727, allocations: 275.8 kB / 463.1 MB, free: 15.25 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.362e-06/0.3727, allocations: 4 kB / 463.1 MB, free: 15.25 MB / 346.7 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001295/0.374, allocations: 0.768 MB / 463.8 MB, free: 14.47 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0009054/0.3749, allocations: 2.441 MB / 466.3 MB, free: 11.84 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.277e-05/0.3749, allocations: 10.06 kB / 466.3 MB, free: 11.83 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002585/0.3752, allocations: 63.09 kB / 466.4 MB, free: 11.77 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005112/0.3757, allocations: 151.7 kB / 466.5 MB, free: 11.62 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001409/0.3772, allocations: 1.596 MB / 468.1 MB, free: 9.891 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004171/0.3776, allocations: 83.19 kB / 468.2 MB, free: 9.809 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.944e-05/0.3776, allocations: 32.06 kB / 468.2 MB, free: 9.777 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.127e-06/0.3777, allocations: 7.984 kB / 468.2 MB, free: 9.77 MB / 346.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001159/0.3788, allocations: 0.6845 MB / 468.9 MB, free: 9.082 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.458e-06/0.3788, allocations: 4 kB / 468.9 MB, free: 9.078 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00015/0.379, allocations: 64.83 kB / 469 MB, free: 9.012 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004603/0.3795, allocations: 139.7 kB / 469.1 MB, free: 8.875 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001176/0.3807, allocations: 1.53 MB / 470.6 MB, free: 7.215 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003725/0.381, allocations: 63.44 kB / 470.7 MB, free: 7.152 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.827e-05/0.3811, allocations: 31.98 kB / 470.7 MB, free: 7.121 MB / 346.7 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 () * Number of clocked 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.0003272/0.3814, allocations: 276.9 kB / 471 MB, free: 6.84 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.202e-05/0.3815, allocations: 35.61 kB / 471 MB, free: 6.805 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001277/0.3828, allocations: 0.6789 MB / 471.7 MB, free: 6.113 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.121e-05/0.3828, allocations: 11.95 kB / 471.7 MB, free: 6.102 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.825e-06/0.3828, allocations: 0 / 471.7 MB, free: 6.102 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.041e-06/0.3828, allocations: 0 / 471.7 MB, free: 6.102 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002114/0.385, allocations: 1.394 MB / 473.1 MB, free: 4.652 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.385, allocations: 0 / 473.1 MB, free: 4.652 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004036/0.3854, allocations: 97.75 kB / 473.2 MB, free: 4.559 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001762/0.3856, allocations: 59.19 kB / 473.3 MB, free: 4.5 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.871e-05/0.3856, allocations: 15.94 kB / 473.3 MB, free: 4.484 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001286/0.3869, allocations: 1.598 MB / 474.9 MB, free: 2.758 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.138e-06/0.3869, allocations: 3.938 kB / 474.9 MB, free: 2.754 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001613/0.3885, allocations: 1.025 MB / 475.9 MB, free: 1.707 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001831/0.3887, allocations: 148.6 kB / 476.1 MB, free: 1.543 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.206e-05/0.3888, allocations: 16.06 kB / 476.1 MB, free: 1.527 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002974/0.3891, allocations: 27.98 kB / 476.1 MB, free: 1.5 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.21e-05/0.3892, allocations: 40.33 kB / 476.1 MB, free: 1.461 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.658e-05/0.3892, allocations: 19.98 kB / 476.2 MB, free: 1.441 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001884/0.3894, allocations: 206 kB / 476.4 MB, free: 1.238 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3894, allocations: 0 / 476.4 MB, free: 1.238 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0009802/0.3904, allocations: 299 kB / 476.7 MB, free: 0.9453 MB / 346.7 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 45 * 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.000253/0.3907, allocations: 147 kB / 476.8 MB, free: 0.7891 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001983/0.3927, allocations: 1.202 MB / 478 MB, free: 15.56 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.3927, allocations: 0 / 478 MB, free: 15.56 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006011/0.3933, allocations: 433.8 kB / 478.4 MB, free: 15.12 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003279/0.3936, allocations: 37.3 kB / 478.5 MB, free: 15.09 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003505/0.3972, allocations: 1.77 MB / 480.2 MB, free: 13.3 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003534/0.3975, allocations: 0.857 MB / 481.1 MB, free: 12.41 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.00124/0.3988, allocations: 1.082 MB / 482.2 MB, free: 11.33 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001348/0.3989, allocations: 47.41 kB / 482.2 MB, free: 11.29 MB / 362.7 MB Notification: Performance of SimCode: time 8.11e-07/0.3989, allocations: 4 kB / 482.2 MB, free: 11.29 MB / 362.7 MB Notification: Performance of Templates: time 0.009428/0.4084, allocations: 5.649 MB / 487.9 MB, free: 5.707 MB / 362.7 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)