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.001591/0.001591, 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.001175/0.001175, allocations: 198.2 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.388/1.388, allocations: 205.1 MB / 222 MB, free: 4.75 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.001205/0.001205, allocations: 48.39 kB / 278 MB, free: 12.77 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2282/0.2294, allocations: 46.63 MB / 324.7 MB, free: 2.16 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance): time 0.004569/0.234, allocations: 3.759 MB / 328.4 MB, free: 15.18 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002811/0.2369, allocations: 1.469 MB / 329.9 MB, free: 14.01 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001656/0.2371, allocations: 12.16 kB / 329.9 MB, free: 14.01 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001594/0.2387, allocations: 0.7076 MB / 330.6 MB, free: 13.49 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00115/0.2399, allocations: 0.5259 MB / 331.1 MB, free: 13.1 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008746/0.2407, allocations: 399.5 kB / 331.5 MB, free: 12.81 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005271/0.2413, allocations: 469.2 kB / 332 MB, free: 12.55 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006839/0.242, allocations: 426.8 kB / 332.4 MB, free: 12.27 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003041/0.2423, allocations: 215.8 kB / 332.6 MB, free: 12.15 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003099/0.2426, allocations: 277 kB / 332.9 MB, free: 11.98 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 6.443e-05/0.2427, allocations: 35.81 kB / 332.9 MB, free: 11.98 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004116/0.2431, allocations: 204.9 kB / 333.1 MB, free: 11.83 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 9.003e-05/0.2432, allocations: 103.6 kB / 333.2 MB, free: 11.73 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002292/0.2434, allocations: 238.7 kB / 333.5 MB, free: 11.5 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007391/0.2442, allocations: 0.6931 MB / 334.2 MB, free: 10.8 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.2442, allocations: 3.938 kB / 334.2 MB, free: 10.8 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.2442, allocations: 4 kB / 334.2 MB, free: 10.79 MB / 270.1 MB Notification: Performance of Transformations before backend: time 6.041e-06/0.2442, allocations: 0 / 334.2 MB, free: 10.79 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.002081/0.2463, allocations: 0.9404 MB / 335.1 MB, free: 9.805 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.09e-05/0.2463, allocations: 12.03 kB / 335.1 MB, free: 9.793 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004234/0.2506, allocations: 0.5857 MB / 335.7 MB, free: 9.207 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003962/0.251, allocations: 323.6 kB / 336 MB, free: 8.852 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.918e-05/0.251, allocations: 41.69 kB / 336.1 MB, free: 8.809 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001009/0.2512, allocations: 68.22 kB / 336.1 MB, free: 8.742 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001037/0.2522, allocations: 0.5765 MB / 336.7 MB, free: 8.16 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.02e-05/0.2522, allocations: 0 / 336.7 MB, free: 8.16 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.633e-05/0.2523, allocations: 24 kB / 336.7 MB, free: 8.137 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.361e-05/0.2523, allocations: 16 kB / 336.7 MB, free: 8.121 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001153/0.2535, allocations: 0.6453 MB / 337.4 MB, free: 7.477 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003237/0.2567, allocations: 2.051 MB / 339.4 MB, free: 5.301 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002668/0.2594, allocations: 3 MB / 342.4 MB, free: 1.738 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004875/0.2599, allocations: 270.1 kB / 342.7 MB, free: 1.473 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.262e-05/0.26, allocations: 93.53 kB / 342.8 MB, free: 1.359 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.993e-05/0.26, allocations: 39 kB / 342.8 MB, free: 1.312 MB / 270.1 MB Notification: Performance of pre-optimization done (n=49): time 2.244e-06/0.2601, allocations: 0 / 342.8 MB, free: 1.312 MB / 270.1 MB Notification: Performance of matching and sorting (n=49): time 0.001731/0.2618, allocations: 0.7505 MB / 343.6 MB, free: 0.5352 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.028e-05/0.2618, allocations: 59.78 kB / 343.6 MB, free: 476 kB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002011/0.2621, allocations: 208.7 kB / 343.8 MB, free: 256 kB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 3.136e-05/0.2621, allocations: 29.7 kB / 343.9 MB, free: 220 kB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001469/0.2622, allocations: 240.3 kB / 344.1 MB, free: 15.97 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001204/0.2624, allocations: 165.5 kB / 344.3 MB, free: 15.81 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001373/0.2625, allocations: 102.1 kB / 344.4 MB, free: 15.7 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001261/0.2627, allocations: 338.8 kB / 344.7 MB, free: 15.36 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003141/0.263, allocations: 157 kB / 344.9 MB, free: 15.21 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003938/0.2634, allocations: 279.7 kB / 345.1 MB, free: 14.89 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007481/0.2641, allocations: 486.2 kB / 345.6 MB, free: 14.36 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.2642, allocations: 0 / 345.6 MB, free: 14.36 MB / 286.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001089/0.2652, allocations: 0.5826 MB / 346.2 MB, free: 13.77 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.1e-05/0.2653, allocations: 8 kB / 346.2 MB, free: 13.76 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.073e-05/0.2653, allocations: 0 / 346.2 MB, free: 13.76 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003591/0.2657, allocations: 84.8 kB / 346.3 MB, free: 13.68 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000427/0.2661, allocations: 119.8 kB / 346.4 MB, free: 13.56 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001655/0.2678, allocations: 1.644 MB / 348 MB, free: 11.78 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000309/0.2681, allocations: 51.52 kB / 348.1 MB, free: 11.73 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.324e-05/0.2681, allocations: 24 kB / 348.1 MB, free: 11.71 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.0001887/0.2683, allocations: 169.7 kB / 348.3 MB, free: 11.53 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.287e-05/0.2684, allocations: 27.62 kB / 348.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001083/0.2695, allocations: 0.5552 MB / 348.9 MB, free: 10.94 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.457e-06/0.2695, allocations: 11.94 kB / 348.9 MB, free: 10.93 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/0.2695, allocations: 0 / 348.9 MB, free: 10.93 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.452e-06/0.2695, allocations: 4 kB / 348.9 MB, free: 10.93 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00168/0.2712, allocations: 1.181 MB / 350.1 MB, free: 9.68 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/0.2712, allocations: 0 / 350.1 MB, free: 9.68 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003472/0.2716, allocations: 87.83 kB / 350.1 MB, free: 9.594 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002755/0.2719, allocations: 84.84 kB / 350.2 MB, free: 9.508 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.168e-05/0.2719, allocations: 12 kB / 350.2 MB, free: 9.496 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001517/0.2734, allocations: 1.64 MB / 351.9 MB, free: 7.727 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/0.2735, allocations: 3.938 kB / 351.9 MB, free: 7.723 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001304/0.2748, allocations: 0.8179 MB / 352.7 MB, free: 6.879 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.669e-05/0.2749, allocations: 108.7 kB / 352.8 MB, free: 6.754 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.717e-05/0.2749, allocations: 12 kB / 352.8 MB, free: 6.742 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002415/0.2752, allocations: 20.06 kB / 352.8 MB, free: 6.723 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.313e-05/0.2753, allocations: 44.31 kB / 352.9 MB, free: 6.68 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.768e-05/0.2753, allocations: 12 kB / 352.9 MB, free: 6.668 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001252/0.2754, allocations: 151.2 kB / 353 MB, free: 6.52 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.2754, allocations: 0 / 353 MB, free: 6.52 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0005196/0.276, allocations: 147.6 kB / 353.2 MB, free: 6.375 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.000245/0.2762, allocations: 143.2 kB / 353.3 MB, free: 6.223 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001057/0.2773, allocations: 0.6009 MB / 353.9 MB, free: 5.609 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.2773, allocations: 0 / 353.9 MB, free: 5.609 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005897/0.2779, allocations: 390 kB / 354.3 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.0004514/0.2784, allocations: 31.95 kB / 354.3 MB, free: 5.188 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001663/0.28, allocations: 1.084 MB / 355.4 MB, free: 4.066 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003597/0.2804, allocations: 0.8136 MB / 356.2 MB, free: 3.227 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0002295/0.2806, allocations: 55.25 kB / 356.3 MB, free: 3.176 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.768e-05/0.2807, allocations: 35.44 kB / 356.3 MB, free: 3.141 MB / 286.1 MB Notification: Performance of SimCode: time 3.31e-07/0.2808, allocations: 0 / 356.3 MB, free: 3.141 MB / 286.1 MB Notification: Performance of Templates: time 0.008594/0.2894, allocations: 4.177 MB / 360.5 MB, free: 14.96 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)