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.0009742/0.0009788, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.00126/0.00126, allocations: 192.4 kB / 16.25 MB, free: 6.629 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.305/1.305, allocations: 205.1 MB / 222.1 MB, free: 4.715 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.001151/0.001151, allocations: 43.94 kB / 278.2 MB, free: 12.67 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.202/0.2032, allocations: 46.63 MB / 324.9 MB, free: 1.949 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode): time 0.004695/0.2079, allocations: 4.111 MB / 329 MB, free: 14.7 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002602/0.2106, allocations: 1.609 MB / 330.6 MB, free: 13.42 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002314/0.2108, allocations: 12.09 kB / 330.6 MB, free: 13.42 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001706/0.2126, allocations: 0.724 MB / 331.3 MB, free: 12.89 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001273/0.2138, allocations: 0.5272 MB / 331.8 MB, free: 12.5 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001197/0.2151, allocations: 0.5015 MB / 332.3 MB, free: 12.12 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009428/0.216, allocations: 0.5864 MB / 332.9 MB, free: 11.78 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001157/0.2172, allocations: 0.5452 MB / 333.5 MB, free: 11.44 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004714/0.2177, allocations: 272.2 kB / 333.7 MB, free: 11.21 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000465/0.2182, allocations: 322.7 kB / 334 MB, free: 10.89 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001085/0.2183, allocations: 60 kB / 334.1 MB, free: 10.83 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004827/0.2188, allocations: 251.8 kB / 334.4 MB, free: 10.59 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 9.751e-05/0.2189, allocations: 143.4 kB / 334.5 MB, free: 10.45 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002163/0.2191, allocations: 298.5 kB / 334.8 MB, free: 10.15 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008467/0.22, allocations: 0.845 MB / 335.6 MB, free: 9.305 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.22, allocations: 0 / 335.6 MB, free: 9.305 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.22, allocations: 0 / 335.6 MB, free: 9.305 MB / 270.1 MB Notification: Performance of Transformations before backend: time 8.186e-06/0.22, allocations: 0 / 335.6 MB, free: 9.305 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.002409/0.2224, allocations: 1.038 MB / 336.7 MB, free: 8.219 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.044e-05/0.2225, allocations: 12.03 kB / 336.7 MB, free: 8.207 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004225/0.2267, allocations: 0.6011 MB / 337.3 MB, free: 7.605 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005764/0.2273, allocations: 385.3 kB / 337.7 MB, free: 7.188 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.263e-05/0.2273, allocations: 50.31 kB / 337.7 MB, free: 7.141 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001294/0.2275, allocations: 68.38 kB / 337.8 MB, free: 7.074 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001289/0.2288, allocations: 0.8055 MB / 338.6 MB, free: 6.254 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.378e-05/0.2288, allocations: 3.906 kB / 338.6 MB, free: 6.25 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.751e-05/0.2289, allocations: 32 kB / 338.6 MB, free: 6.219 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.353e-05/0.2289, allocations: 22 kB / 338.6 MB, free: 6.199 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00141/0.2303, allocations: 0.8394 MB / 339.5 MB, free: 5.359 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003671/0.234, allocations: 2.711 MB / 342.2 MB, free: 2.469 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001797/0.2358, allocations: 1.963 MB / 344.1 MB, free: 176 kB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000435/0.2363, allocations: 246.1 kB / 344.4 MB, free: 15.93 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.651e-05/0.2364, allocations: 97.47 kB / 344.5 MB, free: 15.82 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.623e-05/0.2364, allocations: 43 kB / 344.5 MB, free: 15.77 MB / 286.1 MB Notification: Performance of pre-optimization done (n=48): time 1.893e-06/0.2364, allocations: 0 / 344.5 MB, free: 15.77 MB / 286.1 MB Notification: Performance of matching and sorting (n=48): time 0.001795/0.2382, allocations: 0.8246 MB / 345.4 MB, free: 14.91 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.223e-05/0.2383, allocations: 63.72 kB / 345.4 MB, free: 14.84 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002935/0.2386, allocations: 312.4 kB / 345.7 MB, free: 14.52 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 4.426e-05/0.2386, allocations: 33.7 kB / 345.8 MB, free: 14.48 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000157/0.2388, allocations: 296 kB / 346 MB, free: 14.19 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001184/0.2389, allocations: 161.6 kB / 346.2 MB, free: 14.03 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001673/0.2391, allocations: 122.2 kB / 346.3 MB, free: 13.9 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001187/0.2392, allocations: 346.8 kB / 346.7 MB, free: 13.55 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004157/0.2396, allocations: 207.4 kB / 346.9 MB, free: 13.35 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000513/0.2401, allocations: 394.3 kB / 347.2 MB, free: 12.88 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009111/0.2411, allocations: 0.6117 MB / 347.9 MB, free: 12.19 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.546e-06/0.2411, allocations: 0 / 347.9 MB, free: 12.19 MB / 286.1 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001268/0.2424, allocations: 0.708 MB / 348.6 MB, free: 11.47 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.95e-05/0.2424, allocations: 8 kB / 348.6 MB, free: 11.46 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.898e-06/0.2424, allocations: 4 kB / 348.6 MB, free: 11.46 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002574/0.2427, allocations: 65.33 kB / 348.6 MB, free: 11.39 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005193/0.2432, allocations: 135.8 kB / 348.8 MB, free: 11.26 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001463/0.2447, allocations: 1.779 MB / 350.6 MB, free: 9.336 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000383/0.2451, allocations: 71.27 kB / 350.6 MB, free: 9.266 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.664e-05/0.2451, allocations: 32.05 kB / 350.7 MB, free: 9.234 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005352/0.2457, allocations: 337.4 kB / 351 MB, free: 8.902 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004865/0.2462, allocations: 382.3 kB / 351.4 MB, free: 8.445 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008607/0.247, allocations: 0.6079 MB / 352 MB, free: 7.754 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.445e-06/0.2471, allocations: 0 / 352 MB, free: 7.754 MB / 286.1 MB Notification: Performance of matching and sorting (n=74) (initialization_lambda0): time 0.001168/0.2482, allocations: 0.6964 MB / 352.7 MB, free: 7.047 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.006e-05/0.2482, allocations: 4 kB / 352.7 MB, free: 7.043 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.456e-06/0.2483, allocations: 8 kB / 352.7 MB, free: 7.035 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001697/0.2484, allocations: 57.33 kB / 352.7 MB, free: 6.977 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004833/0.2489, allocations: 135.8 kB / 352.9 MB, free: 6.844 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001565/0.2505, allocations: 1.775 MB / 354.6 MB, free: 4.93 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003813/0.2509, allocations: 47.58 kB / 354.7 MB, free: 4.883 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.899e-05/0.251, allocations: 36 kB / 354.7 MB, free: 4.848 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.0002198/0.2512, allocations: 220.1 kB / 354.9 MB, free: 4.625 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.446e-05/0.2513, allocations: 43.47 kB / 355 MB, free: 4.582 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001267/0.2526, allocations: 0.6102 MB / 355.6 MB, free: 3.957 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.303e-06/0.2526, allocations: 8 kB / 355.6 MB, free: 3.949 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.496e-06/0.2526, allocations: 0 / 355.6 MB, free: 3.949 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.722e-06/0.2526, allocations: 3.984 kB / 355.6 MB, free: 3.945 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001959/0.2546, allocations: 1.297 MB / 356.9 MB, free: 2.594 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.2546, allocations: 0 / 356.9 MB, free: 2.594 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004087/0.255, allocations: 95.83 kB / 357 MB, free: 2.5 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001931/0.2552, allocations: 52.94 kB / 357 MB, free: 2.445 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.883e-05/0.2552, allocations: 16 kB / 357.1 MB, free: 2.43 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001434/0.2567, allocations: 1.767 MB / 358.8 MB, free: 0.5195 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.2567, allocations: 0 / 358.8 MB, free: 0.5195 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00154/0.2582, allocations: 0.917 MB / 359.7 MB, free: 15.58 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000142/0.2584, allocations: 144.7 kB / 359.9 MB, free: 15.42 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.818e-05/0.2585, allocations: 11.94 kB / 359.9 MB, free: 15.41 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002862/0.2588, allocations: 23.92 kB / 359.9 MB, free: 15.38 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.786e-05/0.2589, allocations: 36.38 kB / 359.9 MB, free: 15.35 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.613e-05/0.2589, allocations: 20 kB / 360 MB, free: 15.33 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001975/0.2591, allocations: 215.1 kB / 360.2 MB, free: 15.12 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2591, allocations: 0 / 360.2 MB, free: 15.12 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0009876/0.2601, allocations: 283.1 kB / 360.5 MB, free: 14.84 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.0002266/0.2603, allocations: 127.3 kB / 360.6 MB, free: 14.71 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.002052/0.2624, allocations: 1.131 MB / 361.7 MB, free: 13.56 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.2624, allocations: 0 / 361.7 MB, free: 13.56 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005671/0.263, allocations: 401 kB / 362.1 MB, free: 13.15 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004804/0.2635, allocations: 56.72 kB / 362.2 MB, free: 13.09 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001797/0.2653, allocations: 1.241 MB / 363.4 MB, free: 11.83 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003628/0.2657, allocations: 0.8369 MB / 364.2 MB, free: 10.96 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.001297/0.267, allocations: 1.092 MB / 365.3 MB, free: 9.867 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001396/0.2671, allocations: 51.41 kB / 365.4 MB, free: 9.82 MB / 302.1 MB Notification: Performance of SimCode: time 2.295e-06/0.2671, allocations: 0 / 365.4 MB, free: 9.82 MB / 302.1 MB Notification: Performance of Templates: time 0.009907/0.277, allocations: 5.651 MB / 371 MB, free: 4.168 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)