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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001566/0.001566, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001937/0.001937, allocations: 195.3 kB / 16.14 MB, free: 6.707 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.32/1.32, allocations: 205.1 MB / 222 MB, free: 4.953 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.001366/0.001366, allocations: 44.31 kB / 278 MB, free: 13 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2385/0.2399, allocations: 46.63 MB / 324.7 MB, free: 2.172 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance): time 0.004673/0.2446, allocations: 3.766 MB / 328.4 MB, free: 15.19 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002743/0.2474, allocations: 1.457 MB / 329.9 MB, free: 14.03 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002028/0.2476, allocations: 8.875 kB / 329.9 MB, free: 14.03 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001695/0.2493, allocations: 0.7191 MB / 330.6 MB, free: 13.5 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001133/0.2505, allocations: 0.5187 MB / 331.1 MB, free: 13.11 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008134/0.2513, allocations: 399.4 kB / 331.5 MB, free: 12.83 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005229/0.2518, allocations: 462.2 kB / 332 MB, free: 12.57 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006301/0.2525, allocations: 355.6 kB / 332.3 MB, free: 12.34 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003457/0.2528, allocations: 204.3 kB / 332.5 MB, free: 12.23 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000311/0.2532, allocations: 281.3 kB / 332.8 MB, free: 12.05 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 6.507e-05/0.2532, allocations: 32.69 kB / 332.8 MB, free: 12.05 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004263/0.2537, allocations: 195.7 kB / 333 MB, free: 11.97 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 8.941e-05/0.2538, allocations: 103.4 kB / 333.1 MB, free: 11.89 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002421/0.254, allocations: 239.4 kB / 333.4 MB, free: 11.73 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006802/0.2547, allocations: 0.6775 MB / 334 MB, free: 11.05 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.2547, allocations: 0 / 334 MB, free: 11.05 MB / 270.1 MB Notification: Performance of FrontEnd: time 8.81e-07/0.2547, allocations: 3.938 kB / 334 MB, free: 11.04 MB / 270.1 MB Notification: Performance of Transformations before backend: time 7.424e-06/0.2547, allocations: 0 / 334 MB, free: 11.04 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.002104/0.2569, allocations: 0.9326 MB / 335 MB, free: 10.06 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.056e-05/0.2569, allocations: 8.031 kB / 335 MB, free: 10.05 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004259/0.2612, allocations: 0.5818 MB / 335.6 MB, free: 9.473 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000511/0.2617, allocations: 323.6 kB / 335.9 MB, free: 9.117 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.449e-05/0.2618, allocations: 41.69 kB / 335.9 MB, free: 9.078 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.807e-05/0.2619, allocations: 68.27 kB / 336 MB, free: 9.012 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001025/0.2629, allocations: 0.5531 MB / 336.5 MB, free: 8.449 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.394e-05/0.2629, allocations: 0 / 336.5 MB, free: 8.449 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.016e-05/0.263, allocations: 28 kB / 336.6 MB, free: 8.422 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.604e-05/0.263, allocations: 12 kB / 336.6 MB, free: 8.41 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001078/0.2641, allocations: 0.6337 MB / 337.2 MB, free: 7.777 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003155/0.2673, allocations: 2.046 MB / 339.3 MB, free: 5.594 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003002/0.2703, allocations: 3.001 MB / 342.3 MB, free: 2.031 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003598/0.2707, allocations: 222.1 kB / 342.5 MB, free: 1.812 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.208e-05/0.2708, allocations: 89.55 kB / 342.6 MB, free: 1.707 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.787e-05/0.2708, allocations: 39 kB / 342.6 MB, free: 1.656 MB / 270.1 MB Notification: Performance of pre-optimization done (n=49): time 3.116e-06/0.2708, allocations: 0 / 342.6 MB, free: 1.656 MB / 270.1 MB Notification: Performance of matching and sorting (n=49): time 0.0021/0.2729, allocations: 0.7932 MB / 343.4 MB, free: 0.8359 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.881e-05/0.273, allocations: 67.78 kB / 343.5 MB, free: 0.7578 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002164/0.2732, allocations: 197.6 kB / 343.7 MB, free: 0.5586 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 3.615e-05/0.2733, allocations: 37.7 kB / 343.7 MB, free: 0.5156 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001573/0.2734, allocations: 244 kB / 343.9 MB, free: 280 kB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001242/0.2736, allocations: 161.7 kB / 344.1 MB, free: 116 kB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001645/0.2737, allocations: 102.1 kB / 344.2 MB, free: 8 kB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.000172/0.2739, allocations: 334.9 kB / 344.5 MB, free: 15.67 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003094/0.2742, allocations: 161 kB / 344.7 MB, free: 15.51 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004173/0.2746, allocations: 274 kB / 344.9 MB, free: 15.2 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007396/0.2754, allocations: 456.5 kB / 345.4 MB, free: 14.71 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.454e-06/0.2754, allocations: 4 kB / 345.4 MB, free: 14.71 MB / 286.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001087/0.2765, allocations: 0.5864 MB / 346 MB, free: 14.11 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.667e-05/0.2765, allocations: 7.938 kB / 346 MB, free: 14.1 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.388e-06/0.2766, allocations: 7.938 kB / 346 MB, free: 14.09 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003784/0.2769, allocations: 96.78 kB / 346.1 MB, free: 14 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004198/0.2774, allocations: 107.9 kB / 346.2 MB, free: 13.89 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00221/0.2796, allocations: 1.846 MB / 348 MB, free: 11.91 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003225/0.2799, allocations: 55.38 kB / 348.1 MB, free: 11.86 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.616e-05/0.28, allocations: 23.98 kB / 348.1 MB, free: 11.84 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.000258/0.2802, allocations: 173.8 kB / 348.3 MB, free: 11.66 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.376e-05/0.2803, allocations: 27.72 kB / 348.3 MB, free: 11.63 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001079/0.2814, allocations: 0.555 MB / 348.9 MB, free: 11.07 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.911e-06/0.2814, allocations: 4 kB / 348.9 MB, free: 11.07 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.2814, allocations: 4 kB / 348.9 MB, free: 11.06 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.062e-05/0.2815, allocations: 7.922 kB / 348.9 MB, free: 11.05 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00165/0.2831, allocations: 1.134 MB / 350 MB, free: 9.859 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.165e-06/0.2831, allocations: 4 kB / 350 MB, free: 9.855 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003237/0.2835, allocations: 75.91 kB / 350.1 MB, free: 9.781 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00028/0.2837, allocations: 88.73 kB / 350.2 MB, free: 9.691 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.056e-05/0.2838, allocations: 12 kB / 350.2 MB, free: 9.68 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002034/0.2858, allocations: 1.85 MB / 352 MB, free: 7.691 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.2858, allocations: 160 / 352 MB, free: 7.691 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001339/0.2872, allocations: 0.8 MB / 352.8 MB, free: 6.871 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.713e-05/0.2873, allocations: 116.6 kB / 353 MB, free: 6.738 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.246e-05/0.2873, allocations: 8 kB / 353 MB, free: 6.73 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002239/0.2876, allocations: 15.98 kB / 353 MB, free: 6.715 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001052/0.2877, allocations: 36.39 kB / 353 MB, free: 6.68 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.058e-05/0.2877, allocations: 15.98 kB / 353 MB, free: 6.664 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001431/0.2879, allocations: 152.1 kB / 353.2 MB, free: 6.516 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2879, allocations: 0 / 353.2 MB, free: 6.516 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0006561/0.2885, allocations: 159.5 kB / 353.3 MB, free: 6.359 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.0002663/0.2888, allocations: 143.2 kB / 353.5 MB, free: 6.211 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001079/0.2899, allocations: 0.5931 MB / 354.1 MB, free: 5.605 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.377e-06/0.2899, allocations: 0.8125 kB / 354.1 MB, free: 5.605 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005814/0.2905, allocations: 381.1 kB / 354.4 MB, free: 5.219 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000505/0.291, allocations: 39.92 kB / 354.5 MB, free: 5.18 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001749/0.2928, allocations: 1.066 MB / 355.6 MB, free: 4.086 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000384/0.2932, allocations: 0.8175 MB / 356.4 MB, free: 3.246 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0002211/0.2934, allocations: 51.27 kB / 356.4 MB, free: 3.195 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.421e-05/0.2935, allocations: 35.42 kB / 356.5 MB, free: 3.16 MB / 286.1 MB Notification: Performance of SimCode: time 3.01e-07/0.2935, allocations: 0 / 356.5 MB, free: 3.16 MB / 286.1 MB Notification: Performance of Templates: time 0.008294/0.3018, allocations: 4.184 MB / 360.6 MB, free: 14.97 MB / 302.1 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)