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.001544/0.001544, 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.001833/0.001833, allocations: 195.3 kB / 16.14 MB, free: 6.707 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.385/1.385, allocations: 205.1 MB / 222 MB, free: 4.949 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.00148/0.00148, allocations: 51.91 kB / 278.1 MB, free: 12.99 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2644/0.2659, allocations: 46.61 MB / 324.7 MB, free: 1.844 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode): time 0.006088/0.272, allocations: 4.111 MB / 328.8 MB, free: 14.6 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.003429/0.2755, allocations: 1.631 MB / 330.4 MB, free: 13.3 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006962/0.2762, allocations: 11.5 kB / 330.4 MB, free: 13.3 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002125/0.2784, allocations: 0.7327 MB / 331.2 MB, free: 12.76 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00174/0.2801, allocations: 0.5315 MB / 331.7 MB, free: 12.36 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001339/0.2815, allocations: 0.52 MB / 332.2 MB, free: 11.98 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.001005/0.2825, allocations: 0.5534 MB / 332.8 MB, free: 11.65 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001065/0.2836, allocations: 446.8 kB / 333.2 MB, free: 11.37 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006833/0.2843, allocations: 245.8 kB / 333.4 MB, free: 11.23 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006639/0.285, allocations: 319.3 kB / 333.8 MB, free: 11.02 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001423/0.2851, allocations: 40.5 kB / 333.8 MB, free: 11.02 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000715/0.2858, allocations: 228.4 kB / 334 MB, free: 10.82 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001127/0.286, allocations: 123.5 kB / 334.1 MB, free: 10.7 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003064/0.2863, allocations: 282.5 kB / 334.4 MB, free: 10.42 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001045/0.2873, allocations: 0.8293 MB / 335.2 MB, free: 9.59 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.2873, allocations: 0 / 335.2 MB, free: 9.59 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.2874, allocations: 4 kB / 335.2 MB, free: 9.586 MB / 270.1 MB Notification: Performance of Transformations before backend: time 9.187e-06/0.2874, allocations: 4 kB / 335.2 MB, free: 9.582 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.002519/0.2899, allocations: 1.034 MB / 336.3 MB, free: 8.496 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.469e-05/0.2899, allocations: 12.03 kB / 336.3 MB, free: 8.484 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004329/0.2943, allocations: 0.6012 MB / 336.9 MB, free: 7.883 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000712/0.295, allocations: 385.3 kB / 337.3 MB, free: 7.469 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.7e-05/0.2951, allocations: 46.38 kB / 337.3 MB, free: 7.422 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001225/0.2952, allocations: 68.38 kB / 337.4 MB, free: 7.355 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001381/0.2966, allocations: 0.8094 MB / 338.2 MB, free: 6.535 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.104e-05/0.2967, allocations: 7.906 kB / 338.2 MB, free: 6.527 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.034e-05/0.2967, allocations: 28 kB / 338.2 MB, free: 6.5 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.585e-05/0.2968, allocations: 26 kB / 338.3 MB, free: 6.473 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001454/0.2982, allocations: 0.8316 MB / 339.1 MB, free: 5.645 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004092/0.3023, allocations: 2.723 MB / 341.8 MB, free: 2.742 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002122/0.3045, allocations: 1.961 MB / 343.8 MB, free: 456 kB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004875/0.305, allocations: 250.1 kB / 344 MB, free: 204 kB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.318e-05/0.3051, allocations: 97.52 kB / 344.1 MB, free: 88 kB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.178e-05/0.3051, allocations: 35 kB / 344.1 MB, free: 44 kB / 270.1 MB Notification: Performance of pre-optimization done (n=48): time 5.62e-06/0.3051, allocations: 0 / 344.1 MB, free: 44 kB / 270.1 MB Notification: Performance of matching and sorting (n=48): time 0.002036/0.3072, allocations: 0.8324 MB / 345 MB, free: 15.18 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.204e-05/0.3072, allocations: 59.78 kB / 345 MB, free: 15.11 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003707/0.3076, allocations: 312.4 kB / 345.3 MB, free: 14.79 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 4.627e-05/0.3077, allocations: 37.7 kB / 345.4 MB, free: 14.75 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001946/0.3079, allocations: 287.6 kB / 345.7 MB, free: 14.46 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001452/0.308, allocations: 165.6 kB / 345.8 MB, free: 14.3 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001887/0.3082, allocations: 114.2 kB / 345.9 MB, free: 14.18 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.00014/0.3084, allocations: 342.8 kB / 346.3 MB, free: 13.84 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004699/0.3088, allocations: 215.4 kB / 346.5 MB, free: 13.62 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005618/0.3094, allocations: 394.3 kB / 346.9 MB, free: 13.16 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001058/0.3105, allocations: 0.6156 MB / 347.5 MB, free: 12.46 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.256e-06/0.3105, allocations: 4 kB / 347.5 MB, free: 12.46 MB / 286.1 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001419/0.3119, allocations: 0.6966 MB / 348.2 MB, free: 11.75 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.463e-05/0.312, allocations: 12.16 kB / 348.2 MB, free: 11.74 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.668e-05/0.312, allocations: 8 kB / 348.2 MB, free: 11.73 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002676/0.3123, allocations: 60.83 kB / 348.3 MB, free: 11.67 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000547/0.3128, allocations: 139.7 kB / 348.4 MB, free: 11.53 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001669/0.3145, allocations: 1.588 MB / 350 MB, free: 9.805 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004712/0.315, allocations: 75.27 kB / 350.1 MB, free: 9.73 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.863e-05/0.3151, allocations: 32.05 kB / 350.1 MB, free: 9.699 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005965/0.3157, allocations: 329.4 kB / 350.4 MB, free: 9.375 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005227/0.3162, allocations: 382.3 kB / 350.8 MB, free: 8.918 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009464/0.3172, allocations: 0.6118 MB / 351.4 MB, free: 8.223 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.979e-06/0.3172, allocations: 0 / 351.4 MB, free: 8.223 MB / 286.1 MB Notification: Performance of matching and sorting (n=74) (initialization_lambda0): time 0.001303/0.3185, allocations: 0.6925 MB / 352.1 MB, free: 7.52 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.383e-05/0.3185, allocations: 11.94 kB / 352.1 MB, free: 7.508 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.278e-06/0.3185, allocations: 8 kB / 352.1 MB, free: 7.5 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000194/0.3187, allocations: 65.31 kB / 352.2 MB, free: 7.434 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005102/0.3193, allocations: 139.9 kB / 352.3 MB, free: 7.297 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001431/0.3207, allocations: 1.592 MB / 353.9 MB, free: 5.566 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003837/0.3211, allocations: 51.58 kB / 353.9 MB, free: 5.516 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.097e-05/0.3211, allocations: 31.98 kB / 354 MB, free: 5.484 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.0002047/0.3214, allocations: 212.1 kB / 354.2 MB, free: 5.27 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.318e-05/0.3215, allocations: 47.53 kB / 354.2 MB, free: 5.223 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001314/0.3228, allocations: 0.6141 MB / 354.8 MB, free: 4.602 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.863e-06/0.3228, allocations: 4 kB / 354.8 MB, free: 4.598 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.824e-06/0.3228, allocations: 11.88 kB / 354.9 MB, free: 4.586 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.791e-06/0.3228, allocations: 0 / 354.9 MB, free: 4.586 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002056/0.3249, allocations: 1.289 MB / 356.1 MB, free: 3.242 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.496e-06/0.3249, allocations: 0 / 356.1 MB, free: 3.242 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004338/0.3253, allocations: 91.88 kB / 356.2 MB, free: 3.152 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001901/0.3256, allocations: 64.83 kB / 356.3 MB, free: 3.086 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.625e-05/0.3256, allocations: 12 kB / 356.3 MB, free: 3.074 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001324/0.3269, allocations: 1.581 MB / 357.9 MB, free: 1.355 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.327, allocations: 0 / 357.9 MB, free: 1.355 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00166/0.3286, allocations: 0.9247 MB / 358.8 MB, free: 420 kB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001739/0.3288, allocations: 148.6 kB / 359 MB, free: 252 kB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.603e-05/0.3289, allocations: 4 kB / 359 MB, free: 248 kB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003105/0.3292, allocations: 23.98 kB / 359 MB, free: 224 kB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001005/0.3293, allocations: 40.41 kB / 359 MB, free: 184 kB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.536e-05/0.3294, allocations: 12 kB / 359 MB, free: 172 kB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0002485/0.3296, allocations: 223.1 kB / 359.3 MB, free: 15.95 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.3296, allocations: 0 / 359.3 MB, free: 15.95 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.001121/0.3307, allocations: 279.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.0002892/0.331, allocations: 139.3 kB / 359.7 MB, free: 15.54 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.002185/0.3332, allocations: 1.103 MB / 360.8 MB, free: 14.41 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.3333, allocations: 0.5625 kB / 360.8 MB, free: 14.41 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006397/0.3339, allocations: 396.9 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.0005364/0.3344, 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.002284/0.3367, allocations: 1.246 MB / 362.5 MB, free: 12.68 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004786/0.3372, allocations: 0.8447 MB / 363.3 MB, free: 11.81 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.001435/0.3387, allocations: 1.088 MB / 364.4 MB, free: 10.72 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001523/0.3388, allocations: 51.42 kB / 364.4 MB, free: 10.68 MB / 302.1 MB Notification: Performance of SimCode: time 2.144e-06/0.3389, allocations: 0 / 364.4 MB, free: 10.68 MB / 302.1 MB Notification: Performance of Templates: time 0.01134/0.3502, allocations: 5.374 MB / 369.8 MB, free: 5.301 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)