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.0008918/0.0008917, allocations: 86.48 kB / 15.06 MB, free: 1.09 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.0007812/0.0007812, allocations: 168.7 kB / 15.95 MB, free: 204 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.437/1.437, allocations: 205.4 MB / 222.1 MB, free: 5.613 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.000732/0.0007321, allocations: 16 kB / 278.9 MB, free: 12.79 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2364/0.2372, 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.00352/0.2408, allocations: 3.482 MB / 330 MB, free: 14.66 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.003222/0.244, allocations: 1.493 MB / 331.5 MB, free: 13.46 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004789/0.2445, allocations: 11.62 kB / 331.5 MB, free: 13.46 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005355/0.2451, allocations: 137.5 kB / 331.6 MB, free: 13.37 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001359/0.2464, allocations: 491.6 kB / 332.1 MB, free: 13 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001034/0.2475, allocations: 440.6 kB / 332.5 MB, free: 12.68 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009426/0.2484, allocations: 0.524 MB / 333 MB, free: 12.36 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001438/0.2499, allocations: 0.7189 MB / 333.8 MB, free: 11.82 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004425/0.2503, allocations: 209.7 kB / 334 MB, free: 11.71 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004622/0.2508, allocations: 273.3 kB / 334.2 MB, free: 11.54 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 9.696e-05/0.2509, allocations: 23.75 kB / 334.3 MB, free: 11.54 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005896/0.2515, allocations: 195.8 kB / 334.4 MB, free: 11.46 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000102/0.2516, allocations: 101.5 kB / 334.5 MB, free: 11.38 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001644/0.2518, allocations: 125.4 kB / 334.7 MB, free: 11.25 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007629/0.2526, allocations: 0.6324 MB / 335.3 MB, free: 10.62 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.2526, allocations: 0 / 335.3 MB, free: 10.62 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.2526, allocations: 0 / 335.3 MB, free: 10.62 MB / 270.1 MB Notification: Performance of Transformations before backend: time 2.821e-05/0.2526, 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.002393/0.255, allocations: 0.929 MB / 336.2 MB, free: 9.641 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.788e-05/0.2551, allocations: 8.031 kB / 336.2 MB, free: 9.633 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00417/0.2593, allocations: 0.6119 MB / 336.8 MB, free: 9.02 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006747/0.26, allocations: 376.1 kB / 337.2 MB, free: 8.613 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.9e-05/0.26, allocations: 57.89 kB / 337.3 MB, free: 8.555 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001361/0.2602, allocations: 63.91 kB / 337.3 MB, free: 8.492 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001495/0.2617, allocations: 0.8133 MB / 338.1 MB, free: 7.668 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.586e-05/0.2617, allocations: 4 kB / 338.2 MB, free: 7.664 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.549e-05/0.2618, allocations: 24 kB / 338.2 MB, free: 7.641 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.967e-05/0.2618, allocations: 30 kB / 338.2 MB, free: 7.609 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001507/0.2633, allocations: 0.8433 MB / 339 MB, free: 6.77 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003851/0.2672, allocations: 2.723 MB / 341.8 MB, free: 3.871 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0017/0.2689, allocations: 1.957 MB / 343.7 MB, free: 1.578 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004373/0.2694, allocations: 254.1 kB / 344 MB, free: 1.328 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.343e-05/0.2695, allocations: 97.47 kB / 344.1 MB, free: 1.215 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.649e-05/0.2695, allocations: 39 kB / 344.1 MB, free: 1.168 MB / 270.1 MB Notification: Performance of pre-optimization done (n=48): time 1.923e-06/0.2695, allocations: 0 / 344.1 MB, free: 1.168 MB / 270.1 MB Notification: Performance of matching and sorting (n=48): time 0.001768/0.2713, allocations: 0.848 MB / 345 MB, free: 296 kB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.145e-05/0.2713, allocations: 55.84 kB / 345 MB, free: 228 kB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003219/0.2716, allocations: 312.4 kB / 345.3 MB, free: 15.91 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.138e-05/0.2717, allocations: 29.7 kB / 345.3 MB, free: 15.88 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001621/0.2719, allocations: 292 kB / 345.6 MB, free: 15.59 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001178/0.272, allocations: 165.6 kB / 345.8 MB, free: 15.42 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.147e-05/0.272, allocations: 20 kB / 345.8 MB, free: 15.4 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001142/0.2721, allocations: 350.8 kB / 346.2 MB, free: 15.05 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004124/0.2726, allocations: 197.2 kB / 346.3 MB, free: 14.86 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005134/0.2731, allocations: 402.3 kB / 346.7 MB, free: 14.38 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004777/0.2736, allocations: 255.6 kB / 347 MB, free: 14.13 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.618e-06/0.2736, allocations: 0 / 347 MB, free: 14.13 MB / 286.1 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001274/0.2749, allocations: 0.7004 MB / 347.7 MB, free: 13.42 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001875/0.2751, allocations: 267.7 kB / 348 MB, free: 13.07 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.313e-05/0.2751, allocations: 8 kB / 348 MB, free: 13.06 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002487/0.2753, allocations: 56.83 kB / 348 MB, free: 13 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005133/0.2759, allocations: 139.8 kB / 348.2 MB, free: 12.87 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001463/0.2773, allocations: 1.584 MB / 349.7 MB, free: 11.15 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003893/0.2777, allocations: 83.33 kB / 349.8 MB, free: 11.07 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.632e-05/0.2778, allocations: 28 kB / 349.8 MB, free: 11.04 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.536e-06/0.2778, allocations: 7.953 kB / 349.9 MB, free: 11.03 MB / 286.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001151/0.279, allocations: 0.6485 MB / 350.5 MB, free: 10.38 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.027e-05/0.279, allocations: 8 kB / 350.5 MB, free: 10.37 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001523/0.2792, allocations: 52.83 kB / 350.6 MB, free: 10.32 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004677/0.2796, allocations: 140.2 kB / 350.7 MB, free: 10.18 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001159/0.2808, allocations: 1.511 MB / 352.2 MB, free: 8.535 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003286/0.2812, allocations: 67.31 kB / 352.3 MB, free: 8.469 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.973e-05/0.2812, allocations: 35.98 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.0002817/0.2815, allocations: 268.8 kB / 352.6 MB, free: 8.16 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.05e-05/0.2816, allocations: 31.62 kB / 352.6 MB, free: 8.129 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001218/0.2828, allocations: 0.6219 MB / 353.2 MB, free: 7.492 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.663e-06/0.2828, allocations: 8 kB / 353.2 MB, free: 7.484 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.2828, allocations: 0 / 353.2 MB, free: 7.484 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.803e-06/0.2829, allocations: 7.922 kB / 353.2 MB, free: 7.477 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001918/0.2848, allocations: 1.305 MB / 354.5 MB, free: 6.113 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.837e-06/0.2848, allocations: 8 kB / 354.6 MB, free: 6.105 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000383/0.2852, allocations: 91.88 kB / 354.6 MB, free: 6.016 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001624/0.2854, allocations: 48.83 kB / 354.7 MB, free: 5.965 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.968e-05/0.2854, allocations: 15.98 kB / 354.7 MB, free: 5.949 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001222/0.2866, allocations: 1.573 MB / 356.3 MB, free: 4.242 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.2866, allocations: 0 / 356.3 MB, free: 4.242 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001512/0.2882, allocations: 0.9286 MB / 357.2 MB, free: 3.297 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001603/0.2883, allocations: 156.5 kB / 357.4 MB, free: 3.125 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.725e-05/0.2884, allocations: 15.98 kB / 357.4 MB, free: 3.109 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002648/0.2887, allocations: 24.11 kB / 357.4 MB, free: 3.086 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.167e-05/0.2888, allocations: 40.33 kB / 357.4 MB, free: 3.043 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.305e-05/0.2888, allocations: 19.98 kB / 357.5 MB, free: 3.023 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0002122/0.289, allocations: 211.1 kB / 357.7 MB, free: 2.82 MB / 286.1 MB Notification: Performance of sort global known variables: time 3.2e-07/0.289, allocations: 0 / 357.7 MB, free: 2.82 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0009985/0.29, allocations: 271.1 kB / 357.9 MB, free: 2.555 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.0002473/0.2903, allocations: 147.2 kB / 358.1 MB, free: 2.402 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.002026/0.2923, allocations: 1.124 MB / 359.2 MB, free: 1.258 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/0.2923, allocations: 0 / 359.2 MB, free: 1.258 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005873/0.2929, allocations: 397.6 kB / 359.6 MB, free: 0.8555 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000441/0.2934, allocations: 48.62 kB / 359.6 MB, free: 0.8086 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00187/0.2953, allocations: 1.24 MB / 360.9 MB, free: 15.54 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004301/0.2957, allocations: 0.8408 MB / 361.7 MB, free: 14.67 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.00138/0.2971, allocations: 1.092 MB / 362.8 MB, free: 13.57 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001316/0.2972, allocations: 43.42 kB / 362.8 MB, free: 13.53 MB / 302.1 MB Notification: Performance of SimCode: time 3.91e-07/0.2973, allocations: 0 / 362.8 MB, free: 13.53 MB / 302.1 MB Notification: Performance of Templates: time 0.01068/0.3079, allocations: 5.232 MB / 368.1 MB, free: 8.297 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)