Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode.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.SeriesBode,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode") translateModel(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001047/0.001047, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.008289/0.008289, allocations: 168.9 kB / 16.26 MB, free: 6.648 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.431/1.431, allocations: 205.4 MB / 222.5 MB, free: 5.793 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.0006362/0.0006362, allocations: 12 kB / 279.5 MB, free: 12.74 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2221/0.2227, allocations: 47.58 MB / 327 MB, free: 1.387 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode): time 0.00367/0.2264, allocations: 3.683 MB / 330.7 MB, free: 14.46 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002993/0.2295, allocations: 1.607 MB / 332.3 MB, free: 13.18 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005495/0.23, allocations: 11.47 kB / 332.3 MB, free: 13.18 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000759/0.2308, allocations: 189.3 kB / 332.5 MB, free: 13.06 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001846/0.2327, allocations: 0.5172 MB / 333 MB, free: 12.68 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001223/0.2339, allocations: 0.5136 MB / 333.6 MB, free: 12.3 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008857/0.2348, allocations: 0.5489 MB / 334.1 MB, free: 11.98 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001673/0.2365, allocations: 0.8111 MB / 334.9 MB, free: 11.37 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00052/0.237, allocations: 217 kB / 335.1 MB, free: 11.25 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004401/0.2375, allocations: 282.8 kB / 335.4 MB, free: 10.99 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 9.001e-05/0.2376, allocations: 24 kB / 335.4 MB, free: 10.96 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000552/0.2381, allocations: 207.8 kB / 335.6 MB, free: 10.76 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 9.085e-05/0.2382, allocations: 107.5 kB / 335.7 MB, free: 10.66 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002813/0.2385, allocations: 276.2 kB / 336 MB, free: 10.38 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001098/0.2396, allocations: 0.8032 MB / 336.8 MB, free: 9.574 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.2396, allocations: 0 / 336.8 MB, free: 9.574 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.2397, allocations: 0 / 336.8 MB, free: 9.574 MB / 270.1 MB Notification: Performance of Transformations before backend: time 2.817e-05/0.2397, allocations: 0 / 336.8 MB, free: 9.574 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: 171 * Number of variables: 171 Notification: Performance of Generate backend data structure: time 0.002745/0.2424, allocations: 0.9291 MB / 337.7 MB, free: 8.594 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.657e-05/0.2425, allocations: 8.031 kB / 337.7 MB, free: 8.586 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00433/0.2468, allocations: 0.605 MB / 338.3 MB, free: 7.98 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000629/0.2475, allocations: 381.3 kB / 338.7 MB, free: 7.57 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.319e-05/0.2475, allocations: 50.38 kB / 338.8 MB, free: 7.52 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001344/0.2477, allocations: 68.38 kB / 338.8 MB, free: 7.453 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001433/0.2491, allocations: 0.8132 MB / 339.6 MB, free: 6.629 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.78e-05/0.2492, allocations: 3.906 kB / 339.7 MB, free: 6.625 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.686e-05/0.2492, allocations: 27.98 kB / 339.7 MB, free: 6.598 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.502e-05/0.2493, allocations: 30 kB / 339.7 MB, free: 6.566 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001592/0.2509, allocations: 0.8511 MB / 340.6 MB, free: 5.719 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004045/0.2549, allocations: 2.731 MB / 343.3 MB, free: 2.809 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001977/0.2569, allocations: 1.973 MB / 345.3 MB, free: 0.5 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004469/0.2574, allocations: 250.1 kB / 345.5 MB, free: 260 kB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.153e-05/0.2575, allocations: 93.53 kB / 345.6 MB, free: 148 kB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.294e-05/0.2575, allocations: 39 kB / 345.6 MB, free: 100 kB / 270.1 MB Notification: Performance of pre-optimization done (n=48): time 1.954e-06/0.2575, allocations: 0 / 345.6 MB, free: 100 kB / 270.1 MB Notification: Performance of matching and sorting (n=48): time 0.001902/0.2594, allocations: 0.8444 MB / 346.5 MB, free: 15.22 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.214e-05/0.2595, allocations: 63.78 kB / 346.5 MB, free: 15.15 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003118/0.2598, allocations: 312.4 kB / 346.8 MB, free: 14.83 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.985e-05/0.2598, allocations: 33.7 kB / 346.9 MB, free: 14.79 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001817/0.26, allocations: 291.7 kB / 347.2 MB, free: 14.5 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001302/0.2602, allocations: 165.6 kB / 347.3 MB, free: 14.34 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.068e-05/0.2602, allocations: 57.62 kB / 347.4 MB, free: 14.28 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001262/0.2604, allocations: 346.8 kB / 347.7 MB, free: 13.93 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004268/0.2608, allocations: 209.2 kB / 347.9 MB, free: 13.73 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005329/0.2614, allocations: 390.3 kB / 348.3 MB, free: 13.26 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009829/0.2623, allocations: 0.6311 MB / 348.9 MB, free: 12.55 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.2624, allocations: 0 / 348.9 MB, free: 12.55 MB / 286.1 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001486/0.2639, allocations: 0.7119 MB / 349.7 MB, free: 11.82 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001778/0.264, allocations: 267.8 kB / 349.9 MB, free: 11.48 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.218e-05/0.2641, allocations: 4 kB / 349.9 MB, free: 11.47 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002389/0.2643, allocations: 68.77 kB / 350 MB, free: 11.4 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005142/0.2648, allocations: 135.8 kB / 350.1 MB, free: 11.27 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001445/0.2663, allocations: 1.592 MB / 351.7 MB, free: 9.543 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003991/0.2667, allocations: 83.2 kB / 351.8 MB, free: 9.461 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.449e-05/0.2668, allocations: 28 kB / 351.8 MB, free: 9.434 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.013e-06/0.2668, allocations: 8.062 kB / 351.8 MB, free: 9.426 MB / 286.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001163/0.2679, allocations: 0.6443 MB / 352.5 MB, free: 8.777 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.016e-05/0.268, allocations: 8 kB / 352.5 MB, free: 8.77 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000153/0.2681, allocations: 61.27 kB / 352.5 MB, free: 8.707 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000469/0.2686, allocations: 135.8 kB / 352.7 MB, free: 8.574 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001245/0.2699, allocations: 1.503 MB / 354.2 MB, free: 6.938 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003407/0.2702, allocations: 75.3 kB / 354.2 MB, free: 6.863 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.62e-05/0.2703, allocations: 27.98 kB / 354.3 MB, free: 6.836 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * 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 (69): * Single equations (assignments): 68 * 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 {(1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000282/0.2706, allocations: 269 kB / 354.5 MB, free: 6.562 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.443e-05/0.2706, allocations: 31.62 kB / 354.6 MB, free: 6.531 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001285/0.2719, allocations: 0.6219 MB / 355.2 MB, free: 5.895 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.233e-06/0.272, allocations: 8 kB / 355.2 MB, free: 5.887 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.272, allocations: 0 / 355.2 MB, free: 5.887 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.143e-06/0.272, allocations: 8.172 kB / 355.2 MB, free: 5.879 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001975/0.274, allocations: 1.305 MB / 356.5 MB, free: 4.516 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-06/0.274, allocations: 4 kB / 356.5 MB, free: 4.512 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003938/0.2744, allocations: 95.88 kB / 356.6 MB, free: 4.418 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001617/0.2745, allocations: 44.83 kB / 356.7 MB, free: 4.371 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.518e-05/0.2746, allocations: 19.98 kB / 356.7 MB, free: 4.352 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001295/0.2759, allocations: 1.592 MB / 358.3 MB, free: 2.625 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.2759, allocations: 0 / 358.3 MB, free: 2.625 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001567/0.2775, allocations: 0.9326 MB / 359.2 MB, free: 1.676 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001732/0.2777, allocations: 152.5 kB / 359.3 MB, free: 1.508 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.944e-05/0.2777, allocations: 15.98 kB / 359.4 MB, free: 1.492 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002888/0.278, allocations: 32.11 kB / 359.4 MB, free: 1.461 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.349e-05/0.2781, allocations: 40.33 kB / 359.4 MB, free: 1.422 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.352e-05/0.2782, allocations: 15.98 kB / 359.4 MB, free: 1.406 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0002135/0.2784, allocations: 211.1 kB / 359.7 MB, free: 1.203 MB / 286.1 MB Notification: Performance of sort global known variables: time 3.1e-07/0.2784, allocations: 0 / 359.7 MB, free: 1.203 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0009803/0.2794, allocations: 271.1 kB / 359.9 MB, free: 0.9375 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 (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 {(1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002356/0.2796, allocations: 131.2 kB / 360 MB, free: 0.8008 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.002064/0.2817, allocations: 1.144 MB / 361.2 MB, free: 15.63 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.055e-06/0.2817, allocations: 320 / 361.2 MB, free: 15.63 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006258/0.2824, allocations: 397 kB / 361.6 MB, free: 15.23 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000451/0.2828, allocations: 44.64 kB / 361.6 MB, free: 15.18 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002066/0.2849, allocations: 1.295 MB / 362.9 MB, free: 13.86 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00043/0.2853, allocations: 0.8447 MB / 363.8 MB, free: 12.99 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.00141/0.2868, allocations: 1.095 MB / 364.9 MB, free: 11.89 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001519/0.2869, allocations: 43.42 kB / 364.9 MB, free: 11.85 MB / 302.1 MB Notification: Performance of SimCode: time 6.52e-07/0.2869, allocations: 0 / 364.9 MB, free: 11.85 MB / 302.1 MB Notification: Performance of Templates: time 0.01182/0.2987, allocations: 5.369 MB / 370.3 MB, free: 6.48 MB / 302.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode.makefile (rm -f Modelica_3.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode.pipe ; mkfifo Modelica_3.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode.pipe >> ../files/Modelica_3.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode.sim & ./Modelica_3.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode.pipe 2>&1)