Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.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.ParallelResonance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance") translateModel(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.0009462/0.0009463, allocations: 180.3 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.166/1.166, allocations: 194.5 MB / 211.6 MB, free: 3.047 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.001569/0.001569, allocations: 109.3 kB / 256.9 MB, free: 4.367 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003029/0.000303, allocations: 8 kB / 310.6 MB, free: 14.93 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08288/0.0832, allocations: 44.49 MB / 355.1 MB, free: 2.34 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.228/0.3112, allocations: 77.03 MB / 432.1 MB, free: 12.53 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000183/0.3115, allocations: 82.05 kB / 432.2 MB, free: 12.49 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03178/0.3432, allocations: 16.1 MB / 448.3 MB, free: 14.86 MB / 330.7 MB Notification: Performance of FrontEnd: time 4.067e-06/0.3433, allocations: 8 kB / 448.3 MB, free: 14.85 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.712e-05/0.3433, allocations: 8 kB / 448.3 MB, free: 14.84 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: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 0.001579/0.3449, allocations: 0.7755 MB / 449.1 MB, free: 14.02 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.4e-05/0.3449, allocations: 12.03 kB / 449.1 MB, free: 14 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002627/0.3476, allocations: 439.9 kB / 449.5 MB, free: 13.57 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003799/0.348, allocations: 310.4 kB / 449.8 MB, free: 13.23 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.978e-05/0.348, allocations: 49.06 kB / 449.8 MB, free: 13.18 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.409e-05/0.3481, allocations: 55.91 kB / 449.9 MB, free: 13.13 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009526/0.3491, allocations: 0.5687 MB / 450.5 MB, free: 12.55 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.795e-05/0.3491, allocations: 0 / 450.5 MB, free: 12.55 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.293e-05/0.3492, allocations: 20 kB / 450.5 MB, free: 12.53 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.287e-05/0.3492, allocations: 16 kB / 450.5 MB, free: 12.52 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001079/0.3503, allocations: 0.654 MB / 451.2 MB, free: 11.86 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003056/0.3533, allocations: 2.107 MB / 453.3 MB, free: 9.645 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002327/0.3557, allocations: 3.008 MB / 456.3 MB, free: 6.07 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.176e-05/0.3558, allocations: 89.53 kB / 456.4 MB, free: 5.965 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.533e-05/0.3558, allocations: 43 kB / 456.4 MB, free: 5.914 MB / 330.7 MB Notification: Performance of pre-optimization done (n=49): time 2.204e-06/0.3558, allocations: 0 / 456.4 MB, free: 5.914 MB / 330.7 MB Notification: Performance of matching and sorting (n=49): time 0.001597/0.3574, allocations: 0.7626 MB / 457.2 MB, free: 5.125 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.541e-05/0.3575, allocations: 59.84 kB / 457.2 MB, free: 5.055 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000177/0.3576, allocations: 181.7 kB / 457.4 MB, free: 4.871 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.148e-05/0.3577, allocations: 38.92 kB / 457.4 MB, free: 4.828 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001261/0.3578, allocations: 236.1 kB / 457.7 MB, free: 4.59 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001143/0.3579, allocations: 169.5 kB / 457.8 MB, free: 4.422 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.316e-05/0.358, allocations: 12 kB / 457.9 MB, free: 4.41 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001156/0.3581, allocations: 338.8 kB / 458.2 MB, free: 4.07 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003145/0.3584, allocations: 173 kB / 458.4 MB, free: 3.898 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003605/0.3588, allocations: 285.9 kB / 458.6 MB, free: 3.578 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000343/0.3591, allocations: 200.7 kB / 458.8 MB, free: 3.379 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.3591, allocations: 0 / 458.8 MB, free: 3.379 MB / 330.7 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001007/0.3602, allocations: 0.594 MB / 459.4 MB, free: 2.777 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.635e-05/0.3602, allocations: 4 kB / 459.4 MB, free: 2.773 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.526e-06/0.3602, allocations: 4.375 kB / 459.4 MB, free: 2.77 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003109/0.3605, allocations: 84.81 kB / 459.5 MB, free: 2.684 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004267/0.3609, allocations: 117.9 kB / 459.6 MB, free: 2.57 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001615/0.3626, allocations: 1.662 MB / 461.3 MB, free: 0.7773 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000307/0.3629, allocations: 55.42 kB / 461.3 MB, free: 0.7227 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.23e-05/0.3629, allocations: 28.06 kB / 461.4 MB, free: 0.6953 MB / 330.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (60): * Single equations (assignments): 59 * 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%) 6} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002262/0.3632, allocations: 169.7 kB / 461.5 MB, free: 0.5195 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.617e-05/0.3632, allocations: 23.72 kB / 461.6 MB, free: 0.4961 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001064/0.3643, allocations: 0.5784 MB / 462.1 MB, free: 15.91 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.683e-06/0.3643, allocations: 4 kB / 462.1 MB, free: 15.91 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.805e-06/0.3643, allocations: 4 kB / 462.1 MB, free: 15.9 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.233e-06/0.3643, allocations: 5.797 kB / 462.2 MB, free: 15.9 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001621/0.366, allocations: 1.181 MB / 463.3 MB, free: 14.66 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.574e-06/0.366, allocations: 0 / 463.3 MB, free: 14.66 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003458/0.3663, allocations: 83.89 kB / 463.4 MB, free: 14.58 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002454/0.3666, allocations: 88.75 kB / 463.5 MB, free: 14.49 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.482e-05/0.3666, allocations: 12 kB / 463.5 MB, free: 14.48 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001437/0.3681, allocations: 1.655 MB / 465.2 MB, free: 12.69 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.3681, allocations: 0 / 465.2 MB, free: 12.69 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001236/0.3693, allocations: 0.8273 MB / 466 MB, free: 11.84 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.07e-05/0.3694, allocations: 118.6 kB / 466.1 MB, free: 11.71 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.765e-05/0.3695, allocations: 16 kB / 466.1 MB, free: 11.7 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002354/0.3697, allocations: 23.98 kB / 466.1 MB, free: 11.67 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.602e-05/0.3698, allocations: 36.38 kB / 466.2 MB, free: 11.64 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.476e-05/0.3698, allocations: 12 kB / 466.2 MB, free: 11.62 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001095/0.3699, allocations: 147.1 kB / 466.3 MB, free: 11.48 MB / 346.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.37, allocations: 0 / 466.3 MB, free: 11.48 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004992/0.3705, allocations: 163.5 kB / 466.5 MB, free: 11.32 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (currentSource.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 (46): * Single equations (assignments): 45 * 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%) 6} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002241/0.3707, allocations: 143 kB / 466.6 MB, free: 11.17 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001012/0.3717, allocations: 0.6103 MB / 467.2 MB, free: 10.55 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.018e-06/0.3717, allocations: 8.25 kB / 467.3 MB, free: 10.54 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005361/0.3723, allocations: 385 kB / 467.6 MB, free: 10.15 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002135/0.3725, allocations: 24.17 kB / 467.7 MB, free: 10.13 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003008/0.3755, allocations: 1.565 MB / 469.2 MB, free: 8.547 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003756/0.3759, allocations: 0.8217 MB / 470 MB, free: 7.699 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0002256/0.3761, allocations: 59.25 kB / 470.1 MB, free: 7.641 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.745e-05/0.3762, allocations: 27.44 kB / 470.1 MB, free: 7.613 MB / 346.7 MB Notification: Performance of SimCode: time 2.21e-07/0.3762, allocations: 0 / 470.1 MB, free: 7.613 MB / 346.7 MB Notification: Performance of Templates: time 0.007215/0.3835, allocations: 3.919 MB / 474 MB, free: 3.773 MB / 346.7 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.sim & ./Modelica_3.2.2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.pipe 2>&1)