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.001191/0.001191, allocations: 110.3 kB / 17.06 MB, free: 6.137 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.00117/0.00117, allocations: 191 kB / 18 MB, free: 5.219 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.33/1.33, allocations: 205.1 MB / 223.9 MB, free: 12.23 MB / 190.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.001262/0.001262, allocations: 52.34 kB / 327.9 MB, free: 3.301 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08947/0.09074, allocations: 46.62 MB / 374.5 MB, free: 4.574 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode): time 0.005905/0.09669, allocations: 4.092 MB / 378.6 MB, free: 468 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.1778/0.2745, allocations: 1.639 MB / 380.2 MB, free: 9.711 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007527/0.2754, allocations: 13.89 kB / 380.2 MB, free: 9.711 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00221/0.2776, allocations: 0.7753 MB / 381 MB, free: 9.602 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001719/0.2793, allocations: 0.5818 MB / 381.6 MB, free: 9.457 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001149/0.2805, allocations: 0.5499 MB / 382.1 MB, free: 9.363 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009383/0.2814, allocations: 0.597 MB / 382.7 MB, free: 9.23 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007438/0.2822, allocations: 0.495 MB / 383.2 MB, free: 9.191 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003786/0.2826, allocations: 261.8 kB / 383.5 MB, free: 9.133 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000375/0.283, allocations: 325.5 kB / 383.8 MB, free: 8.988 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 9.085e-05/0.2831, allocations: 56.06 kB / 383.9 MB, free: 8.988 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006601/0.2837, allocations: 248.2 kB / 384.1 MB, free: 8.922 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001151/0.2839, allocations: 137.7 kB / 384.2 MB, free: 8.836 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002396/0.2841, allocations: 300.5 kB / 384.5 MB, free: 8.648 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001124/0.2852, allocations: 0.8482 MB / 385.4 MB, free: 8.336 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.2852, allocations: 0 / 385.4 MB, free: 8.336 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.923e-06/0.2853, allocations: 0 / 385.4 MB, free: 8.336 MB / 318.1 MB Notification: Performance of Transformations before backend: time 2.104e-05/0.2853, allocations: 1.188 kB / 385.4 MB, free: 8.336 MB / 318.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.00218/0.2875, allocations: 1.004 MB / 386.4 MB, free: 7.676 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.174e-05/0.2875, allocations: 9.656 kB / 386.4 MB, free: 7.676 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004295/0.2918, allocations: 0.6066 MB / 387 MB, free: 7.582 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006515/0.2925, allocations: 390.7 kB / 387.4 MB, free: 7.258 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.429e-05/0.2926, allocations: 56.16 kB / 387.4 MB, free: 7.23 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001108/0.2927, allocations: 67.81 kB / 387.5 MB, free: 7.207 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001345/0.294, allocations: 0.7309 MB / 388.2 MB, free: 6.891 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.068e-05/0.2941, allocations: 1.094 kB / 388.2 MB, free: 6.891 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.094e-05/0.2941, allocations: 35.06 kB / 388.3 MB, free: 6.863 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.908e-05/0.2942, allocations: 15.91 kB / 388.3 MB, free: 6.863 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001477/0.2957, allocations: 0.7174 MB / 389 MB, free: 6.625 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003539/0.2992, allocations: 2.518 MB / 391.5 MB, free: 4.953 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001752/0.301, allocations: 1.951 MB / 393.5 MB, free: 3.031 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004976/0.3015, allocations: 217.5 kB / 393.7 MB, free: 2.945 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001102/0.3016, allocations: 90.61 kB / 393.8 MB, free: 2.852 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.082e-05/0.3017, allocations: 42.25 kB / 393.8 MB, free: 2.805 MB / 318.1 MB Notification: Performance of pre-optimization done (n=48): time 3.647e-06/0.3017, allocations: 3.938 kB / 393.8 MB, free: 2.801 MB / 318.1 MB Notification: Performance of matching and sorting (n=48): time 0.001769/0.3034, allocations: 0.7106 MB / 394.5 MB, free: 2.457 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.55e-05/0.3035, allocations: 64.19 kB / 394.6 MB, free: 2.387 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003656/0.3039, allocations: 311.9 kB / 394.9 MB, free: 2.207 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.579e-05/0.3039, allocations: 33.23 kB / 394.9 MB, free: 2.172 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001651/0.3041, allocations: 292.5 kB / 395.2 MB, free: 1.938 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001097/0.3042, allocations: 167.6 kB / 395.4 MB, free: 1.809 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000175/0.3044, allocations: 108.4 kB / 395.5 MB, free: 1.746 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 9.407e-05/0.3045, allocations: 347.3 kB / 395.8 MB, free: 1.418 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003846/0.3049, allocations: 169.7 kB / 396 MB, free: 1.355 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004615/0.3053, allocations: 348.8 kB / 396.3 MB, free: 1.066 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008397/0.3062, allocations: 0.5392 MB / 396.9 MB, free: 0.668 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.153e-06/0.3062, allocations: 2.281 kB / 396.9 MB, free: 0.668 MB / 318.1 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001228/0.3074, allocations: 0.6266 MB / 397.5 MB, free: 400 kB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.633e-05/0.3075, allocations: 7.672 kB / 397.5 MB, free: 400 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.313e-05/0.3075, allocations: 6.469 kB / 397.5 MB, free: 400 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002916/0.3078, allocations: 54.91 kB / 397.6 MB, free: 384 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004984/0.3083, allocations: 132.5 kB / 397.7 MB, free: 368 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001543/0.3099, allocations: 1.78 MB / 399.5 MB, free: 14.68 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000488/0.3104, allocations: 69.53 kB / 399.5 MB, free: 14.64 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.145e-05/0.3104, allocations: 26.42 kB / 399.6 MB, free: 14.63 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005854/0.311, allocations: 297.1 kB / 399.8 MB, free: 14.46 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005501/0.3116, allocations: 340.1 kB / 400.2 MB, free: 14.18 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009196/0.3125, allocations: 0.5307 MB / 400.7 MB, free: 13.78 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.44e-06/0.3125, allocations: 2.75 kB / 400.7 MB, free: 13.78 MB / 334.1 MB Notification: Performance of matching and sorting (n=74) (initialization_lambda0): time 0.001371/0.3139, allocations: 0.6092 MB / 401.3 MB, free: 13.52 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.728e-05/0.3139, allocations: 8.344 kB / 401.3 MB, free: 13.52 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.26e-05/0.314, allocations: 9.5 kB / 401.3 MB, free: 13.51 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002167/0.3142, allocations: 63.69 kB / 401.4 MB, free: 13.49 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004805/0.3147, allocations: 126.7 kB / 401.5 MB, free: 13.48 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001694/0.3164, allocations: 1.776 MB / 403.3 MB, free: 11.8 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004259/0.3168, allocations: 48.19 kB / 403.3 MB, free: 11.78 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.589e-05/0.3169, allocations: 35.23 kB / 403.4 MB, free: 11.77 MB / 334.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.0002756/0.3172, allocations: 217.8 kB / 403.6 MB, free: 11.55 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.505e-05/0.3173, allocations: 37.09 kB / 403.6 MB, free: 11.54 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001296/0.3186, allocations: 0.5239 MB / 404.2 MB, free: 11.29 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.977e-06/0.3186, allocations: 9.984 kB / 404.2 MB, free: 11.29 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.192e-06/0.3186, allocations: 5.141 kB / 404.2 MB, free: 11.29 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.977e-06/0.3186, allocations: 2.672 kB / 404.2 MB, free: 11.29 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001903/0.3205, allocations: 1.149 MB / 405.3 MB, free: 10.62 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.517e-06/0.3206, allocations: 256 / 405.3 MB, free: 10.62 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003957/0.321, allocations: 89.05 kB / 405.4 MB, free: 10.61 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001875/0.3212, allocations: 53.45 kB / 405.5 MB, free: 10.59 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.247e-05/0.3212, allocations: 15.41 kB / 405.5 MB, free: 10.58 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001453/0.3227, allocations: 1.754 MB / 407.2 MB, free: 8.914 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.3227, allocations: 0 / 407.2 MB, free: 8.914 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001418/0.3241, allocations: 0.7808 MB / 408 MB, free: 8.508 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001688/0.3243, allocations: 151.4 kB / 408.2 MB, free: 8.371 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.602e-05/0.3243, allocations: 6.438 kB / 408.2 MB, free: 8.367 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002707/0.3246, allocations: 24.52 kB / 408.2 MB, free: 8.355 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.663e-05/0.3247, allocations: 32.25 kB / 408.2 MB, free: 8.352 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.1e-05/0.3247, allocations: 16.06 kB / 408.2 MB, free: 8.348 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002268/0.325, allocations: 216.9 kB / 408.4 MB, free: 8.223 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.325, allocations: 0 / 408.4 MB, free: 8.223 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.001045/0.326, allocations: 267.8 kB / 408.7 MB, free: 8.148 MB / 334.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.0002276/0.3263, allocations: 143 kB / 408.8 MB, free: 8.035 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001828/0.3281, allocations: 0.9809 MB / 409.8 MB, free: 7.547 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.3281, allocations: 0.5625 kB / 409.8 MB, free: 7.547 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005559/0.3287, allocations: 361.3 kB / 410.2 MB, free: 7.348 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004108/0.3291, allocations: 52.83 kB / 410.2 MB, free: 7.316 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00178/0.3309, allocations: 0.9603 MB / 411.2 MB, free: 6.727 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004302/0.3313, allocations: 0.8464 MB / 412 MB, free: 5.957 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0003528/0.3317, allocations: 88.34 kB / 412.1 MB, free: 5.906 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001156/0.3318, allocations: 51.73 kB / 412.2 MB, free: 5.883 MB / 334.1 MB Notification: Performance of SimCode: time 3.5e-07/0.3318, allocations: 0 / 412.2 MB, free: 5.883 MB / 334.1 MB Notification: Performance of Templates: time 0.011/0.3429, allocations: 5.181 MB / 417.4 MB, free: 2.867 MB / 334.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)