Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.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.ParallelResonance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.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.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001057/0.001057, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001117/0.001117, allocations: 194.3 kB / 16.53 MB, free: 6.664 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.427/1.427, allocations: 205.1 MB / 222.4 MB, free: 4.602 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.001415/0.001415, allocations: 52.34 kB / 278.7 MB, free: 12.35 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2478/0.2493, allocations: 46.64 MB / 325.3 MB, free: 1.973 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance): time 0.004793/0.2541, allocations: 3.741 MB / 329.1 MB, free: 15 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002726/0.2568, allocations: 1.469 MB / 330.5 MB, free: 13.82 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001882/0.2571, allocations: 9.156 kB / 330.5 MB, free: 13.82 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001756/0.2588, allocations: 0.7531 MB / 331.3 MB, free: 13.25 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001221/0.2601, allocations: 0.5659 MB / 331.9 MB, free: 12.82 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008372/0.2609, allocations: 427.6 kB / 332.3 MB, free: 12.51 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005169/0.2614, allocations: 492.1 kB / 332.8 MB, free: 12.23 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007413/0.2622, allocations: 466.7 kB / 333.2 MB, free: 11.95 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003578/0.2626, allocations: 228.1 kB / 333.4 MB, free: 11.82 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000372/0.2629, allocations: 288.9 kB / 333.7 MB, free: 11.61 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 7e-05/0.263, allocations: 48 kB / 333.8 MB, free: 11.56 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004609/0.2635, allocations: 211.8 kB / 334 MB, free: 11.36 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001073/0.2636, allocations: 115.6 kB / 334.1 MB, free: 11.24 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002336/0.2639, allocations: 258.7 kB / 334.3 MB, free: 10.99 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007959/0.2647, allocations: 0.7009 MB / 335 MB, free: 10.29 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.052e-06/0.2647, allocations: 3.984 kB / 335 MB, free: 10.28 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.2647, allocations: 4 kB / 335 MB, free: 10.28 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.007e-05/0.2647, allocations: 0 / 335 MB, free: 10.28 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.002128/0.2668, allocations: 0.9404 MB / 336 MB, free: 9.289 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.379e-05/0.2669, allocations: 11.89 kB / 336 MB, free: 9.277 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004217/0.2711, allocations: 0.5857 MB / 336.6 MB, free: 8.691 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003984/0.2715, allocations: 311.7 kB / 336.9 MB, free: 8.348 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.132e-05/0.2716, allocations: 41.69 kB / 336.9 MB, free: 8.305 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.833e-05/0.2717, allocations: 64.27 kB / 337 MB, free: 8.242 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000949/0.2726, allocations: 0.5725 MB / 337.6 MB, free: 7.668 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.062e-05/0.2727, allocations: 0 / 337.6 MB, free: 7.668 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.864e-05/0.2727, allocations: 24 kB / 337.6 MB, free: 7.645 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.266e-05/0.2727, allocations: 12 kB / 337.6 MB, free: 7.633 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001103/0.2739, allocations: 0.6415 MB / 338.2 MB, free: 6.988 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003022/0.2769, allocations: 2.071 MB / 340.3 MB, free: 4.793 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002456/0.2794, allocations: 2.992 MB / 343.3 MB, free: 1.234 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004456/0.2798, allocations: 274.1 kB / 343.6 MB, free: 0.9648 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.303e-05/0.2799, allocations: 89.53 kB / 343.7 MB, free: 0.8555 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.744e-05/0.28, allocations: 39 kB / 343.7 MB, free: 0.8086 MB / 270.1 MB Notification: Performance of pre-optimization done (n=49): time 3.346e-06/0.28, allocations: 4 kB / 343.7 MB, free: 0.8047 MB / 270.1 MB Notification: Performance of matching and sorting (n=49): time 0.001706/0.2817, allocations: 0.7504 MB / 344.4 MB, free: 28 kB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.649e-05/0.2817, allocations: 59.78 kB / 344.5 MB, free: 15.96 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001941/0.2819, allocations: 204.7 kB / 344.7 MB, free: 15.75 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.049e-05/0.282, allocations: 33.7 kB / 344.7 MB, free: 15.71 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001257/0.2821, allocations: 248.1 kB / 345 MB, free: 15.46 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001064/0.2822, allocations: 165.5 kB / 345.1 MB, free: 15.3 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000138/0.2824, allocations: 102.1 kB / 345.2 MB, free: 15.19 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001039/0.2825, allocations: 338.8 kB / 345.6 MB, free: 14.85 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002996/0.2828, allocations: 157 kB / 345.7 MB, free: 14.7 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003722/0.2832, allocations: 287.6 kB / 346 MB, free: 14.37 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006945/0.2839, allocations: 474.2 kB / 346.5 MB, free: 13.86 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/0.2839, allocations: 4 kB / 346.5 MB, free: 13.85 MB / 286.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001052/0.2849, allocations: 0.5826 MB / 347.1 MB, free: 13.26 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.408e-05/0.285, allocations: 4 kB / 347.1 MB, free: 13.25 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.312e-05/0.285, allocations: 4 kB / 347.1 MB, free: 13.25 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003556/0.2854, allocations: 80.8 kB / 347.1 MB, free: 13.17 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004332/0.2858, allocations: 111.8 kB / 347.3 MB, free: 13.06 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00173/0.2875, allocations: 1.789 MB / 349 MB, free: 11.13 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002987/0.2879, allocations: 51.44 kB / 349.1 MB, free: 11.08 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.652e-05/0.2879, allocations: 28.05 kB / 349.1 MB, free: 11.05 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (60): * Single equations (assignments): 59 * 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,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002138/0.2881, allocations: 169.7 kB / 349.3 MB, free: 10.88 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.512e-05/0.2882, allocations: 27.66 kB / 349.3 MB, free: 10.85 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001092/0.2893, allocations: 0.555 MB / 349.9 MB, free: 10.29 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.172e-06/0.2893, allocations: 4 kB / 349.9 MB, free: 10.28 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.386e-06/0.2893, allocations: 0 / 349.9 MB, free: 10.28 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.089e-05/0.2893, allocations: 7.984 kB / 349.9 MB, free: 10.27 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001733/0.2911, allocations: 1.173 MB / 351.1 MB, free: 9.035 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.497e-06/0.2911, allocations: 0 / 351.1 MB, free: 9.035 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000345/0.2915, allocations: 83.84 kB / 351.1 MB, free: 8.953 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002894/0.2918, allocations: 92.78 kB / 351.2 MB, free: 8.859 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.887e-05/0.2918, allocations: 8 kB / 351.2 MB, free: 8.852 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001625/0.2934, allocations: 1.758 MB / 353 MB, free: 6.957 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.2934, allocations: 4.031 kB / 353 MB, free: 6.953 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001333/0.2948, allocations: 0.818 MB / 353.8 MB, free: 6.109 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.887e-05/0.2949, allocations: 120.6 kB / 353.9 MB, free: 5.973 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.544e-05/0.2949, allocations: 12 kB / 353.9 MB, free: 5.961 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002452/0.2952, allocations: 19.98 kB / 354 MB, free: 5.941 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.675e-05/0.2953, allocations: 40.33 kB / 354 MB, free: 5.902 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.646e-05/0.2953, allocations: 12 kB / 354 MB, free: 5.891 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001252/0.2955, allocations: 151.2 kB / 354.2 MB, free: 5.742 MB / 286.1 MB Notification: Performance of sort global known variables: time 2.6e-07/0.2955, allocations: 3.938 kB / 354.2 MB, free: 5.738 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0005829/0.2961, allocations: 155.7 kB / 354.3 MB, free: 5.586 MB / 286.1 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (46): * Single equations (assignments): 45 * 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,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000223/0.2963, allocations: 131.2 kB / 354.4 MB, free: 5.445 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001218/0.2975, allocations: 0.6134 MB / 355.1 MB, free: 4.82 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.2975, allocations: 0 / 355.1 MB, free: 4.82 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005818/0.2981, allocations: 393 kB / 355.4 MB, free: 4.426 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004181/0.2985, allocations: 31.94 kB / 355.5 MB, free: 4.395 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001485/0.3, allocations: 0.8741 MB / 356.3 MB, free: 3.48 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003456/0.3004, allocations: 0.8171 MB / 357.2 MB, free: 2.641 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0002357/0.3006, allocations: 55.25 kB / 357.2 MB, free: 2.59 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.94e-05/0.3007, allocations: 35.44 kB / 357.3 MB, free: 2.555 MB / 286.1 MB Notification: Performance of SimCode: time 4.71e-07/0.3007, allocations: 0 / 357.3 MB, free: 2.555 MB / 286.1 MB Notification: Performance of Templates: time 0.008634/0.3094, allocations: 4.426 MB / 361.7 MB, free: 14.12 MB / 302.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.makefile (rm -f Modelica_3.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.pipe ; mkfifo Modelica_3.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.pipe >> ../files/Modelica_3.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.sim & ./Modelica_3.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.pipe 2>&1)