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.001342/0.001342, allocations: 156.1 kB / 7.633 MB, free: 1.445 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.155/1.155, allocations: 170.7 MB / 178.7 MB, free: 7.039 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.001659/0.001659, allocations: 101 kB / 218 MB, free: 15.34 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.042e-05/2.044e-05, allocations: 4 kB / 262.2 MB, free: 3.066 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2211/0.2211, allocations: 38.77 MB / 301 MB, free: 39.15 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08336/0.3045, allocations: 69.41 MB / 370.4 MB, free: 10.23 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002064/0.3048, allocations: 83.8 kB / 370.5 MB, free: 10.15 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02805/0.3329, allocations: 12.16 MB / 382.6 MB, free: 13.93 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.362e-06/0.3329, allocations: 0 / 382.6 MB, free: 13.93 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.589e-05/0.3329, allocations: 8 kB / 382.6 MB, free: 13.92 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.001515/0.3344, allocations: 0.6627 MB / 383.3 MB, free: 13.21 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.371e-05/0.3345, allocations: 8.031 kB / 383.3 MB, free: 13.21 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002018/0.3347, allocations: 55.55 kB / 383.4 MB, free: 13.15 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003188/0.335, allocations: 255.2 kB / 383.6 MB, free: 12.86 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.979e-05/0.3351, allocations: 14.16 kB / 383.6 MB, free: 12.85 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.024e-05/0.3351, allocations: 27.98 kB / 383.7 MB, free: 12.82 MB / 298.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004434/0.3356, allocations: 226.6 kB / 383.9 MB, free: 12.6 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004962/0.3361, allocations: 268 kB / 384.1 MB, free: 12.33 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.034e-05/0.3361, allocations: 4 kB / 384.1 MB, free: 12.33 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.867e-05/0.3361, allocations: 3.938 kB / 384.1 MB, free: 12.32 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.09e-05/0.3362, allocations: 8 kB / 384.2 MB, free: 12.32 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001885/0.3381, allocations: 1.264 MB / 385.4 MB, free: 10.97 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004348/0.3385, allocations: 162.8 kB / 385.6 MB, free: 10.8 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001286/0.3387, allocations: 69.94 kB / 385.6 MB, free: 10.73 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.111e-05/0.3387, allocations: 7.938 kB / 385.7 MB, free: 10.73 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.079e-05/0.3387, allocations: 32.12 kB / 385.7 MB, free: 10.69 MB / 298.7 MB Notification: Performance of pre-optimization done (n=16): time 2.134e-06/0.3387, allocations: 0 / 385.7 MB, free: 10.69 MB / 298.7 MB Notification: Performance of matching and sorting (n=16): time 0.0005304/0.3393, allocations: 190.5 kB / 385.9 MB, free: 10.49 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.18e-05/0.3393, allocations: 63.34 kB / 385.9 MB, free: 10.42 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001434/0.3395, allocations: 132.2 kB / 386.1 MB, free: 10.27 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.151e-05/0.3395, allocations: 29.69 kB / 386.1 MB, free: 10.24 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001218/0.3396, allocations: 207.8 kB / 386.3 MB, free: 10.03 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.239e-05/0.3397, allocations: 55.2 kB / 386.3 MB, free: 9.977 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.398e-06/0.3397, allocations: 0 / 386.3 MB, free: 9.977 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001428/0.3398, allocations: 330.8 kB / 386.7 MB, free: 9.645 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.116e-05/0.3399, allocations: 45.78 kB / 386.7 MB, free: 9.602 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001295/0.3401, allocations: 106.8 kB / 386.8 MB, free: 9.473 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001106/0.3402, allocations: 69.69 kB / 386.9 MB, free: 9.406 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.3402, allocations: 0 / 386.9 MB, free: 9.406 MB / 298.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004843/0.3407, allocations: 257.3 kB / 387.1 MB, free: 9.148 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.003e-05/0.3407, allocations: 4 kB / 387.1 MB, free: 9.145 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/0.3407, allocations: 4.219 kB / 387.1 MB, free: 9.141 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003511/0.3411, allocations: 88.75 kB / 387.2 MB, free: 9.051 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000155/0.3413, allocations: 35.97 kB / 387.3 MB, free: 9.016 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002051/0.3433, allocations: 1.776 MB / 389 MB, free: 7.129 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001546/0.3435, allocations: 27.8 kB / 389.1 MB, free: 7.102 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.045e-05/0.3435, allocations: 9.672 kB / 389.1 MB, free: 7.094 MB / 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 () * 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 8.655e-05/0.3436, allocations: 101 kB / 389.2 MB, free: 6.988 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.863e-05/0.3437, allocations: 11.91 kB / 389.2 MB, free: 6.977 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004148/0.3441, allocations: 215 kB / 389.4 MB, free: 6.754 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/0.3441, allocations: 4 kB / 389.4 MB, free: 6.75 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.918e-06/0.3441, allocations: 3.953 kB / 389.4 MB, free: 6.746 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.552e-06/0.3441, allocations: 3.984 kB / 389.4 MB, free: 6.742 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003178/0.3444, allocations: 270 kB / 389.7 MB, free: 6.445 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.3445, allocations: 0 / 389.7 MB, free: 6.445 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000116/0.3446, allocations: 23.98 kB / 389.7 MB, free: 6.422 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002359/0.3448, allocations: 86.53 kB / 389.8 MB, free: 6.336 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.226e-05/0.3448, allocations: 0 / 389.8 MB, free: 6.336 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001629/0.3465, allocations: 1.768 MB / 391.6 MB, free: 4.457 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.3465, allocations: 3.938 kB / 391.6 MB, free: 4.453 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004966/0.347, allocations: 351.7 kB / 391.9 MB, free: 4.094 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.046e-05/0.3471, allocations: 92.89 kB / 392 MB, free: 3.984 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.006e-05/0.3471, allocations: 4.125 kB / 392 MB, free: 3.98 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000147/0.3472, allocations: 15.98 kB / 392 MB, free: 3.965 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.801e-05/0.3473, allocations: 19.92 kB / 392 MB, free: 3.945 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.059e-05/0.3473, allocations: 4 kB / 392 MB, free: 3.941 MB / 298.7 MB Notification: Performance of sorting global known variables: time 8.688e-05/0.3474, allocations: 115.3 kB / 392.1 MB, free: 3.832 MB / 298.7 MB Notification: Performance of sort global known variables: time 2.003e-06/0.3474, allocations: 0 / 392.1 MB, free: 3.832 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000484/0.3479, allocations: 95.47 kB / 392.2 MB, free: 3.738 MB / 298.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 () * 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.0001883/0.3481, allocations: 116.6 kB / 392.4 MB, free: 3.613 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0005153/0.3486, allocations: 293.4 kB / 392.6 MB, free: 3.316 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.3487, allocations: 0 / 392.6 MB, free: 3.316 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002867/0.3489, allocations: 213.6 kB / 392.8 MB, free: 3.098 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002254/0.3492, allocations: 8.312 kB / 392.9 MB, free: 3.09 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007893/0.35, allocations: 368.8 kB / 393.2 MB, free: 2.711 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003357/0.3503, allocations: 0.775 MB / 394 MB, free: 1.91 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 7.013e-05/0.3504, allocations: 13.2 kB / 394 MB, free: 1.898 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.926e-05/0.3504, allocations: 15.44 kB / 394 MB, free: 1.883 MB / 298.7 MB Notification: Performance of SimCode: time 2.6e-07/0.3504, allocations: 0 / 394 MB, free: 1.883 MB / 298.7 MB Notification: Performance of Templates: time 0.004986/0.3554, allocations: 2.113 MB / 396.1 MB, free: 15.8 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)