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.001525/0.001525, 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.737/1.737, 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.002004/0.002003, allocations: 126.2 kB / 253.5 MB, free: 9.574 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.451e-05/3.454e-05, allocations: 0 / 304.9 MB, free: 29.77 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1191/0.1191, allocations: 44.5 MB / 349.4 MB, free: 1.246 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4638/0.583, allocations: 76.94 MB / 426.4 MB, free: 10.55 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002917/0.5833, allocations: 86.55 kB / 426.5 MB, free: 10.53 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04894/0.6323, allocations: 16.05 MB / 442.5 MB, free: 4.238 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.705e-06/0.6323, allocations: 0 / 442.5 MB, free: 4.238 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.869e-05/0.6324, allocations: 11.78 kB / 442.5 MB, free: 4.234 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.002176/0.6346, allocations: 0.7599 MB / 443.3 MB, free: 3.57 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.815e-05/0.6346, allocations: 8.031 kB / 443.3 MB, free: 3.562 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004583/0.6392, allocations: 440.2 kB / 443.7 MB, free: 3.18 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005078/0.6398, allocations: 318.8 kB / 444 MB, free: 2.887 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.807e-05/0.6398, allocations: 39.69 kB / 444.1 MB, free: 2.867 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001313/0.64, allocations: 58.25 kB / 444.1 MB, free: 2.828 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001366/0.6413, allocations: 0.5356 MB / 444.7 MB, free: 2.477 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.202e-05/0.6414, allocations: 3.906 kB / 444.7 MB, free: 2.473 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.1e-05/0.6415, allocations: 20.75 kB / 444.7 MB, free: 2.469 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.863e-05/0.6415, allocations: 16 kB / 444.7 MB, free: 2.453 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001376/0.6429, allocations: 0.6054 MB / 445.3 MB, free: 2.051 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004333/0.6472, allocations: 2.103 MB / 447.4 MB, free: 404 kB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003605/0.6509, allocations: 2.976 MB / 450.4 MB, free: 13.05 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000455/0.6514, allocations: 243.2 kB / 450.6 MB, free: 12.9 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001451/0.6515, allocations: 97.47 kB / 450.7 MB, free: 12.79 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.493e-05/0.6516, allocations: 38.81 kB / 450.8 MB, free: 12.75 MB / 314.7 MB Notification: Performance of pre-optimization done (n=49): time 7.074e-06/0.6516, allocations: 3.984 kB / 450.8 MB, free: 12.75 MB / 314.7 MB Notification: Performance of matching and sorting (n=49): time 0.001021/0.6527, allocations: 423.5 kB / 451.2 MB, free: 12.44 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.313e-05/0.6527, allocations: 55.84 kB / 451.2 MB, free: 12.37 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002528/0.653, allocations: 184.6 kB / 451.4 MB, free: 12.21 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.038e-05/0.653, allocations: 37.39 kB / 451.5 MB, free: 12.17 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001898/0.6532, allocations: 242.9 kB / 451.7 MB, free: 11.95 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001421/0.6534, allocations: 167.9 kB / 451.9 MB, free: 11.81 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.982e-05/0.6534, allocations: 7.812 kB / 451.9 MB, free: 11.81 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001633/0.6536, allocations: 342.6 kB / 452.2 MB, free: 11.48 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002395/0.6538, allocations: 141.8 kB / 452.3 MB, free: 11.39 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003179/0.6541, allocations: 261.1 kB / 452.6 MB, free: 11.16 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002923/0.6545, allocations: 179.1 kB / 452.8 MB, free: 11.04 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.486e-06/0.6545, allocations: 4 kB / 452.8 MB, free: 11.04 MB / 314.7 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0009521/0.6554, allocations: 0.5405 MB / 453.3 MB, free: 10.62 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.618e-05/0.6555, allocations: 12 kB / 453.3 MB, free: 10.61 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.193e-05/0.6555, allocations: 7.938 kB / 453.3 MB, free: 10.61 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003771/0.6559, allocations: 81.42 kB / 453.4 MB, free: 10.54 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004293/0.6563, allocations: 117.1 kB / 453.5 MB, free: 10.43 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001633/0.658, allocations: 1.64 MB / 455.2 MB, free: 8.852 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000314/0.6583, allocations: 61.38 kB / 455.2 MB, free: 8.801 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.407e-05/0.6583, allocations: 27.48 kB / 455.3 MB, free: 8.777 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete 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.0001206/0.6585, allocations: 133.6 kB / 455.4 MB, free: 8.656 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.005e-05/0.6585, allocations: 27.72 kB / 455.4 MB, free: 8.629 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009289/0.6595, allocations: 0.5163 MB / 455.9 MB, free: 8.266 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.039e-06/0.6595, allocations: 4 kB / 455.9 MB, free: 8.262 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.6595, allocations: 4 kB / 455.9 MB, free: 8.258 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.556e-06/0.6595, allocations: 7.984 kB / 455.9 MB, free: 8.25 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001513/0.661, allocations: 1.158 MB / 457.1 MB, free: 7.332 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.546e-06/0.661, allocations: 0 / 457.1 MB, free: 7.332 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003345/0.6614, allocations: 87.58 kB / 457.2 MB, free: 7.25 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002465/0.6616, allocations: 79.08 kB / 457.3 MB, free: 7.188 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.2e-05/0.6617, allocations: 7.875 kB / 457.3 MB, free: 7.184 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001474/0.6632, allocations: 1.632 MB / 458.9 MB, free: 5.605 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.6632, allocations: 4.062 kB / 458.9 MB, free: 5.602 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001052/0.6642, allocations: 0.7919 MB / 459.7 MB, free: 5 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.373e-05/0.6643, allocations: 116.5 kB / 459.8 MB, free: 4.871 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.494e-05/0.6644, allocations: 3.688 kB / 459.8 MB, free: 4.871 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002342/0.6646, allocations: 29.98 kB / 459.8 MB, free: 4.852 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.587e-05/0.6647, allocations: 43.2 kB / 459.9 MB, free: 4.812 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.509e-05/0.6648, allocations: 11.75 kB / 459.9 MB, free: 4.805 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001175/0.6649, allocations: 149.5 kB / 460 MB, free: 4.68 MB / 314.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.6649, allocations: 4.062 kB / 460 MB, free: 4.676 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0005421/0.6654, allocations: 156.4 kB / 460.2 MB, free: 4.539 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (currentSource.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): 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.0002424/0.6657, allocations: 144.3 kB / 460.3 MB, free: 4.398 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0008978/0.6666, allocations: 0.5556 MB / 460.9 MB, free: 3.969 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.6666, allocations: 0.9375 kB / 460.9 MB, free: 3.969 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004573/0.6671, allocations: 366.6 kB / 461.3 MB, free: 3.672 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002416/0.6673, allocations: 30.42 kB / 461.3 MB, free: 3.656 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002909/0.6702, allocations: 1.089 MB / 462.4 MB, free: 2.777 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003705/0.6706, allocations: 0.8254 MB / 463.2 MB, free: 1.93 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0002333/0.6709, allocations: 55.25 kB / 463.3 MB, free: 1.875 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.085e-05/0.671, allocations: 34.69 kB / 463.3 MB, free: 1.844 MB / 314.7 MB Notification: Performance of SimCode: time 4.41e-07/0.671, allocations: 0 / 463.3 MB, free: 1.844 MB / 314.7 MB Notification: Performance of Templates: time 0.007936/0.6789, allocations: 3.941 MB / 467.2 MB, free: 13.93 MB / 330.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)