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.001448/0.001447, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.00163/0.00163, allocations: 196.6 kB / 16.25 MB, free: 6.625 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.332/1.332, allocations: 205.1 MB / 222.1 MB, free: 4.719 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.00111/0.00111, allocations: 51.92 kB / 278.2 MB, free: 12.64 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1923/0.1934, allocations: 46.63 MB / 324.9 MB, free: 1.926 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode): time 0.004653/0.1981, allocations: 4.107 MB / 329 MB, free: 14.68 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002542/0.2006, allocations: 1.617 MB / 330.6 MB, free: 13.39 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001934/0.2009, allocations: 11.59 kB / 330.6 MB, free: 13.39 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001585/0.2025, allocations: 0.7279 MB / 331.3 MB, free: 12.86 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001071/0.2035, allocations: 0.5273 MB / 331.8 MB, free: 12.47 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009505/0.2045, allocations: 0.5065 MB / 332.3 MB, free: 12.09 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006233/0.2051, allocations: 0.577 MB / 332.9 MB, free: 11.75 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007625/0.2059, allocations: 0.541 MB / 333.5 MB, free: 11.41 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003067/0.2062, allocations: 263.8 kB / 333.7 MB, free: 11.19 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003052/0.2065, allocations: 330.7 kB / 334 MB, free: 10.87 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 7.376e-05/0.2066, allocations: 60 kB / 334.1 MB, free: 10.81 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004141/0.2071, allocations: 247.8 kB / 334.3 MB, free: 10.57 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 9.514e-05/0.2072, allocations: 143.4 kB / 334.5 MB, free: 10.43 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002436/0.2074, allocations: 298.5 kB / 334.8 MB, free: 10.13 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008349/0.2083, allocations: 0.8489 MB / 335.6 MB, free: 9.281 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.2083, allocations: 4 kB / 335.6 MB, free: 9.277 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.2083, allocations: 0 / 335.6 MB, free: 9.277 MB / 270.1 MB Notification: Performance of Transformations before backend: time 7.845e-06/0.2083, allocations: 0 / 335.6 MB, free: 9.277 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.002198/0.2105, allocations: 1.035 MB / 336.7 MB, free: 8.195 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.275e-05/0.2105, allocations: 8.031 kB / 336.7 MB, free: 8.188 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004215/0.2148, allocations: 0.605 MB / 337.3 MB, free: 7.582 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005112/0.2153, allocations: 381.3 kB / 337.7 MB, free: 7.168 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.221e-05/0.2153, allocations: 58.31 kB / 337.7 MB, free: 7.113 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.596e-05/0.2154, allocations: 68.3 kB / 337.8 MB, free: 7.047 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001284/0.2167, allocations: 0.8133 MB / 338.6 MB, free: 6.219 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.375e-05/0.2168, allocations: 3.906 kB / 338.6 MB, free: 6.215 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.657e-05/0.2168, allocations: 24 kB / 338.6 MB, free: 6.191 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.286e-05/0.2169, allocations: 30 kB / 338.6 MB, free: 6.164 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001369/0.2182, allocations: 0.8355 MB / 339.5 MB, free: 5.328 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003576/0.2218, allocations: 2.711 MB / 342.2 MB, free: 2.438 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0018/0.2236, allocations: 1.971 MB / 344.2 MB, free: 136 kB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005554/0.2242, allocations: 258.4 kB / 344.4 MB, free: 15.88 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.441e-05/0.2243, allocations: 85.55 kB / 344.5 MB, free: 15.78 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.826e-05/0.2243, allocations: 39 kB / 344.5 MB, free: 15.73 MB / 286.1 MB Notification: Performance of pre-optimization done (n=48): time 1.943e-06/0.2244, allocations: 0 / 344.5 MB, free: 15.73 MB / 286.1 MB Notification: Performance of matching and sorting (n=48): time 0.001777/0.2261, allocations: 0.8285 MB / 345.4 MB, free: 14.87 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.685e-05/0.2262, allocations: 63.77 kB / 345.4 MB, free: 14.8 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002759/0.2265, allocations: 312.4 kB / 345.7 MB, free: 14.48 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.56e-05/0.2265, allocations: 37.7 kB / 345.8 MB, free: 14.44 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001527/0.2267, allocations: 291.6 kB / 346.1 MB, free: 14.15 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001063/0.2268, allocations: 161.7 kB / 346.2 MB, free: 13.99 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001646/0.227, allocations: 118.2 kB / 346.3 MB, free: 13.87 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001031/0.2271, allocations: 342.8 kB / 346.7 MB, free: 13.52 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000402/0.2275, allocations: 211.4 kB / 346.9 MB, free: 13.31 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004824/0.228, allocations: 390.3 kB / 347.2 MB, free: 12.85 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008709/0.2288, allocations: 0.6116 MB / 347.9 MB, free: 12.16 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.979e-06/0.2289, allocations: 8 kB / 347.9 MB, free: 12.15 MB / 286.1 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001638/0.2305, allocations: 0.6963 MB / 348.6 MB, free: 11.44 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.089e-05/0.2305, allocations: 8 kB / 348.6 MB, free: 11.43 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.304e-05/0.2306, allocations: 8 kB / 348.6 MB, free: 11.43 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002964/0.2309, allocations: 61.33 kB / 348.6 MB, free: 11.36 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007227/0.2316, allocations: 143.8 kB / 348.8 MB, free: 11.22 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001859/0.2335, allocations: 1.768 MB / 350.5 MB, free: 9.312 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005281/0.234, allocations: 71.34 kB / 350.6 MB, free: 9.242 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.951e-05/0.2341, allocations: 36.06 kB / 350.7 MB, free: 9.207 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007032/0.2348, allocations: 333.3 kB / 351 MB, free: 8.879 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006755/0.2355, allocations: 386.3 kB / 351.4 MB, free: 8.418 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001225/0.2367, allocations: 0.6079 MB / 352 MB, free: 7.727 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.038e-06/0.2368, allocations: 0 / 352 MB, free: 7.727 MB / 286.1 MB Notification: Performance of matching and sorting (n=74) (initialization_lambda0): time 0.001805/0.2386, allocations: 0.6925 MB / 352.7 MB, free: 7.023 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.679e-05/0.2386, allocations: 8 kB / 352.7 MB, free: 7.016 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.283e-05/0.2386, allocations: 4 kB / 352.7 MB, free: 7.012 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002536/0.2389, allocations: 69.33 kB / 352.7 MB, free: 6.941 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007383/0.2396, allocations: 135.8 kB / 352.9 MB, free: 6.809 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001752/0.2414, allocations: 1.767 MB / 354.6 MB, free: 4.902 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000365/0.2418, allocations: 63.58 kB / 354.7 MB, free: 4.84 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.696e-05/0.2419, allocations: 39.86 kB / 354.7 MB, free: 4.801 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 (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.0001918/0.2421, allocations: 216.1 kB / 354.9 MB, free: 4.582 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.458e-05/0.2421, allocations: 35.53 kB / 355 MB, free: 4.547 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001264/0.2434, allocations: 0.614 MB / 355.6 MB, free: 3.918 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.201e-06/0.2434, allocations: 4 kB / 355.6 MB, free: 3.914 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.135e-06/0.2434, allocations: 0 / 355.6 MB, free: 3.914 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.432e-06/0.2435, allocations: 4 kB / 355.6 MB, free: 3.91 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002602/0.2461, allocations: 1.297 MB / 356.9 MB, free: 2.559 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-06/0.2461, allocations: 4 kB / 356.9 MB, free: 2.555 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005834/0.2467, allocations: 91.88 kB / 357 MB, free: 2.465 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002335/0.2469, allocations: 56.77 kB / 357.1 MB, free: 2.406 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.14e-05/0.247, allocations: 12 kB / 357.1 MB, free: 2.395 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001819/0.2488, allocations: 1.763 MB / 358.8 MB, free: 500 kB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.2488, allocations: 0 / 358.8 MB, free: 500 kB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002167/0.251, allocations: 0.9209 MB / 359.7 MB, free: 15.54 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000216/0.2512, allocations: 140.7 kB / 359.9 MB, free: 15.39 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.743e-05/0.2513, allocations: 15.92 kB / 359.9 MB, free: 15.37 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003874/0.2517, allocations: 16 kB / 359.9 MB, free: 15.36 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001248/0.2519, allocations: 40.38 kB / 360 MB, free: 15.32 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.803e-05/0.2519, allocations: 15.98 kB / 360 MB, free: 15.3 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002894/0.2522, allocations: 211.1 kB / 360.2 MB, free: 15.1 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.7e-07/0.2522, allocations: 4.062 kB / 360.2 MB, free: 15.09 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.001472/0.2537, allocations: 279.1 kB / 360.5 MB, free: 14.82 MB / 302.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.0002933/0.254, allocations: 135.1 kB / 360.6 MB, free: 14.68 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.002991/0.257, allocations: 1.122 MB / 361.7 MB, free: 13.54 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.047e-06/0.2571, allocations: 0 / 361.7 MB, free: 13.54 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008454/0.2579, allocations: 405.3 kB / 362.1 MB, free: 13.12 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006901/0.2586, allocations: 44.67 kB / 362.1 MB, free: 13.08 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002653/0.2613, allocations: 1.248 MB / 363.4 MB, free: 11.81 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000493/0.2618, allocations: 0.8486 MB / 364.2 MB, free: 10.93 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.001872/0.2637, allocations: 1.095 MB / 365.3 MB, free: 9.832 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000172/0.2639, allocations: 47.36 kB / 365.4 MB, free: 9.789 MB / 302.1 MB Notification: Performance of SimCode: time 8.62e-07/0.2639, allocations: 0 / 365.4 MB, free: 9.789 MB / 302.1 MB Notification: Performance of Templates: time 0.01125/0.2751, allocations: 5.633 MB / 371 MB, free: 4.148 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)