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.00108/0.00108, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001327/0.001327, allocations: 196.4 kB / 16.14 MB, free: 6.715 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.303/1.303, allocations: 205.1 MB / 222 MB, free: 4.992 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.001147/0.001147, allocations: 48.34 kB / 278 MB, free: 13 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1918/0.1929, allocations: 46.63 MB / 324.7 MB, free: 1.82 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode): time 0.004545/0.1975, allocations: 4.104 MB / 328.8 MB, free: 14.58 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002876/0.2004, allocations: 1.626 MB / 330.4 MB, free: 13.29 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002228/0.2007, allocations: 15.97 kB / 330.4 MB, free: 13.28 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00157/0.2023, allocations: 0.7366 MB / 331.2 MB, free: 12.74 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001127/0.2034, allocations: 0.5352 MB / 331.7 MB, free: 12.34 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001005/0.2044, allocations: 0.5083 MB / 332.2 MB, free: 11.96 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006023/0.205, allocations: 0.5578 MB / 332.8 MB, free: 11.64 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006718/0.2057, allocations: 444 kB / 333.2 MB, free: 11.36 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003153/0.206, allocations: 245 kB / 333.4 MB, free: 11.22 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003613/0.2064, allocations: 319.8 kB / 333.7 MB, free: 11.01 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 7.324e-05/0.2065, allocations: 39.09 kB / 333.8 MB, free: 11.01 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004459/0.207, allocations: 231.3 kB / 334 MB, free: 10.83 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 9.027e-05/0.2071, allocations: 123.5 kB / 334.1 MB, free: 10.71 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002204/0.2073, allocations: 274.5 kB / 334.4 MB, free: 10.44 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000759/0.2081, allocations: 0.8332 MB / 335.2 MB, free: 9.602 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.2081, allocations: 0 / 335.2 MB, free: 9.602 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.2081, allocations: 0 / 335.2 MB, free: 9.602 MB / 270.1 MB Notification: Performance of Transformations before backend: time 9.638e-06/0.2081, allocations: 0 / 335.2 MB, free: 9.602 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.002341/0.2104, allocations: 1.042 MB / 336.3 MB, free: 8.508 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.914e-05/0.2105, allocations: 15.95 kB / 336.3 MB, free: 8.492 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004356/0.2149, allocations: 0.609 MB / 336.9 MB, free: 7.883 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005405/0.2154, allocations: 377.3 kB / 337.3 MB, free: 7.477 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.032e-05/0.2155, allocations: 50.38 kB / 337.3 MB, free: 7.426 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001032/0.2156, allocations: 64.38 kB / 337.4 MB, free: 7.363 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001414/0.217, allocations: 0.8093 MB / 338.2 MB, free: 6.543 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.954e-05/0.217, allocations: 7.906 kB / 338.2 MB, free: 6.535 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.934e-05/0.2171, allocations: 28 kB / 338.2 MB, free: 6.508 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.4e-05/0.2172, allocations: 29.98 kB / 338.3 MB, free: 6.477 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001488/0.2187, allocations: 0.8355 MB / 339.1 MB, free: 5.645 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003922/0.2226, allocations: 2.708 MB / 341.8 MB, free: 2.758 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00177/0.2244, allocations: 1.969 MB / 343.8 MB, free: 464 kB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004472/0.2248, allocations: 254.1 kB / 344 MB, free: 208 kB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.78e-05/0.2249, allocations: 93.84 kB / 344.1 MB, free: 96 kB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.463e-05/0.225, allocations: 43 kB / 344.1 MB, free: 44 kB / 270.1 MB Notification: Performance of pre-optimization done (n=48): time 2.154e-06/0.225, allocations: 0 / 344.1 MB, free: 44 kB / 270.1 MB Notification: Performance of matching and sorting (n=48): time 0.001839/0.2268, allocations: 0.8246 MB / 345 MB, free: 15.18 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.698e-05/0.2269, allocations: 63.78 kB / 345 MB, free: 15.11 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002912/0.2272, allocations: 316.4 kB / 345.3 MB, free: 14.79 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.425e-05/0.2272, allocations: 29.7 kB / 345.4 MB, free: 14.75 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001451/0.2274, allocations: 291.6 kB / 345.7 MB, free: 14.47 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001132/0.2275, allocations: 161.6 kB / 345.8 MB, free: 14.31 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001596/0.2276, allocations: 118.2 kB / 345.9 MB, free: 14.19 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001131/0.2278, allocations: 346.8 kB / 346.3 MB, free: 13.84 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004164/0.2282, allocations: 211.4 kB / 346.5 MB, free: 13.63 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005224/0.2287, allocations: 390.3 kB / 346.9 MB, free: 13.17 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009288/0.2297, allocations: 0.6155 MB / 347.5 MB, free: 12.47 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/0.2297, allocations: 4 kB / 347.5 MB, free: 12.46 MB / 286.1 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001274/0.231, allocations: 0.7078 MB / 348.2 MB, free: 11.75 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.811e-05/0.231, allocations: 8.719 kB / 348.2 MB, free: 11.74 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.777e-06/0.231, allocations: 4 kB / 348.2 MB, free: 11.73 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00024/0.2312, allocations: 60.83 kB / 348.3 MB, free: 11.67 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000527/0.2318, allocations: 135.8 kB / 348.4 MB, free: 11.54 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001376/0.2332, allocations: 1.592 MB / 350 MB, free: 9.809 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003868/0.2336, allocations: 71.27 kB / 350.1 MB, free: 9.738 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.792e-05/0.2336, allocations: 32.12 kB / 350.1 MB, free: 9.707 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000513/0.2341, allocations: 337.4 kB / 350.4 MB, free: 9.375 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004789/0.2346, allocations: 386.3 kB / 350.8 MB, free: 8.914 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008604/0.2355, allocations: 0.5963 MB / 351.4 MB, free: 8.234 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.605e-06/0.2355, allocations: 4 kB / 351.4 MB, free: 8.23 MB / 286.1 MB Notification: Performance of matching and sorting (n=74) (initialization_lambda0): time 0.001215/0.2367, allocations: 0.7004 MB / 352.1 MB, free: 7.52 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.188e-05/0.2368, allocations: 8 kB / 352.1 MB, free: 7.512 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.2368, allocations: 11.88 kB / 352.1 MB, free: 7.5 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001694/0.237, allocations: 57.33 kB / 352.2 MB, free: 7.441 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004879/0.2375, allocations: 139.8 kB / 352.3 MB, free: 7.305 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001266/0.2387, allocations: 1.6 MB / 353.9 MB, free: 5.566 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003389/0.2391, allocations: 47.58 kB / 353.9 MB, free: 5.52 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.552e-05/0.2391, allocations: 32 kB / 354 MB, free: 5.488 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.0001606/0.2393, allocations: 220 kB / 354.2 MB, free: 5.266 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.741e-05/0.2394, allocations: 43.47 kB / 354.2 MB, free: 5.223 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001257/0.2407, allocations: 0.6103 MB / 354.8 MB, free: 4.605 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.414e-06/0.2407, allocations: 8 kB / 354.9 MB, free: 4.598 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.2407, allocations: 7.922 kB / 354.9 MB, free: 4.59 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.47e-06/0.2407, allocations: 128 / 354.9 MB, free: 4.59 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001877/0.2426, allocations: 1.297 MB / 356.2 MB, free: 3.238 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.686e-06/0.2426, allocations: 0 / 356.2 MB, free: 3.238 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004165/0.243, allocations: 87.89 kB / 356.2 MB, free: 3.152 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001696/0.2432, allocations: 56.75 kB / 356.3 MB, free: 3.094 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.944e-05/0.2432, allocations: 12 kB / 356.3 MB, free: 3.082 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001244/0.2445, allocations: 1.58 MB / 357.9 MB, free: 1.363 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.2445, allocations: 0 / 357.9 MB, free: 1.363 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001555/0.2461, allocations: 0.9207 MB / 358.8 MB, free: 432 kB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001316/0.2462, allocations: 148.6 kB / 359 MB, free: 264 kB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.937e-05/0.2463, allocations: 12.17 kB / 359 MB, free: 252 kB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002838/0.2466, allocations: 23.97 kB / 359 MB, free: 228 kB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.837e-05/0.2467, allocations: 36.39 kB / 359 MB, free: 192 kB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.634e-05/0.2467, allocations: 19.98 kB / 359 MB, free: 172 kB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0002068/0.2469, allocations: 219 kB / 359.3 MB, free: 15.96 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.2469, allocations: 0 / 359.3 MB, free: 15.96 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0009176/0.2479, allocations: 283.1 kB / 359.5 MB, free: 15.68 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.0002109/0.2481, allocations: 135.2 kB / 359.7 MB, free: 15.54 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001869/0.25, allocations: 1.106 MB / 360.8 MB, free: 14.41 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.25, allocations: 1.5 kB / 360.8 MB, free: 14.41 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005916/0.2506, allocations: 397 kB / 361.2 MB, free: 14 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004985/0.2511, allocations: 48.58 kB / 361.2 MB, free: 13.95 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001746/0.2528, allocations: 1.243 MB / 362.5 MB, free: 12.68 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004857/0.2533, allocations: 0.8408 MB / 363.3 MB, free: 11.82 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.001326/0.2547, allocations: 1.092 MB / 364.4 MB, free: 10.72 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001434/0.2548, allocations: 43.42 kB / 364.4 MB, free: 10.68 MB / 302.1 MB Notification: Performance of SimCode: time 3.11e-07/0.2548, allocations: 0 / 364.4 MB, free: 10.68 MB / 302.1 MB Notification: Performance of Templates: time 0.009749/0.2646, allocations: 5.375 MB / 369.8 MB, free: 5.309 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)