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.001587/0.001587, allocations: 188.6 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.462/1.462, allocations: 194.3 MB / 203.1 MB, free: 9.32 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.00173/0.00173, allocations: 116.7 kB / 248.1 MB, free: 6.344 MB / 203.1 MB Notification: Performance of FrontEnd - loaded program: time 2.029e-05/2.032e-05, allocations: 8 kB / 298.1 MB, free: 8.25 MB / 251.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08994/0.08998, allocations: 44.5 MB / 342.6 MB, free: 11.65 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2812/0.3712, allocations: 76.26 MB / 418.8 MB, free: 19.59 MB / 315.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001724/0.3714, allocations: 79.64 kB / 418.9 MB, free: 19.55 MB / 315.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.03282/0.4042, allocations: 15.78 MB / 434.7 MB, free: 6.918 MB / 315.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.4043, allocations: 0 / 434.7 MB, free: 6.918 MB / 315.1 MB Notification: Performance of Transformations before backend: time 2.004e-05/0.4043, allocations: 8 kB / 434.7 MB, free: 6.91 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: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 0.00169/0.406, allocations: 0.7612 MB / 435.5 MB, free: 6.16 MB / 315.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.744e-05/0.4061, allocations: 11.97 kB / 435.5 MB, free: 6.148 MB / 315.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002697/0.4088, allocations: 432.5 kB / 435.9 MB, free: 5.773 MB / 315.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000423/0.4092, allocations: 321.2 kB / 436.2 MB, free: 5.477 MB / 315.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.871e-05/0.4092, allocations: 19.27 kB / 436.2 MB, free: 5.461 MB / 315.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.939e-05/0.4093, allocations: 32 kB / 436.3 MB, free: 5.43 MB / 315.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008653/0.4102, allocations: 0.5646 MB / 436.8 MB, free: 5.059 MB / 315.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000692/0.4109, allocations: 425.8 kB / 437.2 MB, free: 4.762 MB / 315.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.194e-05/0.4109, allocations: 7.891 kB / 437.3 MB, free: 4.754 MB / 315.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.079e-05/0.411, allocations: 0 / 437.3 MB, free: 4.754 MB / 315.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.331e-05/0.411, allocations: 16 kB / 437.3 MB, free: 4.738 MB / 315.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002646/0.4137, allocations: 1.955 MB / 439.2 MB, free: 3.129 MB / 315.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001849/0.4155, allocations: 2.967 MB / 442.2 MB, free: 15.81 MB / 331.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002611/0.4158, allocations: 188.9 kB / 442.4 MB, free: 15.7 MB / 331.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.533e-05/0.4159, allocations: 85.55 kB / 442.5 MB, free: 15.59 MB / 331.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.987e-05/0.4159, allocations: 42.17 kB / 442.5 MB, free: 15.55 MB / 331.1 MB Notification: Performance of pre-optimization done (n=49): time 1.894e-06/0.416, allocations: 0 / 442.5 MB, free: 15.55 MB / 331.1 MB Notification: Performance of matching and sorting (n=49): time 0.001141/0.4171, allocations: 477.5 kB / 443 MB, free: 15.18 MB / 331.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.589e-05/0.4172, allocations: 63.22 kB / 443 MB, free: 15.11 MB / 331.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001796/0.4173, allocations: 166.9 kB / 443.2 MB, free: 14.96 MB / 331.1 MB Notification: Performance of collectPreVariables (initialization): time 3.086e-05/0.4174, allocations: 25.7 kB / 443.2 MB, free: 14.93 MB / 331.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00014/0.4175, allocations: 240.6 kB / 443.4 MB, free: 14.72 MB / 331.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001247/0.4177, allocations: 162.9 kB / 443.6 MB, free: 14.58 MB / 331.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.058e-05/0.4177, allocations: 0 / 443.6 MB, free: 14.58 MB / 331.1 MB Notification: Performance of setup shared object (initialization): time 0.0001383/0.4178, allocations: 337.4 kB / 443.9 MB, free: 14.25 MB / 331.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002058/0.418, allocations: 132.1 kB / 444.1 MB, free: 14.17 MB / 331.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002563/0.4183, allocations: 230.5 kB / 444.3 MB, free: 13.96 MB / 331.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006166/0.4189, allocations: 264.8 kB / 444.6 MB, free: 13.78 MB / 331.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.849e-06/0.419, allocations: 4 kB / 444.6 MB, free: 13.77 MB / 331.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.00126/0.4202, allocations: 0.5838 MB / 445.1 MB, free: 13.31 MB / 331.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.746e-05/0.4203, allocations: 8 kB / 445.1 MB, free: 13.3 MB / 331.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.068e-05/0.4203, allocations: 4 kB / 445.2 MB, free: 13.3 MB / 331.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000312/0.4206, allocations: 87.12 kB / 445.2 MB, free: 13.23 MB / 331.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004062/0.421, allocations: 111.6 kB / 445.3 MB, free: 13.12 MB / 331.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001799/0.4228, allocations: 1.78 MB / 447.1 MB, free: 11.46 MB / 331.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000303/0.4231, allocations: 47.83 kB / 447.2 MB, free: 11.41 MB / 331.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.987e-05/0.4232, allocations: 19.38 kB / 447.2 MB, free: 11.4 MB / 331.1 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.0001239/0.4233, allocations: 120.5 kB / 447.3 MB, free: 11.28 MB / 331.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.464e-05/0.4234, allocations: 31.62 kB / 447.3 MB, free: 11.25 MB / 331.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001158/0.4246, allocations: 0.552 MB / 447.9 MB, free: 10.83 MB / 331.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.77e-06/0.4246, allocations: 4 kB / 447.9 MB, free: 10.83 MB / 331.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.887e-06/0.4246, allocations: 7.953 kB / 447.9 MB, free: 10.82 MB / 331.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.664e-06/0.4246, allocations: 7.922 kB / 447.9 MB, free: 10.81 MB / 331.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001664/0.4263, allocations: 1.066 MB / 449 MB, free: 9.945 MB / 331.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.4263, allocations: 0 / 449 MB, free: 9.945 MB / 331.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003244/0.4266, allocations: 79.83 kB / 449.1 MB, free: 9.871 MB / 331.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002592/0.4269, allocations: 84.31 kB / 449.1 MB, free: 9.801 MB / 331.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.153e-05/0.4269, allocations: 7.5 kB / 449.1 MB, free: 9.797 MB / 331.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001606/0.4286, allocations: 1.761 MB / 450.9 MB, free: 8.152 MB / 331.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.105e-06/0.4286, allocations: 0 / 450.9 MB, free: 8.152 MB / 331.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001287/0.4299, allocations: 0.7902 MB / 451.7 MB, free: 7.562 MB / 331.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.481e-05/0.43, allocations: 110.9 kB / 451.8 MB, free: 7.438 MB / 331.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.867e-05/0.43, allocations: 0.9375 kB / 451.8 MB, free: 7.438 MB / 331.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002256/0.4302, allocations: 11.98 kB / 451.8 MB, free: 7.426 MB / 331.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.003e-05/0.4303, allocations: 36.27 kB / 451.9 MB, free: 7.395 MB / 331.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.794e-05/0.4304, allocations: 22.73 kB / 451.9 MB, free: 7.379 MB / 331.1 MB Notification: Performance of sorting global known variables: time 0.0001099/0.4305, allocations: 126.2 kB / 452 MB, free: 7.27 MB / 331.1 MB Notification: Performance of sort global known variables: time 2.8e-07/0.4305, allocations: 0 / 452 MB, free: 7.27 MB / 331.1 MB Notification: Performance of remove unused functions: time 0.0006276/0.4311, allocations: 141.9 kB / 452.1 MB, free: 7.133 MB / 331.1 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.000251/0.4314, allocations: 138.3 kB / 452.3 MB, free: 6.992 MB / 331.1 MB Notification: Performance of simCode: created initialization part: time 0.0008359/0.4322, allocations: 0.5221 MB / 452.8 MB, free: 6.598 MB / 331.1 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.4323, allocations: 0 / 452.8 MB, free: 6.598 MB / 331.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004593/0.4327, allocations: 349.5 kB / 453.1 MB, free: 6.324 MB / 331.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002395/0.433, allocations: 15.89 kB / 453.1 MB, free: 6.312 MB / 331.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002839/0.4358, allocations: 1.037 MB / 454.2 MB, free: 5.449 MB / 331.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004873/0.4363, allocations: 0.8287 MB / 455 MB, free: 4.594 MB / 331.1 MB Notification: Performance of simCode: alias equations: time 0.0002436/0.4366, allocations: 47.27 kB / 455.1 MB, free: 4.547 MB / 331.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.646e-05/0.4367, allocations: 34.44 kB / 455.1 MB, free: 4.52 MB / 331.1 MB Notification: Performance of SimCode: time 3.41e-07/0.4367, allocations: 0 / 455.1 MB, free: 4.52 MB / 331.1 MB Notification: Performance of Templates: time 0.007796/0.4445, allocations: 3.595 MB / 458.7 MB, free: 0.9844 MB / 331.1 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)