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.005682/0.005682, allocations: 102.3 kB / 15.73 MB, free: 5.578 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.001187/0.001187, allocations: 195.6 kB / 16.67 MB, free: 5.52 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.312/1.312, allocations: 205.1 MB / 222.5 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.00125/0.00125, allocations: 48.41 kB / 326.5 MB, free: 3.312 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0743/0.07556, allocations: 46.62 MB / 373.2 MB, free: 4.586 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode): time 0.005032/0.08063, allocations: 4.092 MB / 377.2 MB, free: 480 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.1732/0.2538, allocations: 1.636 MB / 378.9 MB, free: 9.695 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000218/0.2541, allocations: 16.39 kB / 378.9 MB, free: 9.695 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001576/0.2557, allocations: 0.7778 MB / 379.7 MB, free: 9.59 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001054/0.2568, allocations: 0.5733 MB / 380.2 MB, free: 9.445 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009615/0.2577, allocations: 0.5508 MB / 380.8 MB, free: 9.352 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006999/0.2585, allocations: 0.5928 MB / 381.4 MB, free: 9.223 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006769/0.2591, allocations: 0.4997 MB / 381.9 MB, free: 9.184 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002841/0.2594, allocations: 268.5 kB / 382.2 MB, free: 9.121 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003217/0.2598, allocations: 322.1 kB / 382.5 MB, free: 8.988 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.915e-05/0.2599, allocations: 55.03 kB / 382.5 MB, free: 8.988 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004228/0.2603, allocations: 246.6 kB / 382.8 MB, free: 8.926 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.306e-05/0.2604, allocations: 142 kB / 382.9 MB, free: 8.836 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002092/0.2606, allocations: 297.4 kB / 383.2 MB, free: 8.652 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008505/0.2615, allocations: 0.847 MB / 384 MB, free: 8.34 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.307e-06/0.2615, allocations: 1.219 kB / 384 MB, free: 8.34 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.2615, allocations: 0 / 384 MB, free: 8.34 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.334e-05/0.2615, allocations: 4 kB / 384 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.0021/0.2636, allocations: 1 MB / 385 MB, free: 7.68 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.358e-05/0.2637, allocations: 9.688 kB / 385.1 MB, free: 7.68 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004486/0.2681, allocations: 0.6092 MB / 385.7 MB, free: 7.582 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005809/0.2687, allocations: 384.2 kB / 386 MB, free: 7.266 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.167e-05/0.2688, allocations: 49 kB / 386.1 MB, free: 7.242 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001064/0.2689, allocations: 72.08 kB / 386.2 MB, free: 7.215 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00129/0.2702, allocations: 0.7394 MB / 386.9 MB, free: 6.891 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.068e-05/0.2702, allocations: 1.281 kB / 386.9 MB, free: 6.891 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.763e-05/0.2703, allocations: 33.33 kB / 386.9 MB, free: 6.863 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.806e-05/0.2703, allocations: 17.09 kB / 386.9 MB, free: 6.863 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001375/0.2717, allocations: 0.7128 MB / 387.7 MB, free: 6.629 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003244/0.275, allocations: 2.515 MB / 390.2 MB, free: 4.957 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001685/0.2767, allocations: 1.952 MB / 392.1 MB, free: 3.035 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003876/0.2771, allocations: 220.8 kB / 392.3 MB, free: 2.945 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.47e-05/0.2772, allocations: 92.06 kB / 392.4 MB, free: 2.852 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.814e-05/0.2772, allocations: 38.66 kB / 392.5 MB, free: 2.809 MB / 318.1 MB Notification: Performance of pre-optimization done (n=48): time 2.024e-06/0.2772, allocations: 3.938 kB / 392.5 MB, free: 2.805 MB / 318.1 MB Notification: Performance of matching and sorting (n=48): time 0.001645/0.2788, allocations: 0.7087 MB / 393.2 MB, free: 2.461 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.877e-05/0.2789, allocations: 65.28 kB / 393.2 MB, free: 2.391 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002896/0.2792, allocations: 312.4 kB / 393.6 MB, free: 2.211 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.848e-05/0.2792, allocations: 31.86 kB / 393.6 MB, free: 2.176 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001229/0.2793, allocations: 292.7 kB / 393.9 MB, free: 1.941 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.882e-05/0.2794, allocations: 163.2 kB / 394 MB, free: 1.816 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001417/0.2796, allocations: 108.9 kB / 394.1 MB, free: 1.754 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.004e-05/0.2796, allocations: 351 kB / 394.5 MB, free: 1.422 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003626/0.28, allocations: 174.6 kB / 394.6 MB, free: 1.355 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000419/0.2804, allocations: 341.2 kB / 395 MB, free: 1.074 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007706/0.2812, allocations: 0.5468 MB / 395.5 MB, free: 0.668 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.128e-06/0.2812, allocations: 1.375 kB / 395.5 MB, free: 0.668 MB / 318.1 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001148/0.2824, allocations: 0.6202 MB / 396.1 MB, free: 408 kB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.784e-05/0.2824, allocations: 8.547 kB / 396.2 MB, free: 408 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.037e-05/0.2824, allocations: 9.375 kB / 396.2 MB, free: 404 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002441/0.2827, allocations: 55.67 kB / 396.2 MB, free: 388 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005142/0.2832, allocations: 135.8 kB / 396.4 MB, free: 368 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001513/0.2847, allocations: 1.771 MB / 398.1 MB, free: 14.69 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004019/0.2852, allocations: 73.05 kB / 398.2 MB, free: 14.64 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.248e-05/0.2852, allocations: 26.83 kB / 398.2 MB, free: 14.64 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004955/0.2857, allocations: 297.7 kB / 398.5 MB, free: 14.46 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004615/0.2862, allocations: 341 kB / 398.8 MB, free: 14.18 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008319/0.287, allocations: 0.5341 MB / 399.4 MB, free: 13.78 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.28e-06/0.287, allocations: 5.438 kB / 399.4 MB, free: 13.78 MB / 334.1 MB Notification: Performance of matching and sorting (n=74) (initialization_lambda0): time 0.001157/0.2882, allocations: 0.6099 MB / 400 MB, free: 13.52 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.122e-05/0.2882, allocations: 6.875 kB / 400 MB, free: 13.52 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.154e-06/0.2882, allocations: 6.062 kB / 400 MB, free: 13.52 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001868/0.2884, allocations: 64.03 kB / 400.1 MB, free: 13.49 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004719/0.2889, allocations: 126.5 kB / 400.2 MB, free: 13.48 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001567/0.2905, allocations: 1.771 MB / 402 MB, free: 11.81 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004336/0.2909, allocations: 52 kB / 402 MB, free: 11.78 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5e-05/0.291, allocations: 27.59 kB / 402 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.0002057/0.2912, allocations: 225.4 kB / 402.3 MB, free: 11.55 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.772e-05/0.2913, allocations: 37 kB / 402.3 MB, free: 11.54 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001214/0.2925, allocations: 0.5282 MB / 402.8 MB, free: 11.29 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.694e-06/0.2925, allocations: 12.34 kB / 402.8 MB, free: 11.28 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-06/0.2925, allocations: 1.875 kB / 402.8 MB, free: 11.28 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.462e-06/0.2926, allocations: 3.297 kB / 402.8 MB, free: 11.28 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002019/0.2946, allocations: 1.149 MB / 404 MB, free: 10.62 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.659e-06/0.2946, allocations: 1.125 kB / 404 MB, free: 10.62 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004331/0.295, allocations: 84.61 kB / 404.1 MB, free: 10.61 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002198/0.2953, allocations: 52.55 kB / 404.1 MB, free: 10.59 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.849e-05/0.2953, allocations: 11.45 kB / 404.1 MB, free: 10.59 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001854/0.2972, allocations: 1.762 MB / 405.9 MB, free: 8.914 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.2972, allocations: 0 / 405.9 MB, free: 8.914 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00161/0.2988, allocations: 0.7721 MB / 406.7 MB, free: 8.516 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001962/0.299, allocations: 153.9 kB / 406.8 MB, free: 8.375 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.987e-05/0.2991, allocations: 14.59 kB / 406.8 MB, free: 8.363 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000286/0.2994, allocations: 24.09 kB / 406.9 MB, free: 8.355 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.74e-05/0.2995, allocations: 32.94 kB / 406.9 MB, free: 8.348 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.882e-05/0.2995, allocations: 15.59 kB / 406.9 MB, free: 8.344 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002397/0.2998, allocations: 217.3 kB / 407.1 MB, free: 8.219 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.2998, allocations: 0 / 407.1 MB, free: 8.219 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.001208/0.301, allocations: 263.8 kB / 407.4 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.0002995/0.3013, allocations: 141.4 kB / 407.5 MB, free: 8.035 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.002132/0.3035, allocations: 0.9851 MB / 408.5 MB, free: 7.543 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 5.28e-06/0.3035, allocations: 0 / 408.5 MB, free: 7.543 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005833/0.3041, allocations: 359.1 kB / 408.9 MB, free: 7.344 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004534/0.3045, allocations: 53.17 kB / 408.9 MB, free: 7.316 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001843/0.3064, allocations: 0.9569 MB / 409.9 MB, free: 6.727 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004086/0.3068, allocations: 0.8466 MB / 410.7 MB, free: 5.957 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0003516/0.3072, allocations: 87.66 kB / 410.8 MB, free: 5.906 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001093/0.3073, allocations: 43.67 kB / 410.8 MB, free: 5.891 MB / 334.1 MB Notification: Performance of SimCode: time 4.71e-07/0.3073, allocations: 0 / 410.8 MB, free: 5.891 MB / 334.1 MB Notification: Performance of Templates: time 0.009691/0.317, allocations: 5.198 MB / 416 MB, free: 2.871 MB / 334.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)