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.0009906/0.0009907, allocations: 179.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.191/1.191, 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.00154/0.00154, allocations: 110.1 kB / 256.9 MB, free: 4.379 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004049/0.000405, allocations: 8 kB / 310.6 MB, free: 14.95 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1112/0.1116, allocations: 44.5 MB / 355.1 MB, free: 2.344 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2755/0.3872, allocations: 77.01 MB / 432.1 MB, free: 12.54 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002201/0.3875, allocations: 88.39 kB / 432.2 MB, free: 12.49 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03119/0.4187, allocations: 16.02 MB / 448.2 MB, free: 14.94 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.303e-06/0.4187, allocations: 0 / 448.2 MB, free: 14.94 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.475e-05/0.4187, allocations: 8.75 kB / 448.2 MB, free: 14.93 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.001483/0.4202, allocations: 0.7677 MB / 449 MB, free: 14.11 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.441e-05/0.4203, allocations: 12.03 kB / 449 MB, free: 14.1 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002673/0.4229, allocations: 439.9 kB / 449.4 MB, free: 13.67 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003525/0.4233, allocations: 310.4 kB / 449.7 MB, free: 13.32 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.598e-05/0.4234, allocations: 45.31 kB / 449.8 MB, free: 13.28 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.319e-05/0.4235, allocations: 59.91 kB / 449.8 MB, free: 13.22 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009235/0.4244, allocations: 0.5453 MB / 450.4 MB, free: 12.67 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.894e-05/0.4244, allocations: 6.438 kB / 450.4 MB, free: 12.66 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.291e-05/0.4245, allocations: 24 kB / 450.4 MB, free: 12.64 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.163e-05/0.4245, allocations: 12 kB / 450.4 MB, free: 12.63 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001045/0.4256, allocations: 0.6415 MB / 451 MB, free: 11.99 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002896/0.4285, allocations: 2.068 MB / 453.1 MB, free: 9.797 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002597/0.4311, allocations: 3.009 MB / 456.1 MB, free: 6.223 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.831e-05/0.4312, allocations: 93.52 kB / 456.2 MB, free: 6.113 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.91e-05/0.4312, allocations: 43 kB / 456.2 MB, free: 6.062 MB / 330.7 MB Notification: Performance of pre-optimization done (n=49): time 3.166e-06/0.4312, allocations: 0 / 456.2 MB, free: 6.062 MB / 330.7 MB Notification: Performance of matching and sorting (n=49): time 0.001772/0.433, allocations: 0.7977 MB / 457 MB, free: 5.242 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.832e-05/0.4331, allocations: 59.84 kB / 457.1 MB, free: 5.172 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001926/0.4333, allocations: 186.3 kB / 457.3 MB, free: 4.984 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.527e-05/0.4333, allocations: 37.64 kB / 457.3 MB, free: 4.941 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001574/0.4335, allocations: 240 kB / 457.6 MB, free: 4.699 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001203/0.4336, allocations: 169.6 kB / 457.7 MB, free: 4.531 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.185e-05/0.4336, allocations: 8 kB / 457.7 MB, free: 4.523 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001378/0.4338, allocations: 338.8 kB / 458.1 MB, free: 4.184 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002852/0.4341, allocations: 165 kB / 458.2 MB, free: 4.023 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003647/0.4344, allocations: 274 kB / 458.5 MB, free: 3.711 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003418/0.4348, allocations: 196.7 kB / 458.7 MB, free: 3.516 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.497e-06/0.4348, allocations: 0 / 458.7 MB, free: 3.516 MB / 330.7 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001028/0.4358, allocations: 0.5899 MB / 459.3 MB, free: 2.918 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.996e-05/0.4359, allocations: 9.656 kB / 459.3 MB, free: 2.91 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.857e-06/0.4359, allocations: 11.94 kB / 459.3 MB, free: 2.898 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003167/0.4362, allocations: 85.56 kB / 459.4 MB, free: 2.812 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004055/0.4366, allocations: 111.8 kB / 459.5 MB, free: 2.703 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001831/0.4385, allocations: 1.875 MB / 461.4 MB, free: 0.6992 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002917/0.4388, allocations: 59.42 kB / 461.4 MB, free: 0.6406 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.354e-05/0.4388, allocations: 20 kB / 461.4 MB, free: 0.6211 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 (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.0002145/0.439, allocations: 165.7 kB / 461.6 MB, free: 460 kB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.751e-05/0.4391, allocations: 32.75 kB / 461.6 MB, free: 428 kB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001033/0.4401, allocations: 0.559 MB / 462.2 MB, free: 15.85 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.817e-06/0.4402, allocations: 11.95 kB / 462.2 MB, free: 15.84 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.175e-06/0.4402, allocations: 0 / 462.2 MB, free: 15.84 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.081e-06/0.4402, allocations: 3.984 kB / 462.2 MB, free: 15.84 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001514/0.4417, allocations: 1.153 MB / 463.4 MB, free: 14.62 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.826e-06/0.4417, allocations: 0 / 463.4 MB, free: 14.62 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003244/0.442, allocations: 83.89 kB / 463.4 MB, free: 14.54 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002478/0.4423, allocations: 82.22 kB / 463.5 MB, free: 14.46 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.848e-05/0.4423, allocations: 19.98 kB / 463.5 MB, free: 14.44 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001703/0.4441, allocations: 1.863 MB / 465.4 MB, free: 12.44 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.917e-06/0.4441, allocations: 3.953 kB / 465.4 MB, free: 12.44 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00125/0.4453, allocations: 0.8116 MB / 466.2 MB, free: 11.61 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.027e-05/0.4454, allocations: 116.6 kB / 466.3 MB, free: 11.48 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.8e-05/0.4455, allocations: 10.88 kB / 466.3 MB, free: 11.47 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002302/0.4457, allocations: 19.98 kB / 466.4 MB, free: 11.45 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.249e-05/0.4458, allocations: 36.39 kB / 466.4 MB, free: 11.41 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.315e-05/0.4458, allocations: 12 kB / 466.4 MB, free: 11.4 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001153/0.4459, allocations: 147.1 kB / 466.6 MB, free: 11.26 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.446, allocations: 64 / 466.6 MB, free: 11.26 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0005972/0.4466, allocations: 171.5 kB / 466.7 MB, free: 11.09 MB / 346.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 () * Number of clocked 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.0002277/0.4468, allocations: 139.1 kB / 466.9 MB, free: 10.95 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001002/0.4478, allocations: 0.5983 MB / 467.5 MB, free: 10.34 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/0.4478, allocations: 4 kB / 467.5 MB, free: 10.33 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005241/0.4484, allocations: 381.7 kB / 467.8 MB, free: 9.945 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002359/0.4486, allocations: 30.27 kB / 467.9 MB, free: 9.918 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003251/0.4519, allocations: 1.558 MB / 469.4 MB, free: 8.344 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003809/0.4523, allocations: 0.8214 MB / 470.2 MB, free: 7.5 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0002371/0.4525, allocations: 55.25 kB / 470.3 MB, free: 7.441 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.821e-05/0.4526, allocations: 35.44 kB / 470.3 MB, free: 7.406 MB / 346.7 MB Notification: Performance of SimCode: time 8.52e-07/0.4526, allocations: 0 / 470.3 MB, free: 7.406 MB / 346.7 MB Notification: Performance of Templates: time 0.007382/0.46, allocations: 3.876 MB / 474.2 MB, free: 3.605 MB / 346.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)