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.001608/0.001608, allocations: 108 kB / 15.61 MB, free: 148 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001777/0.001777, allocations: 197.1 kB / 16.53 MB, free: 6.656 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.358/1.358, allocations: 205.1 MB / 222.4 MB, free: 4.582 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.001196/0.001196, allocations: 63.86 kB / 278.7 MB, free: 12.34 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.226/0.2272, allocations: 46.62 MB / 325.3 MB, free: 1.852 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode): time 0.004884/0.2321, allocations: 4.092 MB / 329.4 MB, free: 14.61 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.003126/0.2352, allocations: 1.648 MB / 331.1 MB, free: 13.28 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002322/0.2355, allocations: 12.44 kB / 331.1 MB, free: 13.28 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0019/0.2374, allocations: 0.7783 MB / 331.8 MB, free: 12.7 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001294/0.2387, allocations: 0.5818 MB / 332.4 MB, free: 12.25 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001145/0.2399, allocations: 0.5295 MB / 333 MB, free: 11.85 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007598/0.2406, allocations: 0.5874 MB / 333.5 MB, free: 11.5 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008283/0.2415, allocations: 0.5077 MB / 334 MB, free: 11.16 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003378/0.2418, allocations: 263 kB / 334.3 MB, free: 10.9 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003803/0.2422, allocations: 322.6 kB / 334.6 MB, free: 10.59 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 9.962e-05/0.2423, allocations: 56 kB / 334.7 MB, free: 10.53 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005024/0.2428, allocations: 247.8 kB / 334.9 MB, free: 10.29 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000112/0.243, allocations: 135.5 kB / 335.1 MB, free: 10.16 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002652/0.2432, allocations: 298.5 kB / 335.3 MB, free: 9.863 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001037/0.2443, allocations: 0.8294 MB / 336.2 MB, free: 9.031 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.214e-06/0.2443, allocations: 4 kB / 336.2 MB, free: 9.027 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.345e-06/0.2443, allocations: 4 kB / 336.2 MB, free: 9.023 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.033e-05/0.2443, allocations: 0 / 336.2 MB, free: 9.023 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.002334/0.2467, allocations: 1.003 MB / 337.2 MB, free: 7.973 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.801e-05/0.2467, allocations: 12.03 kB / 337.2 MB, free: 7.961 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004371/0.2511, allocations: 0.6128 MB / 337.8 MB, free: 7.348 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006139/0.2517, allocations: 377.4 kB / 338.2 MB, free: 6.938 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.978e-05/0.2518, allocations: 50.38 kB / 338.2 MB, free: 6.891 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001171/0.2519, allocations: 64.38 kB / 338.3 MB, free: 6.828 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001278/0.2532, allocations: 0.743 MB / 339 MB, free: 6.07 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.709e-05/0.2532, allocations: 7.906 kB / 339 MB, free: 6.062 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.487e-05/0.2533, allocations: 28 kB / 339.1 MB, free: 6.035 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.746e-05/0.2533, allocations: 16 kB / 339.1 MB, free: 6.02 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001364/0.2547, allocations: 0.7144 MB / 339.8 MB, free: 5.309 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003753/0.2585, allocations: 2.542 MB / 342.3 MB, free: 2.582 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002166/0.2607, allocations: 1.955 MB / 344.3 MB, free: 304 kB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004158/0.2611, allocations: 214.1 kB / 344.5 MB, free: 84 kB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001176/0.2612, allocations: 93.55 kB / 344.6 MB, free: 15.97 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.306e-05/0.2613, allocations: 35 kB / 344.6 MB, free: 15.93 MB / 286.1 MB Notification: Performance of pre-optimization done (n=48): time 2.755e-06/0.2613, allocations: 0 / 344.6 MB, free: 15.93 MB / 286.1 MB Notification: Performance of matching and sorting (n=48): time 0.001812/0.2631, allocations: 0.7116 MB / 345.3 MB, free: 15.19 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.862e-05/0.2631, allocations: 59.78 kB / 345.4 MB, free: 15.12 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003256/0.2635, allocations: 316.4 kB / 345.7 MB, free: 14.8 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 4.075e-05/0.2635, allocations: 33.7 kB / 345.7 MB, free: 14.77 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001781/0.2637, allocations: 287.7 kB / 346 MB, free: 14.48 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001163/0.2638, allocations: 165.6 kB / 346.2 MB, free: 14.32 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001704/0.264, allocations: 110.2 kB / 346.3 MB, free: 14.2 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001377/0.2642, allocations: 346.8 kB / 346.6 MB, free: 13.86 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003748/0.2645, allocations: 167.4 kB / 346.8 MB, free: 13.69 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004727/0.265, allocations: 353.1 kB / 347.1 MB, free: 13.27 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000909/0.2659, allocations: 0.5494 MB / 347.7 MB, free: 12.63 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.711e-06/0.266, allocations: 4 kB / 347.7 MB, free: 12.63 MB / 286.1 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001234/0.2672, allocations: 0.6176 MB / 348.3 MB, free: 12 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.836e-05/0.2672, allocations: 8.125 kB / 348.3 MB, free: 11.99 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.125e-05/0.2672, allocations: 8 kB / 348.3 MB, free: 11.98 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002609/0.2675, allocations: 56.83 kB / 348.4 MB, free: 11.93 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005333/0.2681, allocations: 131.8 kB / 348.5 MB, free: 11.8 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001785/0.2699, allocations: 1.775 MB / 350.3 MB, free: 9.879 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004091/0.2703, allocations: 71.27 kB / 350.4 MB, free: 9.809 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.136e-05/0.2703, allocations: 28 kB / 350.4 MB, free: 9.781 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004783/0.2708, allocations: 289.4 kB / 350.7 MB, free: 9.496 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000436/0.2713, allocations: 345.2 kB / 351 MB, free: 9.082 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008183/0.2721, allocations: 0.5299 MB / 351.5 MB, free: 8.473 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.128e-06/0.2721, allocations: 4 kB / 351.5 MB, free: 8.469 MB / 286.1 MB Notification: Performance of matching and sorting (n=74) (initialization_lambda0): time 0.00111/0.2732, allocations: 0.6098 MB / 352.1 MB, free: 7.852 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.479e-05/0.2733, allocations: 12.12 kB / 352.2 MB, free: 7.84 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.154e-06/0.2733, allocations: 11.94 kB / 352.2 MB, free: 7.828 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001811/0.2735, allocations: 56.77 kB / 352.2 MB, free: 7.77 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000472/0.2739, allocations: 131.8 kB / 352.4 MB, free: 7.641 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001497/0.2754, allocations: 1.783 MB / 354.1 MB, free: 5.719 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003498/0.2758, allocations: 43.59 kB / 354.2 MB, free: 5.676 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.786e-05/0.2759, allocations: 35.92 kB / 354.2 MB, free: 5.641 MB / 286.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.0001712/0.276, allocations: 216.1 kB / 354.4 MB, free: 5.422 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.684e-05/0.2761, allocations: 39.53 kB / 354.5 MB, free: 5.383 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00121/0.2773, allocations: 0.5322 MB / 355 MB, free: 4.84 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.576e-06/0.2774, allocations: 8 kB / 355 MB, free: 4.832 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.595e-06/0.2774, allocations: 3.938 kB / 355 MB, free: 4.828 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.504e-06/0.2774, allocations: 3.984 kB / 355 MB, free: 4.824 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001778/0.2792, allocations: 1.152 MB / 356.2 MB, free: 3.617 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.2792, allocations: 0 / 356.2 MB, free: 3.617 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004022/0.2796, allocations: 79.89 kB / 356.2 MB, free: 3.539 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000175/0.2798, allocations: 52.83 kB / 356.3 MB, free: 3.484 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.002e-05/0.2798, allocations: 15.98 kB / 356.3 MB, free: 3.469 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001457/0.2813, allocations: 1.763 MB / 358.1 MB, free: 1.566 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.2813, allocations: 0 / 358.1 MB, free: 1.566 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001459/0.2828, allocations: 0.7802 MB / 358.8 MB, free: 0.7656 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001637/0.2829, allocations: 144.7 kB / 359 MB, free: 0.6055 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.705e-05/0.283, allocations: 15.94 kB / 359 MB, free: 0.5898 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002946/0.2833, allocations: 19.98 kB / 359 MB, free: 0.5703 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001007/0.2834, allocations: 36.38 kB / 359.1 MB, free: 0.5352 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.667e-05/0.2834, allocations: 16.06 kB / 359.1 MB, free: 0.5195 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0002196/0.2837, allocations: 211.1 kB / 359.3 MB, free: 324 kB / 286.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2837, allocations: 0 / 359.3 MB, free: 324 kB / 286.1 MB Notification: Performance of remove unused functions: time 0.001086/0.2848, allocations: 275 kB / 359.6 MB, free: 48 kB / 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 (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.0002625/0.285, allocations: 131.1 kB / 359.7 MB, free: 15.91 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.002174/0.2872, allocations: 0.9993 MB / 360.7 MB, free: 14.89 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.649e-06/0.2872, allocations: 8.062 kB / 360.7 MB, free: 14.88 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006004/0.2879, allocations: 364.9 kB / 361 MB, free: 14.51 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005112/0.2884, allocations: 44.59 kB / 361.1 MB, free: 14.46 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001884/0.2903, allocations: 0.9758 MB / 362.1 MB, free: 13.46 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004504/0.2907, allocations: 0.8369 MB / 362.9 MB, free: 12.59 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0004221/0.2912, allocations: 92.12 kB / 363 MB, free: 12.5 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001048/0.2913, allocations: 39.44 kB / 363 MB, free: 12.46 MB / 302.1 MB Notification: Performance of SimCode: time 3.41e-07/0.2913, allocations: 0 / 363 MB, free: 12.46 MB / 302.1 MB Notification: Performance of Templates: time 0.01209/0.3034, allocations: 5.119 MB / 368.1 MB, free: 7.344 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)