Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.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.ParallelResonance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.1_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.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.008704/0.008704, allocations: 166.5 kB / 15.11 MB, free: 5.98 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.257/1.257, allocations: 170.8 MB / 186.6 MB, free: 0.9648 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.001599/0.001599, allocations: 114.6 kB / 226.2 MB, free: 10.09 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003217/0.0003217, allocations: 8 kB / 274.1 MB, free: 10.07 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2177/0.218, allocations: 38.76 MB / 312.9 MB, free: 38.9 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09009/0.3082, allocations: 70.17 MB / 383.1 MB, free: 4.359 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002407/0.3085, allocations: 75.97 kB / 383.1 MB, free: 4.285 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02897/0.3375, allocations: 12.42 MB / 395.6 MB, free: 7.715 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.362e-06/0.3375, allocations: 0 / 395.6 MB, free: 7.715 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.47e-05/0.3375, allocations: 4 kB / 395.6 MB, free: 7.711 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.001564/0.3391, allocations: 0.6865 MB / 396.2 MB, free: 6.977 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.439e-05/0.3391, allocations: 8.031 kB / 396.3 MB, free: 6.969 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002026/0.3394, allocations: 59.5 kB / 396.3 MB, free: 6.91 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003119/0.3397, allocations: 255.8 kB / 396.6 MB, free: 6.621 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.914e-05/0.3397, allocations: 29 kB / 396.6 MB, free: 6.594 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.319e-05/0.3398, allocations: 40 kB / 396.6 MB, free: 6.555 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006492/0.3404, allocations: 370.4 kB / 397 MB, free: 6.188 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.644e-05/0.3405, allocations: 3.906 kB / 397 MB, free: 6.184 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.704e-05/0.3405, allocations: 16 kB / 397 MB, free: 6.168 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.275e-05/0.3405, allocations: 11.98 kB / 397 MB, free: 6.156 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005527/0.3411, allocations: 303.8 kB / 397.3 MB, free: 5.859 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002027/0.3431, allocations: 1.36 MB / 398.7 MB, free: 4.422 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004675/0.3436, allocations: 174.6 kB / 398.8 MB, free: 4.242 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.277e-05/0.3437, allocations: 7.984 kB / 398.9 MB, free: 4.234 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.784e-05/0.3437, allocations: 34.56 kB / 398.9 MB, free: 4.191 MB / 298.7 MB Notification: Performance of pre-optimization done (n=16): time 1.903e-06/0.3437, allocations: 0 / 398.9 MB, free: 4.191 MB / 298.7 MB Notification: Performance of matching and sorting (n=16): time 0.001235/0.3449, allocations: 465.8 kB / 399.3 MB, free: 3.711 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.865e-05/0.345, allocations: 51.41 kB / 399.4 MB, free: 3.648 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001737/0.3452, allocations: 158.4 kB / 399.6 MB, free: 3.48 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.433e-05/0.3452, allocations: 29.7 kB / 399.6 MB, free: 3.445 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00015/0.3454, allocations: 211.6 kB / 399.8 MB, free: 3.234 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.022e-05/0.3454, allocations: 51.27 kB / 399.8 MB, free: 3.184 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.28e-05/0.3455, allocations: 4 kB / 399.8 MB, free: 3.18 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001348/0.3456, allocations: 330.8 kB / 400.2 MB, free: 2.848 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001709/0.3458, allocations: 75.95 kB / 400.2 MB, free: 2.773 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002176/0.346, allocations: 131.8 kB / 400.4 MB, free: 2.621 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001863/0.3462, allocations: 88.67 kB / 400.5 MB, free: 2.535 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.3462, allocations: 0 / 400.5 MB, free: 2.535 MB / 298.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0006695/0.3469, allocations: 329.2 kB / 400.8 MB, free: 2.207 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.002e-05/0.3469, allocations: 10.12 kB / 400.8 MB, free: 2.199 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.705e-06/0.3469, allocations: 4 kB / 400.8 MB, free: 2.195 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003374/0.3473, allocations: 76.8 kB / 400.9 MB, free: 2.117 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001809/0.3475, allocations: 51.92 kB / 400.9 MB, free: 2.066 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0016/0.3491, allocations: 1.663 MB / 402.6 MB, free: 272 kB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001752/0.3493, allocations: 35.7 kB / 402.6 MB, free: 236 kB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.788e-05/0.3493, allocations: 8 kB / 402.6 MB, free: 228 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 (19): * Single equations (assignments): 18 * 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.0002025/0.3495, allocations: 153.7 kB / 402.8 MB, free: 64 kB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.675e-05/0.3495, allocations: 11.97 kB / 402.8 MB, free: 52 kB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006105/0.3502, allocations: 268.1 kB / 403 MB, free: 15.78 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.3502, allocations: 8 kB / 403.1 MB, free: 15.77 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.435e-06/0.3502, allocations: 0 / 403.1 MB, free: 15.77 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.3502, allocations: 0 / 403.1 MB, free: 15.77 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003678/0.3506, allocations: 353.5 kB / 403.4 MB, free: 15.38 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.3506, allocations: 3.938 kB / 403.4 MB, free: 15.37 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001415/0.3507, allocations: 23.98 kB / 403.4 MB, free: 15.35 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002673/0.351, allocations: 76.8 kB / 403.5 MB, free: 15.27 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.957e-05/0.351, allocations: 11.95 kB / 403.5 MB, free: 15.26 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001539/0.3526, allocations: 1.659 MB / 405.2 MB, free: 13.46 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.3526, allocations: 4.031 kB / 405.2 MB, free: 13.46 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000758/0.3534, allocations: 443.8 kB / 405.6 MB, free: 13.01 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.05e-05/0.3534, allocations: 96.89 kB / 405.7 MB, free: 12.89 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.065e-05/0.3535, allocations: 4 kB / 405.7 MB, free: 12.89 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001574/0.3536, allocations: 20.05 kB / 405.7 MB, free: 12.87 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.861e-05/0.3537, allocations: 15.94 kB / 405.7 MB, free: 12.86 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.431e-05/0.3537, allocations: 8 kB / 405.7 MB, free: 12.85 MB / 314.7 MB Notification: Performance of sorting global known variables: time 9.427e-05/0.3538, allocations: 120 kB / 405.9 MB, free: 12.73 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3538, allocations: 0 / 405.9 MB, free: 12.73 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004285/0.3543, allocations: 99.67 kB / 406 MB, free: 12.63 MB / 314.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 (9): * Single equations (assignments): 8 * 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.0002053/0.3545, allocations: 119.2 kB / 406.1 MB, free: 12.51 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0007328/0.3552, allocations: 354.4 kB / 406.4 MB, free: 12.15 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.3552, allocations: 0 / 406.4 MB, free: 12.15 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003819/0.3556, allocations: 254.9 kB / 406.7 MB, free: 11.89 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002371/0.3559, allocations: 15.92 kB / 406.7 MB, free: 11.87 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001084/0.357, allocations: 0.7218 MB / 407.4 MB, free: 11.13 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003717/0.3573, allocations: 0.7755 MB / 408.2 MB, free: 10.32 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 7.278e-05/0.3574, allocations: 9.547 kB / 408.2 MB, free: 10.32 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.431e-05/0.3575, allocations: 19.44 kB / 408.2 MB, free: 10.3 MB / 314.7 MB Notification: Performance of SimCode: time 2.3e-07/0.3575, allocations: 0 / 408.2 MB, free: 10.3 MB / 314.7 MB Notification: Performance of Templates: time 0.005986/0.3635, allocations: 2.435 MB / 410.7 MB, free: 7.879 MB / 314.7 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.sim & ./Modelica_3.2.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.pipe 2>&1)