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.0008356/0.0008356, allocations: 89.08 kB / 16.31 MB, free: 6.449 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.0008693/0.0008694, allocations: 181.4 kB / 17.21 MB, free: 6.32 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.488/1.488, allocations: 205.4 MB / 223.4 MB, free: 5.738 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.0004746/0.0004749, allocations: 12 kB / 280.1 MB, free: 13.03 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2877/0.2882, allocations: 47.59 MB / 327.7 MB, free: 1.418 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode): time 0.00369/0.2919, allocations: 3.482 MB / 331.2 MB, free: 14.68 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002446/0.2944, allocations: 1.501 MB / 332.7 MB, free: 13.48 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002139/0.2946, allocations: 12.03 kB / 332.7 MB, free: 13.48 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003795/0.295, allocations: 132.8 kB / 332.9 MB, free: 13.38 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001066/0.2961, allocations: 492.3 kB / 333.3 MB, free: 13.02 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000894/0.297, allocations: 435.9 kB / 333.8 MB, free: 12.7 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007284/0.2977, allocations: 0.5246 MB / 334.3 MB, free: 12.38 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001322/0.2991, allocations: 0.7312 MB / 335 MB, free: 11.83 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003455/0.2994, allocations: 205.3 kB / 335.2 MB, free: 11.72 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002968/0.2997, allocations: 273.5 kB / 335.5 MB, free: 11.55 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 5.189e-05/0.2998, allocations: 23.25 kB / 335.5 MB, free: 11.55 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004021/0.3002, allocations: 196.5 kB / 335.7 MB, free: 11.48 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 8.207e-05/0.3003, allocations: 98.12 kB / 335.8 MB, free: 11.4 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 9.593e-05/0.3004, allocations: 122.5 kB / 335.9 MB, free: 11.3 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006227/0.301, allocations: 0.6285 MB / 336.5 MB, free: 10.68 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.301, allocations: 7.938 kB / 336.6 MB, free: 10.67 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.301, allocations: 0 / 336.6 MB, free: 10.67 MB / 270.1 MB Notification: Performance of Transformations before backend: time 7.244e-06/0.3011, allocations: 4 kB / 336.6 MB, free: 10.66 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.002102/0.3032, allocations: 0.9251 MB / 337.5 MB, free: 9.688 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.448e-05/0.3032, allocations: 8.031 kB / 337.5 MB, free: 9.68 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003978/0.3072, allocations: 0.6119 MB / 338.1 MB, free: 9.066 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006253/0.3078, allocations: 368.2 kB / 338.5 MB, free: 8.668 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.868e-05/0.3079, allocations: 61.89 kB / 338.5 MB, free: 8.605 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.742e-05/0.308, allocations: 71.89 kB / 338.6 MB, free: 8.535 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001371/0.3094, allocations: 0.8055 MB / 339.4 MB, free: 7.719 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.153e-05/0.3094, allocations: 3.938 kB / 339.4 MB, free: 7.715 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.192e-05/0.3095, allocations: 24 kB / 339.4 MB, free: 7.691 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.815e-05/0.3095, allocations: 34 kB / 339.5 MB, free: 7.656 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00144/0.311, allocations: 0.8394 MB / 340.3 MB, free: 6.82 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003733/0.3147, allocations: 2.723 MB / 343 MB, free: 3.922 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001917/0.3166, allocations: 1.969 MB / 345 MB, free: 1.617 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004485/0.3171, allocations: 250.1 kB / 345.2 MB, free: 1.371 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.997e-05/0.3172, allocations: 93.47 kB / 345.3 MB, free: 1.262 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.408e-05/0.3172, allocations: 39 kB / 345.4 MB, free: 1.215 MB / 270.1 MB Notification: Performance of pre-optimization done (n=48): time 1.713e-06/0.3173, allocations: 4 kB / 345.4 MB, free: 1.211 MB / 270.1 MB Notification: Performance of matching and sorting (n=48): time 0.001789/0.319, allocations: 0.848 MB / 346.2 MB, free: 340 kB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.463e-05/0.3191, allocations: 55.84 kB / 346.3 MB, free: 272 kB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003552/0.3195, allocations: 312.4 kB / 346.6 MB, free: 15.95 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.264e-05/0.3195, allocations: 29.7 kB / 346.6 MB, free: 15.92 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000181/0.3197, allocations: 296 kB / 346.9 MB, free: 15.62 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001352/0.3198, allocations: 165.6 kB / 347.1 MB, free: 15.46 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.884e-05/0.3199, allocations: 12 kB / 347.1 MB, free: 15.45 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001356/0.32, allocations: 346.8 kB / 347.4 MB, free: 15.1 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004136/0.3204, allocations: 209.2 kB / 347.6 MB, free: 14.9 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005332/0.321, allocations: 394.3 kB / 348 MB, free: 14.43 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004683/0.3214, allocations: 247.7 kB / 348.2 MB, free: 14.18 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/0.3215, allocations: 0 / 348.2 MB, free: 14.18 MB / 286.1 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001267/0.3227, allocations: 0.7046 MB / 348.9 MB, free: 13.47 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001923/0.3229, allocations: 275.2 kB / 349.2 MB, free: 13.11 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.073e-05/0.323, allocations: 4 kB / 349.2 MB, free: 13.11 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002465/0.3232, allocations: 56.83 kB / 349.3 MB, free: 13.05 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005265/0.3237, allocations: 143.8 kB / 349.4 MB, free: 12.91 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001448/0.3252, allocations: 1.588 MB / 351 MB, free: 11.19 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000355/0.3256, allocations: 79.27 kB / 351.1 MB, free: 11.11 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.948e-05/0.3256, allocations: 32 kB / 351.1 MB, free: 11.08 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.576e-06/0.3257, allocations: 7.953 kB / 351.1 MB, free: 11.07 MB / 286.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001114/0.3268, allocations: 0.6488 MB / 351.8 MB, free: 10.42 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/0.3268, allocations: 4 kB / 351.8 MB, free: 10.41 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000151/0.327, allocations: 52.83 kB / 351.8 MB, free: 10.36 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000476/0.3274, allocations: 143.7 kB / 352 MB, free: 10.22 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001215/0.3287, allocations: 1.504 MB / 353.5 MB, free: 8.582 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003023/0.329, allocations: 71.38 kB / 353.5 MB, free: 8.512 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.567e-05/0.329, allocations: 36.14 kB / 353.6 MB, free: 8.477 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.0002953/0.3293, allocations: 260.9 kB / 353.8 MB, free: 8.211 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.938e-05/0.3294, allocations: 39.66 kB / 353.9 MB, free: 8.172 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00123/0.3306, allocations: 0.6257 MB / 354.5 MB, free: 7.531 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.3e-06/0.3307, allocations: 4 kB / 354.5 MB, free: 7.527 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.3307, allocations: 0 / 354.5 MB, free: 7.527 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.903e-06/0.3307, allocations: 7.922 kB / 354.5 MB, free: 7.52 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001937/0.3326, allocations: 1.305 MB / 355.8 MB, free: 6.156 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.395e-06/0.3326, allocations: 0 / 355.8 MB, free: 6.156 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003676/0.333, allocations: 95.81 kB / 355.9 MB, free: 6.062 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000153/0.3332, allocations: 56.83 kB / 356 MB, free: 6.004 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.22e-05/0.3332, allocations: 15.98 kB / 356 MB, free: 5.988 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001435/0.3347, allocations: 1.577 MB / 357.5 MB, free: 4.277 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.3347, allocations: 0 / 357.5 MB, free: 4.277 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001538/0.3362, allocations: 0.9287 MB / 358.5 MB, free: 3.332 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001505/0.3364, allocations: 156.5 kB / 358.6 MB, free: 3.16 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.178e-05/0.3365, allocations: 16.05 kB / 358.6 MB, free: 3.145 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002449/0.3367, allocations: 23.98 kB / 358.7 MB, free: 3.121 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.217e-05/0.3368, allocations: 36.39 kB / 358.7 MB, free: 3.082 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.275e-05/0.3368, allocations: 15.98 kB / 358.7 MB, free: 3.066 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0002631/0.3371, allocations: 211.1 kB / 358.9 MB, free: 2.863 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3371, allocations: 0 / 358.9 MB, free: 2.863 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0008971/0.338, allocations: 271.1 kB / 359.2 MB, free: 2.598 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.0002444/0.3383, allocations: 143.1 kB / 359.3 MB, free: 2.449 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001879/0.3402, allocations: 1.124 MB / 360.4 MB, free: 1.305 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.3402, allocations: 0 / 360.4 MB, free: 1.305 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005502/0.3407, allocations: 393 kB / 360.8 MB, free: 0.9062 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004737/0.3412, allocations: 49.14 kB / 360.9 MB, free: 0.8594 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00199/0.3432, allocations: 1.251 MB / 362.1 MB, free: 15.58 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004762/0.3437, allocations: 0.8447 MB / 363 MB, free: 14.71 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.001521/0.3452, allocations: 1.088 MB / 364.1 MB, free: 13.62 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001296/0.3454, allocations: 43.42 kB / 364.1 MB, free: 13.57 MB / 302.1 MB Notification: Performance of SimCode: time 4.81e-07/0.3454, allocations: 4 kB / 364.1 MB, free: 13.57 MB / 302.1 MB Notification: Performance of Templates: time 0.01028/0.3557, allocations: 5.227 MB / 369.3 MB, free: 8.34 MB / 302.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode.makefile (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)