Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.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.SeriesResonance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance") translateModel(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001158/0.001158, allocations: 182.7 kB / 13.64 MB, free: 1.676 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.583/1.583, allocations: 194.3 MB / 208.4 MB, free: 6.703 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.001654/0.001654, allocations: 118.3 kB / 253.5 MB, free: 9.578 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.857e-05/3.859e-05, allocations: 0 / 304.9 MB, free: 29.76 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09666/0.09672, allocations: 44.5 MB / 349.4 MB, free: 1.242 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3523/0.449, allocations: 76.93 MB / 426.4 MB, free: 10.65 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002225/0.4493, allocations: 87.52 kB / 426.5 MB, free: 10.63 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03296/0.4823, allocations: 15.97 MB / 442.4 MB, free: 4.332 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.644e-06/0.4823, allocations: 0 / 442.4 MB, free: 4.332 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.746e-05/0.4823, allocations: 8 kB / 442.4 MB, free: 4.324 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 0.001468/0.4838, allocations: 0.7545 MB / 443.2 MB, free: 3.582 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.475e-05/0.4839, allocations: 12.03 kB / 443.2 MB, free: 3.57 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002606/0.4865, allocations: 442.8 kB / 443.6 MB, free: 3.188 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003885/0.4869, allocations: 311.8 kB / 443.9 MB, free: 2.898 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.387e-05/0.4869, allocations: 41.62 kB / 444 MB, free: 2.875 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.591e-05/0.487, allocations: 56.12 kB / 444 MB, free: 2.84 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008757/0.4879, allocations: 0.5228 MB / 444.6 MB, free: 2.492 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.406e-05/0.4879, allocations: 3.906 kB / 444.6 MB, free: 2.488 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.785e-05/0.488, allocations: 26.44 kB / 444.6 MB, free: 2.48 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.515e-05/0.488, allocations: 15.98 kB / 444.6 MB, free: 2.465 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000799/0.4888, allocations: 0.595 MB / 445.2 MB, free: 2.066 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002653/0.4915, allocations: 2.06 MB / 447.3 MB, free: 408 kB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002703/0.4942, allocations: 2.986 MB / 450.2 MB, free: 13.05 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002987/0.4945, allocations: 203.4 kB / 450.4 MB, free: 12.93 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001088/0.4946, allocations: 93.05 kB / 450.5 MB, free: 12.83 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.622e-05/0.4947, allocations: 38.94 kB / 450.6 MB, free: 12.79 MB / 314.7 MB Notification: Performance of pre-optimization done (n=49): time 3.277e-06/0.4947, allocations: 4 kB / 450.6 MB, free: 12.78 MB / 314.7 MB Notification: Performance of matching and sorting (n=49): time 0.0009292/0.4956, allocations: 431.6 kB / 451 MB, free: 12.46 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.962e-05/0.4957, allocations: 59.84 kB / 451.1 MB, free: 12.39 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002049/0.4959, allocations: 183.8 kB / 451.2 MB, free: 12.23 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.786e-05/0.496, allocations: 41.02 kB / 451.3 MB, free: 12.2 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001668/0.4961, allocations: 234.8 kB / 451.5 MB, free: 11.98 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001369/0.4963, allocations: 171.7 kB / 451.7 MB, free: 11.84 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.322e-05/0.4963, allocations: 11.69 kB / 451.7 MB, free: 11.83 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001569/0.4965, allocations: 334.1 kB / 452 MB, free: 11.51 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000224/0.4967, allocations: 139 kB / 452.2 MB, free: 11.43 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003141/0.497, allocations: 254.7 kB / 452.4 MB, free: 11.2 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002773/0.4973, allocations: 178.9 kB / 452.6 MB, free: 11.09 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.481e-06/0.4973, allocations: 0 / 452.6 MB, free: 11.09 MB / 314.7 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0009426/0.4983, allocations: 0.5564 MB / 453.1 MB, free: 10.66 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.774e-05/0.4983, allocations: 4 kB / 453.1 MB, free: 10.66 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.232e-05/0.4983, allocations: 4 kB / 453.1 MB, free: 10.65 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003811/0.4987, allocations: 88.47 kB / 453.2 MB, free: 10.58 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004316/0.4992, allocations: 111.5 kB / 453.3 MB, free: 10.47 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002218/0.5014, allocations: 1.847 MB / 455.2 MB, free: 8.746 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003506/0.5018, allocations: 63.73 kB / 455.2 MB, free: 8.691 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.013e-05/0.5018, allocations: 21.75 kB / 455.3 MB, free: 8.676 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (58): * Single equations (assignments): 57 * 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 {(2,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001323/0.502, allocations: 123.7 kB / 455.4 MB, free: 8.562 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.53e-05/0.502, allocations: 31.67 kB / 455.4 MB, free: 8.531 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009563/0.503, allocations: 0.521 MB / 455.9 MB, free: 8.16 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.023e-06/0.503, allocations: 4 kB / 455.9 MB, free: 8.156 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.503, allocations: 4 kB / 455.9 MB, free: 8.152 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.867e-06/0.503, allocations: 3.984 kB / 455.9 MB, free: 8.148 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001538/0.5046, allocations: 1.105 MB / 457.1 MB, free: 7.27 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-06/0.5046, allocations: 0 / 457.1 MB, free: 7.27 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003369/0.5049, allocations: 87.27 kB / 457.1 MB, free: 7.188 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002731/0.5052, allocations: 80.38 kB / 457.2 MB, free: 7.121 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.141e-05/0.5053, allocations: 10.38 kB / 457.2 MB, free: 7.117 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002002/0.5073, allocations: 1.858 MB / 459.1 MB, free: 5.375 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.5073, allocations: 96 / 459.1 MB, free: 5.375 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001191/0.5085, allocations: 0.7393 MB / 459.8 MB, free: 4.84 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001231/0.5086, allocations: 124.2 kB / 459.9 MB, free: 4.703 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.162e-05/0.5087, allocations: 10.75 kB / 460 MB, free: 4.699 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002404/0.5089, allocations: 18.23 kB / 460 MB, free: 4.688 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001093/0.5091, allocations: 44.09 kB / 460 MB, free: 4.645 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.694e-05/0.5091, allocations: 15.5 kB / 460 MB, free: 4.633 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.000162/0.5093, allocations: 141.8 kB / 460.2 MB, free: 4.516 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5093, allocations: 0 / 460.2 MB, free: 4.516 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0007394/0.51, allocations: 163.5 kB / 460.3 MB, free: 4.375 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (capacitor.pin_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 43 * 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 {(2,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002797/0.5103, allocations: 145.6 kB / 460.5 MB, free: 4.234 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0009646/0.5113, allocations: 0.5614 MB / 461 MB, free: 3.801 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.348e-06/0.5113, allocations: 0 / 461 MB, free: 3.801 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005895/0.5119, allocations: 367.7 kB / 461.4 MB, free: 3.508 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003488/0.5123, allocations: 18.5 kB / 461.4 MB, free: 3.5 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003264/0.5155, allocations: 1.074 MB / 462.5 MB, free: 2.645 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000432/0.516, allocations: 0.8254 MB / 463.3 MB, free: 1.797 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0002421/0.5162, allocations: 51.27 kB / 463.4 MB, free: 1.746 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.244e-05/0.5163, allocations: 35.05 kB / 463.4 MB, free: 1.715 MB / 314.7 MB Notification: Performance of SimCode: time 1.072e-06/0.5163, allocations: 0 / 463.4 MB, free: 1.715 MB / 314.7 MB Notification: Performance of Templates: time 0.008539/0.5249, allocations: 3.952 MB / 467.3 MB, free: 13.78 MB / 330.7 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.sim & ./Modelica_3.2.2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.pipe 2>&1)