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.001034/0.001034, allocations: 169.9 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.167/1.167, allocations: 170.6 MB / 183.8 MB, free: 11.48 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.001555/0.001555, allocations: 99.52 kB / 223.2 MB, free: 4.113 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.309e-05/3.331e-05, allocations: 4 kB / 268.9 MB, free: 20.93 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07142/0.07147, allocations: 38.76 MB / 307.6 MB, free: 14.14 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2712/0.3427, allocations: 70.08 MB / 377.7 MB, free: 6.219 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001887/0.3429, allocations: 79.45 kB / 377.8 MB, free: 6.176 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02756/0.3705, allocations: 12.3 MB / 390.1 MB, free: 12.14 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.3705, allocations: 0 / 390.1 MB, free: 12.14 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.634e-05/0.3705, allocations: 8 kB / 390.1 MB, free: 12.13 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.001515/0.3721, allocations: 0.6627 MB / 390.8 MB, free: 11.47 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.657e-05/0.3721, allocations: 12.03 kB / 390.8 MB, free: 11.46 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001965/0.3723, allocations: 51.3 kB / 390.8 MB, free: 11.41 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002705/0.3726, allocations: 255.5 kB / 391.1 MB, free: 11.15 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.56e-05/0.3726, allocations: 31.62 kB / 391.1 MB, free: 11.14 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.81e-05/0.3727, allocations: 35 kB / 391.1 MB, free: 11.11 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005479/0.3733, allocations: 335.2 kB / 391.5 MB, free: 10.89 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.991e-05/0.3733, allocations: 0 / 391.5 MB, free: 10.89 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.557e-05/0.3733, allocations: 22.3 kB / 391.5 MB, free: 10.88 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.122e-05/0.3733, allocations: 12 kB / 391.5 MB, free: 10.87 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004084/0.3738, allocations: 243.5 kB / 391.7 MB, free: 10.71 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001839/0.3756, allocations: 1.338 MB / 393.1 MB, free: 9.562 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004545/0.3761, allocations: 176.7 kB / 393.2 MB, free: 9.434 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001195/0.3762, allocations: 73.53 kB / 393.3 MB, free: 9.383 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.447e-05/0.3762, allocations: 0 / 393.3 MB, free: 9.383 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.312e-05/0.3763, allocations: 33.81 kB / 393.3 MB, free: 9.344 MB / 282.7 MB Notification: Performance of pre-optimization done (n=16): time 1.222e-06/0.3763, allocations: 0 / 393.3 MB, free: 9.344 MB / 282.7 MB Notification: Performance of matching and sorting (n=16): time 0.0005135/0.3768, allocations: 225 kB / 393.6 MB, free: 9.164 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.924e-05/0.3769, allocations: 55.41 kB / 393.6 MB, free: 9.098 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001597/0.377, allocations: 153.8 kB / 393.8 MB, free: 8.953 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.382e-05/0.3771, allocations: 29.7 kB / 393.8 MB, free: 8.918 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000122/0.3772, allocations: 207.8 kB / 394 MB, free: 8.73 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.307e-05/0.3772, allocations: 65.53 kB / 394.1 MB, free: 8.676 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.097e-06/0.3772, allocations: 0 / 394.1 MB, free: 8.676 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001165/0.3774, allocations: 329.1 kB / 394.4 MB, free: 8.352 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.164e-05/0.3775, allocations: 52.44 kB / 394.4 MB, free: 8.32 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001333/0.3776, allocations: 104.9 kB / 394.5 MB, free: 8.219 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001239/0.3777, allocations: 69.53 kB / 394.6 MB, free: 8.176 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.188e-06/0.3778, allocations: 4 kB / 394.6 MB, free: 8.172 MB / 282.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004917/0.3783, allocations: 281.9 kB / 394.9 MB, free: 7.949 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.138e-05/0.3783, allocations: 4 kB / 394.9 MB, free: 7.945 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.588e-06/0.3783, allocations: 4 kB / 394.9 MB, free: 7.941 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000331/0.3786, allocations: 87.69 kB / 395 MB, free: 7.871 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001624/0.3788, allocations: 43.97 kB / 395 MB, free: 7.828 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001897/0.3807, allocations: 1.84 MB / 396.9 MB, free: 6.102 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000162/0.3809, allocations: 34.64 kB / 396.9 MB, free: 6.07 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.835e-05/0.3809, allocations: 13.44 kB / 396.9 MB, free: 6.059 MB / 282.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 0.0001007/0.381, allocations: 120.6 kB / 397 MB, free: 5.941 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.14e-05/0.3811, allocations: 7.906 kB / 397 MB, free: 5.934 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004389/0.3815, allocations: 231.8 kB / 397.3 MB, free: 5.758 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.138e-06/0.3815, allocations: 3.953 kB / 397.3 MB, free: 5.754 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.192e-06/0.3816, allocations: 4 kB / 397.3 MB, free: 5.75 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.421e-06/0.3816, allocations: 7.984 kB / 397.3 MB, free: 5.742 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003813/0.382, allocations: 328.7 kB / 397.6 MB, free: 5.434 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.382, allocations: 0 / 397.6 MB, free: 5.434 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001158/0.3821, allocations: 19.98 kB / 397.6 MB, free: 5.414 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002455/0.3823, allocations: 81.81 kB / 397.7 MB, free: 5.348 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.414e-05/0.3824, allocations: 3.812 kB / 397.7 MB, free: 5.348 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001733/0.3841, allocations: 1.847 MB / 399.5 MB, free: 3.617 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.3841, allocations: 4.031 kB / 399.6 MB, free: 3.613 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005368/0.3847, allocations: 376.1 kB / 399.9 MB, free: 3.309 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.847e-05/0.3847, allocations: 100.9 kB / 400 MB, free: 3.191 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.955e-05/0.3848, allocations: 3.188 kB / 400 MB, free: 3.191 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000151/0.3849, allocations: 15.48 kB / 400 MB, free: 3.18 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.803e-05/0.385, allocations: 11.98 kB / 400 MB, free: 3.168 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.389e-05/0.385, allocations: 7.562 kB / 400.1 MB, free: 3.164 MB / 282.7 MB Notification: Performance of sorting global known variables: time 9.442e-05/0.3851, allocations: 129.4 kB / 400.2 MB, free: 3.051 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3851, allocations: 0 / 400.2 MB, free: 3.051 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004767/0.3856, allocations: 98.03 kB / 400.3 MB, free: 2.965 MB / 282.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.00022/0.3858, allocations: 130.7 kB / 400.4 MB, free: 2.828 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0005469/0.3864, allocations: 303.9 kB / 400.7 MB, free: 2.578 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.3864, allocations: 0 / 400.7 MB, free: 2.578 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003009/0.3867, allocations: 230.4 kB / 400.9 MB, free: 2.375 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002225/0.3869, allocations: 21 kB / 400.9 MB, free: 2.363 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008185/0.3878, allocations: 381.4 kB / 401.3 MB, free: 2.012 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003533/0.3881, allocations: 0.7714 MB / 402.1 MB, free: 1.211 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 7.52e-05/0.3882, allocations: 9.547 kB / 402.1 MB, free: 1.203 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.545e-05/0.3883, allocations: 15.44 kB / 402.1 MB, free: 1.188 MB / 282.7 MB Notification: Performance of SimCode: time 3.41e-07/0.3883, allocations: 0 / 402.1 MB, free: 1.188 MB / 282.7 MB Notification: Performance of Templates: time 0.005924/0.3942, allocations: 2.473 MB / 404.6 MB, free: 14.73 MB / 298.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)