Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.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.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008155/0.0008154, allocations: 91.06 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.004813/0.004813, allocations: 170.7 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.342/1.342, allocations: 205.4 MB / 222.4 MB, free: 5.574 MB / 174.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004261/0.0004262, allocations: 8 kB / 279.5 MB, free: 12.51 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2355/0.236, allocations: 47.58 MB / 327 MB, free: 1.441 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance): time 0.003767/0.2398, allocations: 3.358 MB / 330.4 MB, free: 14.77 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002537/0.2424, allocations: 1.437 MB / 331.8 MB, free: 13.62 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001801/0.2426, allocations: 8.312 kB / 331.8 MB, free: 13.62 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004922/0.2431, allocations: 163.6 kB / 332 MB, free: 13.52 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001322/0.2444, allocations: 0.5192 MB / 332.5 MB, free: 13.13 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009108/0.2453, allocations: 389.1 kB / 332.9 MB, free: 12.86 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006413/0.246, allocations: 466.9 kB / 333.3 MB, free: 12.59 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00137/0.2473, allocations: 0.7134 MB / 334.1 MB, free: 12.05 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003565/0.2477, allocations: 191.7 kB / 334.2 MB, free: 11.95 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003653/0.2481, allocations: 251.6 kB / 334.5 MB, free: 11.79 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 5.631e-05/0.2482, allocations: 21.47 kB / 334.5 MB, free: 11.79 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004386/0.2486, allocations: 184.2 kB / 334.7 MB, free: 11.66 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 7.258e-05/0.2487, allocations: 87.61 kB / 334.8 MB, free: 11.57 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002061/0.2489, allocations: 244.4 kB / 335 MB, free: 11.33 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007814/0.2497, allocations: 0.6631 MB / 335.7 MB, free: 10.66 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.733e-06/0.2497, allocations: 0 / 335.7 MB, free: 10.66 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.2497, allocations: 3.938 kB / 335.7 MB, free: 10.66 MB / 270.1 MB Notification: Performance of Transformations before backend: time 8.787e-06/0.2497, allocations: 0 / 335.7 MB, free: 10.66 MB / 270.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 0.002039/0.2518, allocations: 0.8351 MB / 336.5 MB, free: 9.777 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.224e-05/0.2518, allocations: 12.03 kB / 336.5 MB, free: 9.766 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004198/0.256, allocations: 0.5973 MB / 337.1 MB, free: 9.168 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003869/0.2564, allocations: 315.6 kB / 337.4 MB, free: 8.82 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.836e-05/0.2565, allocations: 45.69 kB / 337.5 MB, free: 8.777 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.653e-05/0.2566, allocations: 52.38 kB / 337.5 MB, free: 8.727 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001018/0.2576, allocations: 0.5686 MB / 338.1 MB, free: 8.148 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.045e-05/0.2576, allocations: 0 / 338.1 MB, free: 8.148 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.598e-05/0.2577, allocations: 24 kB / 338.1 MB, free: 8.125 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.583e-05/0.2577, allocations: 16 kB / 338.1 MB, free: 8.109 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001137/0.2588, allocations: 0.6415 MB / 338.8 MB, free: 7.469 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003133/0.262, allocations: 2.053 MB / 340.8 MB, free: 5.277 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002834/0.2648, allocations: 3.009 MB / 343.8 MB, free: 1.707 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003824/0.2652, allocations: 218.1 kB / 344.1 MB, free: 1.492 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.819e-05/0.2653, allocations: 93.53 kB / 344.2 MB, free: 1.383 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.078e-05/0.2654, allocations: 43 kB / 344.2 MB, free: 1.328 MB / 270.1 MB Notification: Performance of pre-optimization done (n=49): time 2.706e-06/0.2654, allocations: 0 / 344.2 MB, free: 1.328 MB / 270.1 MB Notification: Performance of matching and sorting (n=49): time 0.001915/0.2673, allocations: 0.8128 MB / 345 MB, free: 500 kB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.269e-05/0.2674, allocations: 59.78 kB / 345.1 MB, free: 428 kB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002009/0.2676, allocations: 213.5 kB / 345.3 MB, free: 208 kB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 3.059e-05/0.2676, allocations: 33.7 kB / 345.3 MB, free: 168 kB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001441/0.2678, allocations: 240.3 kB / 345.5 MB, free: 15.92 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000146/0.2679, allocations: 165.5 kB / 345.7 MB, free: 15.76 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.389e-05/0.268, allocations: 45.7 kB / 345.7 MB, free: 15.71 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001146/0.2681, allocations: 338.8 kB / 346.1 MB, free: 15.37 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000307/0.2684, allocations: 165 kB / 346.2 MB, free: 15.21 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003856/0.2688, allocations: 281.9 kB / 346.5 MB, free: 14.89 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007091/0.2695, allocations: 476.5 kB / 347 MB, free: 14.38 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.599e-06/0.2696, allocations: 0 / 347 MB, free: 14.38 MB / 286.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001057/0.2706, allocations: 0.5941 MB / 347.6 MB, free: 13.78 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.892e-05/0.2706, allocations: 7.938 kB / 347.6 MB, free: 13.77 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.097e-05/0.2707, allocations: 4 kB / 347.6 MB, free: 13.77 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000348/0.271, allocations: 97 kB / 347.7 MB, free: 13.67 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004129/0.2714, allocations: 107.8 kB / 347.8 MB, free: 13.56 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001987/0.2734, allocations: 1.854 MB / 349.6 MB, free: 11.58 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000312/0.2738, allocations: 63.39 kB / 349.7 MB, free: 11.52 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.472e-05/0.2738, allocations: 20.08 kB / 349.7 MB, free: 11.5 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (58): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002255/0.274, allocations: 165.8 kB / 349.9 MB, free: 11.32 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.114e-05/0.2741, allocations: 31.61 kB / 349.9 MB, free: 11.29 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001127/0.2752, allocations: 0.5593 MB / 350.5 MB, free: 10.73 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.899e-06/0.2753, allocations: 8 kB / 350.5 MB, free: 10.72 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.2753, allocations: 7.938 kB / 350.5 MB, free: 10.71 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.645e-06/0.2753, allocations: 7.922 kB / 350.5 MB, free: 10.7 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001706/0.277, allocations: 1.157 MB / 351.7 MB, free: 9.48 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.497e-06/0.277, allocations: 0 / 351.7 MB, free: 9.48 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000338/0.2774, allocations: 83.89 kB / 351.7 MB, free: 9.398 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002682/0.2776, allocations: 80.81 kB / 351.8 MB, free: 9.316 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.009e-05/0.2777, allocations: 15.98 kB / 351.8 MB, free: 9.301 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001844/0.2795, allocations: 1.854 MB / 353.7 MB, free: 7.309 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.2795, allocations: 0 / 353.7 MB, free: 7.309 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001392/0.2809, allocations: 0.8117 MB / 354.5 MB, free: 6.477 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.254e-05/0.281, allocations: 120.6 kB / 354.6 MB, free: 6.34 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.152e-05/0.2811, allocations: 16 kB / 354.6 MB, free: 6.324 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002398/0.2813, allocations: 23.92 kB / 354.7 MB, free: 6.301 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.804e-05/0.2814, allocations: 36.39 kB / 354.7 MB, free: 6.266 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.451e-05/0.2815, allocations: 12 kB / 354.7 MB, free: 6.254 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001319/0.2816, allocations: 152.1 kB / 354.8 MB, free: 6.105 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.2816, allocations: 0 / 354.8 MB, free: 6.105 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0006311/0.2822, allocations: 151.6 kB / 355 MB, free: 5.957 MB / 286.1 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 (44): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002435/0.2825, allocations: 147.2 kB / 355.1 MB, free: 5.805 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001072/0.2836, allocations: 0.5975 MB / 355.7 MB, free: 5.195 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.2836, allocations: 4 kB / 355.7 MB, free: 5.191 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005899/0.2842, allocations: 389.7 kB / 356.1 MB, free: 4.797 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003888/0.2846, allocations: 39.81 kB / 356.2 MB, free: 4.758 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001574/0.2862, allocations: 1.112 MB / 357.3 MB, free: 3.613 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003588/0.2866, allocations: 0.8175 MB / 358.1 MB, free: 2.773 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0002294/0.2868, allocations: 55.25 kB / 358.1 MB, free: 2.723 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.59e-05/0.2869, allocations: 35.44 kB / 358.2 MB, free: 2.688 MB / 286.1 MB Notification: Performance of SimCode: time 2.51e-07/0.2869, allocations: 3.938 kB / 358.2 MB, free: 2.684 MB / 286.1 MB Notification: Performance of Templates: time 0.008526/0.2954, allocations: 4.103 MB / 362.3 MB, free: 14.58 MB / 302.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.makefile (rm -f Modelica_3.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.pipe ; mkfifo Modelica_3.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.pipe >> ../files/Modelica_3.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.sim & ./Modelica_3.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.pipe 2>&1)