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.00134/0.00134, allocations: 169.7 kB / 12.72 MB, free: 2.594 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.6 MB / 183.8 MB, free: 11.43 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.00156/0.00156, allocations: 114.9 kB / 223.2 MB, free: 4.043 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.149e-05/3.153e-05, allocations: 0 / 268.9 MB, free: 20.91 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07887/0.07891, allocations: 38.77 MB / 307.6 MB, free: 14.11 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2757/0.3546, allocations: 70.07 MB / 377.7 MB, free: 6.125 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001852/0.3549, allocations: 90.12 kB / 377.8 MB, free: 6.074 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02736/0.3822, allocations: 12.37 MB / 390.2 MB, free: 11.97 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.314e-06/0.3823, allocations: 0 / 390.2 MB, free: 11.97 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.139e-05/0.3823, allocations: 8 kB / 390.2 MB, free: 11.96 MB / 282.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.001529/0.3838, allocations: 0.6825 MB / 390.9 MB, free: 11.29 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.955e-05/0.3839, allocations: 8.031 kB / 390.9 MB, free: 11.28 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002022/0.3841, allocations: 51.52 kB / 390.9 MB, free: 11.23 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002855/0.3844, allocations: 257 kB / 391.2 MB, free: 10.97 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.276e-05/0.3844, allocations: 28.44 kB / 391.2 MB, free: 10.96 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.404e-05/0.3845, allocations: 38.75 kB / 391.2 MB, free: 10.93 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005744/0.3851, allocations: 341.6 kB / 391.6 MB, free: 10.71 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.749e-05/0.3851, allocations: 0 / 391.6 MB, free: 10.71 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.405e-05/0.3851, allocations: 19.31 kB / 391.6 MB, free: 10.7 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.078e-05/0.3851, allocations: 16 kB / 391.6 MB, free: 10.68 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004134/0.3856, allocations: 261.7 kB / 391.9 MB, free: 10.52 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001894/0.3875, allocations: 1.35 MB / 393.2 MB, free: 9.402 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003774/0.3879, allocations: 165.2 kB / 393.4 MB, free: 9.285 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002137/0.3881, allocations: 117 kB / 393.5 MB, free: 9.203 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.558e-05/0.3881, allocations: 7.938 kB / 393.5 MB, free: 9.195 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.783e-05/0.3882, allocations: 38.25 kB / 393.5 MB, free: 9.152 MB / 282.7 MB Notification: Performance of pre-optimization done (n=16): time 2.164e-06/0.3882, allocations: 0 / 393.5 MB, free: 9.152 MB / 282.7 MB Notification: Performance of matching and sorting (n=16): time 0.0005054/0.3887, allocations: 202.6 kB / 393.7 MB, free: 8.988 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.93e-05/0.3887, allocations: 55.41 kB / 393.8 MB, free: 8.922 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001483/0.3889, allocations: 156 kB / 393.9 MB, free: 8.777 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.82e-05/0.3889, allocations: 25.7 kB / 394 MB, free: 8.746 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001367/0.3891, allocations: 216.9 kB / 394.2 MB, free: 8.551 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.953e-05/0.3891, allocations: 54.52 kB / 394.2 MB, free: 8.504 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.788e-06/0.3891, allocations: 3.438 kB / 394.2 MB, free: 8.504 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.000119/0.3893, allocations: 329.9 kB / 394.5 MB, free: 8.18 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.783e-05/0.3894, allocations: 45.81 kB / 394.6 MB, free: 8.152 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001257/0.3895, allocations: 120.6 kB / 394.7 MB, free: 8.031 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001273/0.3896, allocations: 73.38 kB / 394.8 MB, free: 7.98 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.3896, allocations: 4 kB / 394.8 MB, free: 7.977 MB / 282.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004759/0.3901, allocations: 271.9 kB / 395 MB, free: 7.762 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.592e-05/0.3901, allocations: 8 kB / 395.1 MB, free: 7.754 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.544e-06/0.3902, allocations: 4.281 kB / 395.1 MB, free: 7.75 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003164/0.3905, allocations: 85.11 kB / 395.1 MB, free: 7.68 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001629/0.3907, allocations: 39.92 kB / 395.2 MB, free: 7.641 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001615/0.3923, allocations: 1.628 MB / 396.8 MB, free: 6.066 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001602/0.3925, allocations: 24.34 kB / 396.8 MB, free: 6.047 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.016e-05/0.3925, allocations: 18.55 kB / 396.9 MB, free: 6.031 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete 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 9.13e-05/0.3926, allocations: 121.9 kB / 397 MB, free: 5.91 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.154e-05/0.3926, allocations: 15.81 kB / 397 MB, free: 5.895 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004539/0.3931, allocations: 212.8 kB / 397.2 MB, free: 5.734 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.405e-06/0.3931, allocations: 0 / 397.2 MB, free: 5.734 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.023e-06/0.3931, allocations: 11.98 kB / 397.2 MB, free: 5.723 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/0.3931, allocations: 0 / 397.2 MB, free: 5.723 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008943/0.394, allocations: 0.6504 MB / 397.9 MB, free: 5.141 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.394, allocations: 0 / 397.9 MB, free: 5.141 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001274/0.3942, allocations: 35.23 kB / 397.9 MB, free: 5.109 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002464/0.3944, allocations: 74.83 kB / 398 MB, free: 5.047 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.59e-05/0.3945, allocations: 7.938 kB / 398 MB, free: 5.039 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001581/0.396, allocations: 1.645 MB / 399.6 MB, free: 3.453 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.3961, allocations: 7.938 kB / 399.6 MB, free: 3.445 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005667/0.3966, allocations: 405.4 kB / 400 MB, free: 3.098 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.825e-05/0.3967, allocations: 92.88 kB / 400.1 MB, free: 2.988 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.191e-05/0.3967, allocations: 3.688 kB / 400.1 MB, free: 2.988 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000155/0.3969, allocations: 23.98 kB / 400.1 MB, free: 2.965 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.368e-05/0.397, allocations: 15.59 kB / 400.2 MB, free: 2.953 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.002e-05/0.397, allocations: 4 kB / 400.2 MB, free: 2.949 MB / 282.7 MB Notification: Performance of sorting global known variables: time 9.959e-05/0.3971, allocations: 122.5 kB / 400.3 MB, free: 2.844 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.3971, allocations: 4 kB / 400.3 MB, free: 2.84 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004528/0.3976, allocations: 93.56 kB / 400.4 MB, free: 2.758 MB / 282.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 (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.0002322/0.3978, allocations: 126.6 kB / 400.5 MB, free: 2.625 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.000549/0.3984, allocations: 306.1 kB / 400.8 MB, free: 2.371 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.3984, allocations: 3.562 kB / 400.8 MB, free: 2.371 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002967/0.3987, allocations: 222.1 kB / 401 MB, free: 2.172 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002176/0.3989, allocations: 20.03 kB / 401 MB, free: 2.16 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007405/0.3997, allocations: 390.9 kB / 401.4 MB, free: 1.793 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003662/0.4001, allocations: 0.7791 MB / 402.2 MB, free: 0.9844 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 7.994e-05/0.4002, allocations: 13.55 kB / 402.2 MB, free: 0.9727 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.341e-05/0.4002, allocations: 15.44 kB / 402.2 MB, free: 0.957 MB / 282.7 MB Notification: Performance of SimCode: time 2.61e-07/0.4002, allocations: 0 / 402.2 MB, free: 0.957 MB / 282.7 MB Notification: Performance of Templates: time 0.005942/0.4062, allocations: 2.457 MB / 404.7 MB, free: 14.51 MB / 298.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)