Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.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.2.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.2.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.001299/0.001299, 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.001327/0.001327, allocations: 194.4 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.402/1.402, allocations: 205.1 MB / 222.4 MB, free: 4.598 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.001216/0.001216, allocations: 59.91 kB / 278.7 MB, free: 12.34 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2112/0.2124, allocations: 46.63 MB / 325.3 MB, free: 1.859 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode): time 0.005418/0.2178, allocations: 4.091 MB / 329.4 MB, free: 14.61 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002904/0.2208, allocations: 1.648 MB / 331.1 MB, free: 13.29 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002414/0.2211, allocations: 12.53 kB / 331.1 MB, free: 13.29 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001802/0.2229, allocations: 0.7739 MB / 331.8 MB, free: 12.71 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001184/0.2241, allocations: 0.578 MB / 332.4 MB, free: 12.27 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001096/0.2252, allocations: 0.5409 MB / 333 MB, free: 11.86 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006641/0.2258, allocations: 0.5872 MB / 333.5 MB, free: 11.51 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007895/0.2266, allocations: 0.5022 MB / 334 MB, free: 11.16 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003284/0.227, allocations: 258.9 kB / 334.3 MB, free: 10.91 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003306/0.2273, allocations: 326.7 kB / 334.6 MB, free: 10.59 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 7.568e-05/0.2274, allocations: 56 kB / 334.7 MB, free: 10.54 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004488/0.2279, allocations: 247.8 kB / 334.9 MB, free: 10.29 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001023/0.228, allocations: 135.5 kB / 335 MB, free: 10.16 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002445/0.2282, allocations: 302.4 kB / 335.3 MB, free: 9.863 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008363/0.2291, allocations: 0.8294 MB / 336.2 MB, free: 9.031 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/0.2291, allocations: 4 kB / 336.2 MB, free: 9.027 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.2291, allocations: 0 / 336.2 MB, free: 9.027 MB / 270.1 MB Notification: Performance of Transformations before backend: time 8.727e-06/0.2291, allocations: 0 / 336.2 MB, free: 9.027 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.002113/0.2312, allocations: 1.011 MB / 337.2 MB, free: 7.969 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.236e-05/0.2313, allocations: 8.031 kB / 337.2 MB, free: 7.961 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004312/0.2356, allocations: 0.605 MB / 337.8 MB, free: 7.355 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005517/0.2362, allocations: 385.3 kB / 338.2 MB, free: 6.938 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.894e-05/0.2362, allocations: 54.31 kB / 338.2 MB, free: 6.887 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001078/0.2363, allocations: 68.38 kB / 338.3 MB, free: 6.82 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001249/0.2376, allocations: 0.7352 MB / 339 MB, free: 6.07 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.464e-05/0.2376, allocations: 7.891 kB / 339 MB, free: 6.062 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.539e-05/0.2377, allocations: 28 kB / 339.1 MB, free: 6.035 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.506e-05/0.2377, allocations: 16 kB / 339.1 MB, free: 6.02 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001372/0.2391, allocations: 0.7184 MB / 339.8 MB, free: 5.305 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0036/0.2427, allocations: 2.534 MB / 342.3 MB, free: 2.586 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002086/0.2448, allocations: 1.955 MB / 344.3 MB, free: 308 kB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004153/0.2452, allocations: 214.1 kB / 344.5 MB, free: 88 kB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001043/0.2454, allocations: 85.55 kB / 344.6 MB, free: 15.98 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.76e-05/0.2454, allocations: 39 kB / 344.6 MB, free: 15.94 MB / 286.1 MB Notification: Performance of pre-optimization done (n=48): time 2.274e-06/0.2454, allocations: 0 / 344.6 MB, free: 15.94 MB / 286.1 MB Notification: Performance of matching and sorting (n=48): time 0.001762/0.2472, allocations: 0.7152 MB / 345.3 MB, free: 15.2 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.756e-05/0.2472, allocations: 59.78 kB / 345.4 MB, free: 15.12 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003611/0.2476, allocations: 308.4 kB / 345.7 MB, free: 14.82 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.809e-05/0.2476, allocations: 37.7 kB / 345.7 MB, free: 14.77 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001784/0.2478, allocations: 288 kB / 346 MB, free: 14.49 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001183/0.248, allocations: 165.6 kB / 346.2 MB, free: 14.32 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001563/0.2481, allocations: 110.2 kB / 346.3 MB, free: 14.21 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001439/0.2483, allocations: 350.8 kB / 346.6 MB, free: 13.86 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003911/0.2487, allocations: 171.3 kB / 346.8 MB, free: 13.69 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004931/0.2492, allocations: 345.2 kB / 347.1 MB, free: 13.27 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009196/0.2501, allocations: 0.5494 MB / 347.7 MB, free: 12.64 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.678e-06/0.2501, allocations: 0 / 347.7 MB, free: 12.64 MB / 286.1 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001239/0.2514, allocations: 0.6255 MB / 348.3 MB, free: 12 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.1e-05/0.2514, allocations: 8 kB / 348.3 MB, free: 12 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.151e-05/0.2514, allocations: 4 kB / 348.3 MB, free: 11.99 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000266/0.2517, allocations: 60.81 kB / 348.4 MB, free: 11.93 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005108/0.2522, allocations: 131.8 kB / 348.5 MB, free: 11.8 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001735/0.254, allocations: 1.772 MB / 350.3 MB, free: 9.887 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004066/0.2544, allocations: 71.27 kB / 350.3 MB, free: 9.816 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.416e-05/0.2544, allocations: 24 kB / 350.4 MB, free: 9.793 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005028/0.2549, allocations: 297.4 kB / 350.7 MB, free: 9.5 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004452/0.2554, allocations: 345.2 kB / 351 MB, free: 9.086 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008304/0.2562, allocations: 0.5299 MB / 351.5 MB, free: 8.477 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.827e-06/0.2563, allocations: 0 / 351.5 MB, free: 8.477 MB / 286.1 MB Notification: Performance of matching and sorting (n=74) (initialization_lambda0): time 0.001173/0.2575, allocations: 0.6138 MB / 352.1 MB, free: 7.855 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.332e-05/0.2575, allocations: 8 kB / 352.1 MB, free: 7.848 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.083e-06/0.2575, allocations: 7.938 kB / 352.2 MB, free: 7.84 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001808/0.2577, allocations: 60.83 kB / 352.2 MB, free: 7.777 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004677/0.2582, allocations: 127.8 kB / 352.3 MB, free: 7.652 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001575/0.2597, allocations: 1.791 MB / 354.1 MB, free: 5.723 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000361/0.2601, allocations: 47.58 kB / 354.2 MB, free: 5.676 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.331e-05/0.2602, allocations: 31.94 kB / 354.2 MB, free: 5.645 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * 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.0002244/0.2604, allocations: 220 kB / 354.4 MB, free: 5.422 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.512e-05/0.2605, allocations: 35.53 kB / 354.5 MB, free: 5.387 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001198/0.2617, allocations: 0.5361 MB / 355 MB, free: 4.84 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.62e-06/0.2617, allocations: 4 kB / 355 MB, free: 4.836 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.2617, allocations: 4 kB / 355 MB, free: 4.832 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.833e-06/0.2617, allocations: 3.984 kB / 355 MB, free: 4.828 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001834/0.2636, allocations: 1.152 MB / 356.2 MB, free: 3.621 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.2636, allocations: 0 / 356.2 MB, free: 3.621 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003906/0.264, allocations: 83.89 kB / 356.2 MB, free: 3.539 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001979/0.2642, allocations: 48.83 kB / 356.3 MB, free: 3.488 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.242e-05/0.2643, allocations: 15.98 kB / 356.3 MB, free: 3.473 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001611/0.2659, allocations: 1.759 MB / 358.1 MB, free: 1.574 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.724e-06/0.2659, allocations: 0 / 358.1 MB, free: 1.574 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001464/0.2674, allocations: 0.7841 MB / 358.8 MB, free: 0.7695 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001725/0.2676, allocations: 144.7 kB / 359 MB, free: 0.6094 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.774e-05/0.2676, allocations: 11.92 kB / 359 MB, free: 0.5977 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002863/0.2679, allocations: 23.98 kB / 359 MB, free: 0.5742 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.129e-05/0.268, allocations: 40.42 kB / 359.1 MB, free: 0.5352 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.503e-05/0.2681, allocations: 16 kB / 359.1 MB, free: 0.5195 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0002327/0.2683, allocations: 215.1 kB / 359.3 MB, free: 320 kB / 286.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2683, allocations: 0 / 359.3 MB, free: 320 kB / 286.1 MB Notification: Performance of remove unused functions: time 0.001016/0.2693, allocations: 267.1 kB / 359.5 MB, free: 52 kB / 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.0002834/0.2696, allocations: 131.2 kB / 359.7 MB, free: 15.91 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.00208/0.2717, allocations: 1.011 MB / 360.7 MB, free: 14.88 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.96e-06/0.2717, allocations: 0 / 360.7 MB, free: 14.88 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000609/0.2723, allocations: 356.9 kB / 361 MB, free: 14.52 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005162/0.2729, allocations: 44.64 kB / 361.1 MB, free: 14.47 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001827/0.2747, allocations: 0.9762 MB / 362.1 MB, free: 13.46 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004198/0.2751, allocations: 0.833 MB / 362.9 MB, free: 12.61 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0004267/0.2756, allocations: 92.12 kB / 363 MB, free: 12.52 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001119/0.2757, allocations: 39.44 kB / 363 MB, free: 12.48 MB / 302.1 MB Notification: Performance of SimCode: time 2.6e-07/0.2757, allocations: 0 / 363 MB, free: 12.48 MB / 302.1 MB Notification: Performance of Templates: time 0.0108/0.2865, allocations: 5.127 MB / 368.1 MB, free: 7.348 MB / 302.1 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode.sim & ./Modelica_3.2.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode.pipe 2>&1)