Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+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.1_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.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.006828/0.006828, allocations: 165.6 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.189/1.189, allocations: 170.8 MB / 186.6 MB, free: 1.027 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001585/0.001585, allocations: 114 kB / 226.2 MB, free: 10.09 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003285/0.0003286, allocations: 12 kB / 274.1 MB, free: 10.06 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2207/0.221, allocations: 38.76 MB / 312.9 MB, free: 38.89 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09031/0.3114, allocations: 70.16 MB / 383.1 MB, free: 4.359 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003129/0.3118, allocations: 75.97 kB / 383.1 MB, free: 4.285 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02785/0.3396, allocations: 12.34 MB / 395.5 MB, free: 7.793 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.3397, allocations: 0 / 395.5 MB, free: 7.793 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.256e-05/0.3397, allocations: 4 kB / 395.5 MB, free: 7.789 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: 99 * Number of variables: 99 Notification: Performance of Generate backend data structure: time 0.001439/0.3411, allocations: 0.6826 MB / 396.2 MB, free: 7.059 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.551e-05/0.3412, allocations: 8.031 kB / 396.2 MB, free: 7.051 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001988/0.3414, allocations: 55.5 kB / 396.2 MB, free: 6.996 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000292/0.3417, allocations: 259.5 kB / 396.5 MB, free: 6.703 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.595e-05/0.3417, allocations: 29 kB / 396.5 MB, free: 6.676 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.577e-05/0.3418, allocations: 40 kB / 396.5 MB, free: 6.637 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006373/0.3425, allocations: 350.5 kB / 396.9 MB, free: 6.289 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.674e-05/0.3425, allocations: 3.906 kB / 396.9 MB, free: 6.285 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.301e-05/0.3425, allocations: 16 kB / 396.9 MB, free: 6.27 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.064e-05/0.3425, allocations: 12 kB / 396.9 MB, free: 6.258 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005512/0.3431, allocations: 287.8 kB / 397.2 MB, free: 5.977 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001821/0.3449, allocations: 1.343 MB / 398.5 MB, free: 4.543 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005152/0.3455, allocations: 190.7 kB / 398.7 MB, free: 4.348 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.106e-05/0.3455, allocations: 3.938 kB / 398.7 MB, free: 4.344 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.107e-05/0.3455, allocations: 34.56 kB / 398.8 MB, free: 4.301 MB / 298.7 MB Notification: Performance of pre-optimization done (n=16): time 2.204e-06/0.3455, allocations: 0 / 398.8 MB, free: 4.301 MB / 298.7 MB Notification: Performance of matching and sorting (n=16): time 0.001323/0.3469, allocations: 0.4908 MB / 399.3 MB, free: 3.785 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.676e-05/0.3469, allocations: 59.34 kB / 399.3 MB, free: 3.715 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001546/0.3471, allocations: 154.5 kB / 399.5 MB, free: 3.551 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.217e-05/0.3471, allocations: 33.7 kB / 399.5 MB, free: 3.512 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001153/0.3472, allocations: 207.6 kB / 399.7 MB, free: 3.305 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.302e-05/0.3473, allocations: 59.11 kB / 399.8 MB, free: 3.246 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.728e-06/0.3473, allocations: 4 kB / 399.8 MB, free: 3.242 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001297/0.3474, allocations: 326.8 kB / 400.1 MB, free: 2.914 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001537/0.3476, allocations: 71.95 kB / 400.2 MB, free: 2.844 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001874/0.3478, allocations: 131.8 kB / 400.3 MB, free: 2.691 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001699/0.348, allocations: 80.67 kB / 400.4 MB, free: 2.613 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.917e-06/0.348, allocations: 0 / 400.4 MB, free: 2.613 MB / 298.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0006168/0.3486, allocations: 329.2 kB / 400.7 MB, free: 2.285 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.965e-05/0.3486, allocations: 4 kB / 400.7 MB, free: 2.281 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.516e-06/0.3486, allocations: 4 kB / 400.7 MB, free: 2.277 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003345/0.349, allocations: 96.75 kB / 400.8 MB, free: 2.18 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001562/0.3492, allocations: 35.97 kB / 400.8 MB, free: 2.145 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001991/0.3512, allocations: 1.866 MB / 402.7 MB, free: 148 kB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001637/0.3513, allocations: 35.8 kB / 402.7 MB, free: 112 kB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.745e-05/0.3514, allocations: 8 kB / 402.7 MB, free: 104 kB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (17): * Single equations (assignments): 16 * 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.0002034/0.3516, allocations: 145.9 kB / 402.9 MB, free: 15.95 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.903e-05/0.3516, allocations: 11.91 kB / 402.9 MB, free: 15.93 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005745/0.3522, allocations: 268 kB / 403.1 MB, free: 15.66 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.008e-06/0.3522, allocations: 3.953 kB / 403.1 MB, free: 15.66 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.3522, allocations: 4 kB / 403.1 MB, free: 15.65 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.979e-06/0.3522, allocations: 3.984 kB / 403.2 MB, free: 15.65 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000375/0.3526, allocations: 329.3 kB / 403.5 MB, free: 15.28 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.3526, allocations: 4 kB / 403.5 MB, free: 15.28 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001273/0.3528, allocations: 23.98 kB / 403.5 MB, free: 15.25 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002465/0.353, allocations: 84.75 kB / 403.6 MB, free: 15.17 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.164e-05/0.353, allocations: 0 / 403.6 MB, free: 15.17 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001778/0.3548, allocations: 1.878 MB / 405.5 MB, free: 13.16 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.3548, allocations: 0 / 405.5 MB, free: 13.16 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007139/0.3556, allocations: 430.2 kB / 405.9 MB, free: 12.72 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.57e-05/0.3556, allocations: 89.03 kB / 406 MB, free: 12.61 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.367e-05/0.3557, allocations: 12.02 kB / 406 MB, free: 12.6 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001471/0.3558, allocations: 15.98 kB / 406 MB, free: 12.59 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.996e-05/0.3559, allocations: 15.98 kB / 406 MB, free: 12.57 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.247e-06/0.3559, allocations: 0 / 406 MB, free: 12.57 MB / 314.7 MB Notification: Performance of sorting global known variables: time 9.569e-05/0.356, allocations: 128 kB / 406.1 MB, free: 12.45 MB / 314.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.356, allocations: 0 / 406.1 MB, free: 12.45 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004699/0.3565, allocations: 103.5 kB / 406.2 MB, free: 12.34 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (voltageSource.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 (7): * Single equations (assignments): 6 * 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.0001909/0.3567, allocations: 131.1 kB / 406.4 MB, free: 12.21 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0006508/0.3573, allocations: 350.2 kB / 406.7 MB, free: 11.85 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.3574, allocations: 448 / 406.7 MB, free: 11.85 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000357/0.3577, allocations: 250.3 kB / 407 MB, free: 11.6 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002217/0.3579, allocations: 16.64 kB / 407 MB, free: 11.58 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001013/0.359, allocations: 0.7066 MB / 407.7 MB, free: 10.85 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003555/0.3593, allocations: 0.7718 MB / 408.4 MB, free: 10.05 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 7.45e-05/0.3594, allocations: 21.48 kB / 408.5 MB, free: 10.03 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.03e-05/0.3595, allocations: 15.38 kB / 408.5 MB, free: 10.01 MB / 314.7 MB Notification: Performance of SimCode: time 3.21e-07/0.3595, allocations: 0 / 408.5 MB, free: 10.01 MB / 314.7 MB Notification: Performance of Templates: time 0.005689/0.3652, allocations: 2.388 MB / 410.9 MB, free: 7.633 MB / 314.7 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.sim & ./Modelica_3.2.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.pipe 2>&1)