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.001146/0.001146, allocations: 103.9 kB / 17.06 MB, free: 6.012 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.001212/0.001212, allocations: 195 kB / 18 MB, free: 5.094 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.305/1.305, allocations: 205.1 MB / 223.9 MB, free: 12.25 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.00114/0.00114, allocations: 47.92 kB / 327.9 MB, free: 3.309 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08149/0.08264, allocations: 46.62 MB / 374.5 MB, free: 4.578 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode): time 0.005068/0.08774, allocations: 4.088 MB / 378.6 MB, free: 476 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.1659/0.2536, allocations: 1.635 MB / 380.2 MB, free: 9.688 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002079/0.2539, allocations: 12 kB / 380.2 MB, free: 9.688 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001491/0.2554, allocations: 0.7756 MB / 381 MB, free: 9.578 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001018/0.2564, allocations: 0.5849 MB / 381.6 MB, free: 9.43 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009602/0.2574, allocations: 0.5446 MB / 382.1 MB, free: 9.34 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007267/0.2581, allocations: 0.5889 MB / 382.7 MB, free: 9.215 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007174/0.2589, allocations: 0.5027 MB / 383.2 MB, free: 9.172 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002803/0.2592, allocations: 268.9 kB / 383.5 MB, free: 9.109 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002988/0.2595, allocations: 326 kB / 383.8 MB, free: 8.984 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.023e-05/0.2595, allocations: 55.75 kB / 383.8 MB, free: 8.984 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003896/0.2599, allocations: 246.7 kB / 384.1 MB, free: 8.922 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.344e-05/0.26, allocations: 139.3 kB / 384.2 MB, free: 8.832 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001951/0.2602, allocations: 296.4 kB / 384.5 MB, free: 8.648 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008197/0.2611, allocations: 0.8439 MB / 385.4 MB, free: 8.34 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.2611, allocations: 0 / 385.4 MB, free: 8.34 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.2611, allocations: 0 / 385.4 MB, free: 8.34 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.075e-06/0.2611, allocations: 4 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.001976/0.2631, allocations: 1.007 MB / 386.4 MB, free: 7.676 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.297e-05/0.2631, allocations: 10.66 kB / 386.4 MB, free: 7.676 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004314/0.2674, allocations: 0.6051 MB / 387 MB, free: 7.582 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005573/0.268, allocations: 385.6 kB / 387.4 MB, free: 7.262 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.883e-05/0.268, allocations: 49.16 kB / 387.4 MB, free: 7.238 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.37e-05/0.2681, allocations: 69.12 kB / 387.5 MB, free: 7.215 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001196/0.2694, allocations: 0.7378 MB / 388.2 MB, free: 6.891 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.308e-05/0.2694, allocations: 5 kB / 388.2 MB, free: 6.887 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.111e-05/0.2695, allocations: 27.05 kB / 388.2 MB, free: 6.867 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.37e-05/0.2695, allocations: 15.38 kB / 388.3 MB, free: 6.867 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001276/0.2708, allocations: 0.7215 MB / 389 MB, free: 6.625 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003032/0.2738, allocations: 2.519 MB / 391.5 MB, free: 4.953 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001529/0.2753, allocations: 1.95 MB / 393.5 MB, free: 3.031 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003667/0.2757, allocations: 221.3 kB / 393.7 MB, free: 2.941 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.644e-05/0.2758, allocations: 91.16 kB / 393.8 MB, free: 2.848 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.536e-05/0.2758, allocations: 41.62 kB / 393.8 MB, free: 2.801 MB / 318.1 MB Notification: Performance of pre-optimization done (n=48): time 2.164e-06/0.2758, allocations: 3.984 kB / 393.8 MB, free: 2.797 MB / 318.1 MB Notification: Performance of matching and sorting (n=48): time 0.001608/0.2774, allocations: 0.7099 MB / 394.5 MB, free: 2.453 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.216e-05/0.2775, allocations: 61.09 kB / 394.6 MB, free: 2.387 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003013/0.2778, allocations: 309.4 kB / 394.9 MB, free: 2.211 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.902e-05/0.2778, allocations: 34.92 kB / 394.9 MB, free: 2.172 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001241/0.2779, allocations: 285.6 kB / 395.2 MB, free: 1.941 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.892e-05/0.278, allocations: 169.8 kB / 395.4 MB, free: 1.812 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001441/0.2782, allocations: 108.4 kB / 395.5 MB, free: 1.75 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.981e-05/0.2783, allocations: 346.7 kB / 395.8 MB, free: 1.422 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003521/0.2786, allocations: 178.9 kB / 396 MB, free: 1.352 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004148/0.279, allocations: 341.3 kB / 396.3 MB, free: 1.07 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007721/0.2798, allocations: 0.5464 MB / 396.9 MB, free: 0.6641 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.029e-06/0.2798, allocations: 5.219 kB / 396.9 MB, free: 0.6641 MB / 318.1 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001123/0.281, allocations: 0.6155 MB / 397.5 MB, free: 404 kB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.709e-05/0.281, allocations: 7.5 kB / 397.5 MB, free: 404 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.007e-05/0.281, allocations: 10.31 kB / 397.5 MB, free: 400 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002385/0.2813, allocations: 58.53 kB / 397.5 MB, free: 384 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005074/0.2818, allocations: 132.8 kB / 397.7 MB, free: 368 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001509/0.2833, allocations: 1.776 MB / 399.5 MB, free: 14.68 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004037/0.2837, allocations: 69.45 kB / 399.5 MB, free: 14.64 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.033e-05/0.2838, allocations: 31.22 kB / 399.6 MB, free: 14.63 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004848/0.2843, allocations: 295.2 kB / 399.8 MB, free: 14.46 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004581/0.2847, allocations: 342.6 kB / 400.2 MB, free: 14.18 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008324/0.2856, allocations: 0.534 MB / 400.7 MB, free: 13.78 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.366e-06/0.2856, allocations: 1.375 kB / 400.7 MB, free: 13.78 MB / 334.1 MB Notification: Performance of matching and sorting (n=74) (initialization_lambda0): time 0.001139/0.2867, allocations: 0.6095 MB / 401.3 MB, free: 13.51 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.384e-05/0.2868, allocations: 8.766 kB / 401.3 MB, free: 13.51 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/0.2868, allocations: 5.5 kB / 401.3 MB, free: 13.51 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001787/0.2869, allocations: 63.81 kB / 401.4 MB, free: 13.49 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005049/0.2875, allocations: 127.2 kB / 401.5 MB, free: 13.48 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001519/0.289, allocations: 1.768 MB / 403.3 MB, free: 11.81 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003544/0.2894, allocations: 46.81 kB / 403.3 MB, free: 11.78 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.638e-05/0.2894, allocations: 32.19 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.0001859/0.2896, allocations: 225 kB / 403.6 MB, free: 11.55 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.8e-05/0.2897, allocations: 41.47 kB / 403.6 MB, free: 11.53 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001226/0.2909, allocations: 0.5281 MB / 404.2 MB, free: 11.29 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.544e-06/0.291, allocations: 10.14 kB / 404.2 MB, free: 11.28 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.291, allocations: 5.094 kB / 404.2 MB, free: 11.28 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.195e-06/0.291, allocations: 2.438 kB / 404.2 MB, free: 11.28 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001967/0.293, allocations: 1.149 MB / 405.3 MB, free: 10.62 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/0.293, allocations: 2.578 kB / 405.3 MB, free: 10.62 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003893/0.2934, allocations: 85.33 kB / 405.4 MB, free: 10.61 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001682/0.2935, allocations: 49.95 kB / 405.5 MB, free: 10.59 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.197e-05/0.2936, allocations: 14.06 kB / 405.5 MB, free: 10.58 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001455/0.295, allocations: 1.75 MB / 407.2 MB, free: 8.918 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/0.2951, allocations: 5.469 kB / 407.2 MB, free: 8.914 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001406/0.2965, allocations: 0.7759 MB / 408 MB, free: 8.512 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000161/0.2966, allocations: 154.5 kB / 408.1 MB, free: 8.371 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.563e-05/0.2967, allocations: 7.031 kB / 408.2 MB, free: 8.367 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002743/0.297, allocations: 29.23 kB / 408.2 MB, free: 8.352 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.535e-05/0.2971, allocations: 37.75 kB / 408.2 MB, free: 8.344 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.712e-05/0.2971, allocations: 13.34 kB / 408.2 MB, free: 8.34 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000219/0.2973, allocations: 214.8 kB / 408.4 MB, free: 8.219 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.2973, allocations: 0 / 408.4 MB, free: 8.219 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.001013/0.2984, allocations: 268.2 kB / 408.7 MB, free: 8.145 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.0002252/0.2986, allocations: 136.4 kB / 408.8 MB, free: 8.035 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001784/0.3004, allocations: 0.9807 MB / 409.8 MB, free: 7.547 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.3004, allocations: 1.312 kB / 409.8 MB, free: 7.547 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005852/0.301, allocations: 358.5 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.0004217/0.3014, allocations: 57.27 kB / 410.2 MB, free: 7.312 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001754/0.3032, allocations: 0.9623 MB / 411.2 MB, free: 6.727 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003731/0.3036, allocations: 0.8457 MB / 412 MB, free: 5.957 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0003295/0.3039, allocations: 87.72 kB / 412.1 MB, free: 5.906 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001104/0.304, allocations: 44.27 kB / 412.2 MB, free: 5.891 MB / 334.1 MB Notification: Performance of SimCode: time 3.2e-07/0.304, allocations: 0 / 412.2 MB, free: 5.891 MB / 334.1 MB Notification: Performance of Templates: time 0.009929/0.314, allocations: 5.306 MB / 417.5 MB, free: 2.75 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)