Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_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.2.2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode") translateModel(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_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.001258/0.001258, allocations: 94.14 kB / 16.3 MB, free: 5.996 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.001373/0.001373, allocations: 181.1 kB / 17.2 MB, free: 5.914 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.437/1.437, allocations: 205.4 MB / 223.4 MB, free: 5.562 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.000449/0.000449, allocations: 14.81 kB / 280.1 MB, free: 12.85 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2378/0.2383, allocations: 47.58 MB / 327.7 MB, free: 1.43 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode): time 0.003944/0.2423, allocations: 3.332 MB / 331 MB, free: 14.84 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.003237/0.2456, allocations: 1.504 MB / 332.5 MB, free: 13.64 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000309/0.2459, allocations: 12.28 kB / 332.6 MB, free: 13.64 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004489/0.2464, allocations: 139.5 kB / 332.7 MB, free: 13.54 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00132/0.2477, allocations: 0.496 MB / 333.2 MB, free: 13.16 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001011/0.2487, allocations: 439.1 kB / 333.6 MB, free: 12.84 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006781/0.2494, allocations: 392.2 kB / 334 MB, free: 12.6 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001381/0.2508, allocations: 0.707 MB / 334.7 MB, free: 12.07 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003677/0.2512, allocations: 210.3 kB / 334.9 MB, free: 11.96 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003379/0.2515, allocations: 264.5 kB / 335.2 MB, free: 11.79 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 5.795e-05/0.2516, allocations: 23.47 kB / 335.2 MB, free: 11.79 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005334/0.2521, allocations: 179 kB / 335.4 MB, free: 11.72 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001071/0.2523, allocations: 98.61 kB / 335.5 MB, free: 11.64 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001174/0.2524, allocations: 119.1 kB / 335.6 MB, free: 11.56 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007415/0.2531, allocations: 0.6315 MB / 336.2 MB, free: 10.98 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.294e-06/0.2531, allocations: 0 / 336.2 MB, free: 10.98 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.2531, allocations: 0 / 336.2 MB, free: 10.98 MB / 270.1 MB Notification: Performance of Transformations before backend: time 8.766e-06/0.2532, allocations: 0 / 336.2 MB, free: 10.98 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.002286/0.2555, allocations: 0.9251 MB / 337.1 MB, free: 10 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.704e-05/0.2555, allocations: 12.03 kB / 337.1 MB, free: 9.992 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004279/0.2598, allocations: 0.608 MB / 337.8 MB, free: 9.383 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006206/0.2604, allocations: 364.2 kB / 338.1 MB, free: 8.988 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.553e-05/0.2605, allocations: 53.95 kB / 338.2 MB, free: 8.934 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001357/0.2607, allocations: 75.91 kB / 338.2 MB, free: 8.859 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001411/0.2621, allocations: 0.8016 MB / 339 MB, free: 8.047 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.341e-05/0.2621, allocations: 0 / 339 MB, free: 8.047 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001197/0.2622, allocations: 28 kB / 339.1 MB, free: 8.02 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.115e-05/0.2623, allocations: 26 kB / 339.1 MB, free: 7.992 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001445/0.2637, allocations: 0.8433 MB / 339.9 MB, free: 7.152 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00404/0.2678, allocations: 2.731 MB / 342.7 MB, free: 4.246 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002044/0.2699, allocations: 1.977 MB / 344.6 MB, free: 1.934 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.839e-05/0.27, allocations: 89.55 kB / 344.7 MB, free: 1.828 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.578e-05/0.27, allocations: 38.94 kB / 344.8 MB, free: 1.781 MB / 270.1 MB Notification: Performance of pre-optimization done (n=48): time 2.615e-06/0.27, allocations: 0 / 344.8 MB, free: 1.781 MB / 270.1 MB Notification: Performance of matching and sorting (n=48): time 0.001838/0.2719, allocations: 0.8445 MB / 345.6 MB, free: 0.9102 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.882e-05/0.2719, allocations: 55.84 kB / 345.7 MB, free: 0.8438 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000322/0.2722, allocations: 312.4 kB / 346 MB, free: 0.5312 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 4.005e-05/0.2723, allocations: 33.7 kB / 346 MB, free: 0.4922 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001782/0.2725, allocations: 288 kB / 346.3 MB, free: 212 kB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001472/0.2726, allocations: 173.6 kB / 346.5 MB, free: 36 kB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.096e-05/0.2727, allocations: 12 kB / 346.5 MB, free: 24 kB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001517/0.2728, allocations: 346.8 kB / 346.8 MB, free: 15.68 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004059/0.2732, allocations: 205.2 kB / 347 MB, free: 15.48 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005177/0.2738, allocations: 394.2 kB / 347.4 MB, free: 15 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004708/0.2742, allocations: 251.6 kB / 347.6 MB, free: 14.76 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.603e-06/0.2743, allocations: 7.938 kB / 347.6 MB, free: 14.75 MB / 286.1 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001253/0.2755, allocations: 0.7042 MB / 348.3 MB, free: 14.04 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0009943/0.2765, allocations: 2.355 MB / 350.7 MB, free: 11.5 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.193e-05/0.2765, allocations: 8 kB / 350.7 MB, free: 11.49 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002834/0.2768, allocations: 56.83 kB / 350.8 MB, free: 11.43 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005091/0.2774, allocations: 139.8 kB / 350.9 MB, free: 11.29 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001541/0.2789, allocations: 1.604 MB / 352.5 MB, free: 9.555 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003974/0.2793, allocations: 83.27 kB / 352.6 MB, free: 9.473 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.464e-05/0.2794, allocations: 28 kB / 352.6 MB, free: 9.445 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.286e-06/0.2794, allocations: 4 kB / 352.6 MB, free: 9.441 MB / 286.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001164/0.2806, allocations: 0.6411 MB / 353.3 MB, free: 8.797 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.113e-05/0.2806, allocations: 20.11 kB / 353.3 MB, free: 8.777 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001515/0.2807, allocations: 56.77 kB / 353.3 MB, free: 8.719 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004791/0.2812, allocations: 135.8 kB / 353.5 MB, free: 8.586 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001286/0.2825, allocations: 1.523 MB / 355 MB, free: 6.926 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003324/0.2829, allocations: 59.38 kB / 355 MB, free: 6.867 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.681e-05/0.2829, allocations: 35.98 kB / 355.1 MB, free: 6.832 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003435/0.2833, allocations: 268.9 kB / 355.3 MB, free: 6.559 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.291e-05/0.2834, allocations: 35.58 kB / 355.4 MB, free: 6.523 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001291/0.2847, allocations: 0.618 MB / 356 MB, free: 5.891 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.344e-06/0.2847, allocations: 12 kB / 356 MB, free: 5.879 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.366e-06/0.2847, allocations: 0 / 356 MB, free: 5.879 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.923e-06/0.2847, allocations: 3.984 kB / 356 MB, free: 5.875 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001974/0.2867, allocations: 1.297 MB / 357.3 MB, free: 4.523 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.507e-06/0.2867, allocations: 4.375 kB / 357.3 MB, free: 4.52 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004031/0.2871, allocations: 91.88 kB / 357.4 MB, free: 4.43 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001733/0.2873, allocations: 56.83 kB / 357.5 MB, free: 4.371 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.576e-05/0.2873, allocations: 15.98 kB / 357.5 MB, free: 4.355 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001353/0.2887, allocations: 1.592 MB / 359.1 MB, free: 2.629 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.2887, allocations: 3.938 kB / 359.1 MB, free: 2.625 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001565/0.2903, allocations: 0.9364 MB / 360 MB, free: 1.668 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001759/0.2905, allocations: 152.5 kB / 360.2 MB, free: 1.5 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.339e-05/0.2905, allocations: 8 kB / 360.2 MB, free: 1.492 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002696/0.2908, allocations: 28.05 kB / 360.2 MB, free: 1.465 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.069e-05/0.2909, allocations: 36.39 kB / 360.2 MB, free: 1.43 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.382e-05/0.291, allocations: 15.98 kB / 360.2 MB, free: 1.414 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0002152/0.2912, allocations: 215.1 kB / 360.5 MB, free: 1.207 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.2912, allocations: 0 / 360.5 MB, free: 1.207 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.001045/0.2923, allocations: 271.1 kB / 360.7 MB, free: 0.9414 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002791/0.2925, allocations: 147.3 kB / 360.9 MB, free: 0.7891 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.002033/0.2946, allocations: 1.116 MB / 362 MB, free: 15.65 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.456e-06/0.2946, allocations: 0 / 362 MB, free: 15.65 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006096/0.2952, allocations: 393 kB / 362.4 MB, free: 15.25 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003436/0.2956, allocations: 40.59 kB / 362.4 MB, free: 15.21 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001898/0.2975, allocations: 1.216 MB / 363.6 MB, free: 13.96 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004415/0.2979, allocations: 0.8486 MB / 364.5 MB, free: 13.09 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.001403/0.2993, allocations: 1.095 MB / 365.6 MB, free: 11.99 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001297/0.2995, allocations: 51.41 kB / 365.6 MB, free: 11.94 MB / 302.1 MB Notification: Performance of SimCode: time 4.41e-07/0.2995, allocations: 0 / 365.6 MB, free: 11.94 MB / 302.1 MB Notification: Performance of Templates: time 0.01061/0.3101, allocations: 5.213 MB / 370.8 MB, free: 6.73 MB / 302.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode.makefile Environment - environmentSimulation: (rm -f Modelica_3.2.2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode.sim & ./Modelica_3.2.2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode.pipe 2>&1) Environment - environmentSimulation: