Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.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.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.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.001023/0.001023, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.001155/0.001156, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.462/1.462, allocations: 205.4 MB / 222.1 MB, free: 5.652 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.0004898/0.00049, allocations: 16 kB / 278.9 MB, free: 12.82 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2956/0.2961, allocations: 47.59 MB / 326.5 MB, free: 1.398 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode): time 0.003628/0.2997, allocations: 3.482 MB / 330 MB, free: 14.66 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002732/0.3025, allocations: 1.497 MB / 331.5 MB, free: 13.46 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002359/0.3028, allocations: 11.72 kB / 331.5 MB, free: 13.46 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003943/0.3032, allocations: 141.3 kB / 331.6 MB, free: 13.36 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001149/0.3043, allocations: 483.2 kB / 332.1 MB, free: 13 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009257/0.3053, allocations: 437.4 kB / 332.5 MB, free: 12.68 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007259/0.306, allocations: 0.5278 MB / 333 MB, free: 12.36 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001389/0.3074, allocations: 0.723 MB / 333.8 MB, free: 11.82 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004766/0.3079, allocations: 214 kB / 334 MB, free: 11.7 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004788/0.3084, allocations: 271.9 kB / 334.2 MB, free: 11.54 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001016/0.3085, allocations: 23.56 kB / 334.3 MB, free: 11.54 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005685/0.3091, allocations: 204.2 kB / 334.5 MB, free: 11.45 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001125/0.3092, allocations: 90.81 kB / 334.5 MB, free: 11.38 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001763/0.3094, allocations: 120.4 kB / 334.7 MB, free: 11.26 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007375/0.3101, allocations: 0.6363 MB / 335.3 MB, free: 10.62 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.592e-06/0.3101, allocations: 4 kB / 335.3 MB, free: 10.62 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.552e-06/0.3101, allocations: 3.938 kB / 335.3 MB, free: 10.62 MB / 270.1 MB Notification: Performance of Transformations before backend: time 2.441e-05/0.3102, allocations: 0 / 335.3 MB, free: 10.62 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.002323/0.3125, allocations: 0.929 MB / 336.2 MB, free: 9.637 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.852e-05/0.3125, allocations: 8.031 kB / 336.2 MB, free: 9.629 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004284/0.3168, allocations: 0.6041 MB / 336.8 MB, free: 9.023 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006668/0.3175, allocations: 380.2 kB / 337.2 MB, free: 8.613 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.557e-05/0.3176, allocations: 53.95 kB / 337.3 MB, free: 8.559 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001439/0.3177, allocations: 71.84 kB / 337.3 MB, free: 8.488 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001566/0.3193, allocations: 0.7977 MB / 338.1 MB, free: 7.68 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.874e-05/0.3194, allocations: 4 kB / 338.1 MB, free: 7.676 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.906e-05/0.3194, allocations: 32 kB / 338.2 MB, free: 7.645 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.337e-05/0.3195, allocations: 26 kB / 338.2 MB, free: 7.617 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001616/0.3211, allocations: 0.8433 MB / 339 MB, free: 6.777 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004106/0.3252, allocations: 2.723 MB / 341.8 MB, free: 3.879 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002021/0.3273, allocations: 1.965 MB / 343.7 MB, free: 1.578 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000494/0.3278, allocations: 254.1 kB / 344 MB, free: 1.328 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.784e-05/0.3279, allocations: 93.52 kB / 344.1 MB, free: 1.219 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.057e-05/0.3279, allocations: 43 kB / 344.1 MB, free: 1.168 MB / 270.1 MB Notification: Performance of pre-optimization done (n=48): time 2.655e-06/0.3279, allocations: 0 / 344.1 MB, free: 1.168 MB / 270.1 MB Notification: Performance of matching and sorting (n=48): time 0.001906/0.3298, allocations: 0.8441 MB / 345 MB, free: 300 kB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.839e-05/0.3299, allocations: 55.84 kB / 345 MB, free: 232 kB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003507/0.3302, allocations: 312.4 kB / 345.3 MB, free: 15.91 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.515e-05/0.3303, allocations: 33.7 kB / 345.4 MB, free: 15.88 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001722/0.3305, allocations: 291.6 kB / 345.6 MB, free: 15.59 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001299/0.3306, allocations: 169.6 kB / 345.8 MB, free: 15.42 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.962e-05/0.3306, allocations: 12 kB / 345.8 MB, free: 15.41 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001288/0.3308, allocations: 354.8 kB / 346.2 MB, free: 15.05 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004203/0.3312, allocations: 201.2 kB / 346.4 MB, free: 14.86 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000562/0.3318, allocations: 394.3 kB / 346.7 MB, free: 14.38 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004906/0.3323, allocations: 247.6 kB / 347 MB, free: 14.14 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.184e-06/0.3323, allocations: 7.922 kB / 347 MB, free: 14.13 MB / 286.1 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001358/0.3337, allocations: 0.7006 MB / 347.7 MB, free: 13.42 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002169/0.3339, allocations: 263.4 kB / 347.9 MB, free: 13.08 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.319e-05/0.3339, allocations: 8 kB / 348 MB, free: 13.07 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002737/0.3342, allocations: 64.81 kB / 348 MB, free: 13 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005143/0.3347, allocations: 139.7 kB / 348.2 MB, free: 12.87 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00158/0.3363, allocations: 1.581 MB / 349.7 MB, free: 11.15 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004319/0.3368, allocations: 79.33 kB / 349.8 MB, free: 11.07 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.486e-05/0.3368, allocations: 31.98 kB / 349.8 MB, free: 11.04 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.678e-06/0.3368, allocations: 7.953 kB / 349.9 MB, free: 11.04 MB / 286.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001244/0.3381, allocations: 0.6563 MB / 350.5 MB, free: 10.38 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.592e-05/0.3381, allocations: 8 kB / 350.5 MB, free: 10.37 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001589/0.3383, allocations: 52.83 kB / 350.6 MB, free: 10.31 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004878/0.3388, allocations: 135.8 kB / 350.7 MB, free: 10.18 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0014/0.3402, allocations: 1.508 MB / 352.2 MB, free: 8.539 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003912/0.3406, allocations: 75.31 kB / 352.3 MB, free: 8.465 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.649e-05/0.3407, allocations: 32 kB / 352.3 MB, free: 8.434 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.0003804/0.3411, allocations: 264.9 kB / 352.6 MB, free: 8.164 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.984e-05/0.3412, allocations: 35.61 kB / 352.6 MB, free: 8.129 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001278/0.3424, allocations: 0.618 MB / 353.2 MB, free: 7.496 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.096e-05/0.3425, allocations: 8 kB / 353.2 MB, free: 7.488 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.294e-06/0.3425, allocations: 0 / 353.2 MB, free: 7.488 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.347e-06/0.3425, allocations: 3.984 kB / 353.2 MB, free: 7.484 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002201/0.3447, allocations: 1.309 MB / 354.5 MB, free: 6.117 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.5e-06/0.3447, allocations: 4 kB / 354.5 MB, free: 6.113 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000407/0.3451, allocations: 91.89 kB / 354.6 MB, free: 6.023 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001983/0.3453, allocations: 48.83 kB / 354.7 MB, free: 5.973 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.557e-05/0.3454, allocations: 15.98 kB / 354.7 MB, free: 5.957 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001504/0.3469, allocations: 1.58 MB / 356.3 MB, free: 4.242 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/0.3469, allocations: 3.984 kB / 356.3 MB, free: 4.238 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001598/0.3485, allocations: 0.9286 MB / 357.2 MB, free: 3.293 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000195/0.3487, allocations: 156.5 kB / 357.4 MB, free: 3.121 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.553e-05/0.3488, allocations: 11.94 kB / 357.4 MB, free: 3.109 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002765/0.3491, allocations: 23.98 kB / 357.4 MB, free: 3.086 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.973e-05/0.3492, allocations: 36.5 kB / 357.4 MB, free: 3.047 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.562e-05/0.3493, allocations: 20 kB / 357.5 MB, free: 3.027 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0002497/0.3495, allocations: 215.1 kB / 357.7 MB, free: 2.82 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3495, allocations: 4.062 kB / 357.7 MB, free: 2.816 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.001168/0.3507, allocations: 271.1 kB / 357.9 MB, free: 2.551 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.0003003/0.351, allocations: 143.1 kB / 358.1 MB, free: 2.402 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.002262/0.3533, allocations: 1.112 MB / 359.2 MB, free: 1.27 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.998e-06/0.3533, allocations: 0 / 359.2 MB, free: 1.27 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006327/0.3539, allocations: 401.5 kB / 359.6 MB, free: 0.8633 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004953/0.3544, allocations: 44.64 kB / 359.6 MB, free: 0.8203 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002218/0.3567, allocations: 1.248 MB / 360.9 MB, free: 15.54 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004612/0.3571, allocations: 0.8408 MB / 361.7 MB, free: 14.67 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.001532/0.3587, allocations: 1.088 MB / 362.8 MB, free: 13.58 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001531/0.3589, allocations: 51.41 kB / 362.9 MB, free: 13.53 MB / 302.1 MB Notification: Performance of SimCode: time 2.174e-06/0.3589, allocations: 0 / 362.9 MB, free: 13.53 MB / 302.1 MB Notification: Performance of Templates: time 0.01212/0.371, allocations: 5.223 MB / 368.1 MB, free: 8.305 MB / 302.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode.makefile (rm -f Modelica_3.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode.pipe ; mkfifo Modelica_3.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode.pipe >> ../files/Modelica_3.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode.sim & ./Modelica_3.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode.pipe 2>&1)