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.00869/0.008694, allocations: 101.3 kB / 15.73 MB, free: 6.047 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.001095/0.001095, allocations: 188.6 kB / 16.67 MB, free: 5.98 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.315/1.315, allocations: 205.1 MB / 222.5 MB, free: 12.23 MB / 190.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.001141/0.001141, allocations: 55.92 kB / 326.5 MB, free: 3.293 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08502/0.08617, allocations: 46.61 MB / 373.2 MB, free: 4.57 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode): time 0.005207/0.09141, allocations: 4.092 MB / 377.3 MB, free: 464 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.2138/0.3053, allocations: 1.636 MB / 378.9 MB, free: 9.684 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002195/0.3055, allocations: 13.69 kB / 378.9 MB, free: 9.684 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001601/0.3072, allocations: 0.7715 MB / 379.7 MB, free: 9.566 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001063/0.3082, allocations: 0.5721 MB / 380.2 MB, free: 9.426 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009974/0.3092, allocations: 0.5565 MB / 380.8 MB, free: 9.328 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008078/0.3101, allocations: 0.5964 MB / 381.4 MB, free: 9.199 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006931/0.3108, allocations: 0.4948 MB / 381.9 MB, free: 9.156 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000282/0.3111, allocations: 266.3 kB / 382.2 MB, free: 9.098 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003054/0.3114, allocations: 322.6 kB / 382.5 MB, free: 8.973 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.426e-05/0.3115, allocations: 56.16 kB / 382.5 MB, free: 8.973 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003977/0.3119, allocations: 248.9 kB / 382.8 MB, free: 8.906 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.839e-05/0.312, allocations: 139.6 kB / 382.9 MB, free: 8.82 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002098/0.3122, allocations: 294.6 kB / 383.2 MB, free: 8.637 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008922/0.3131, allocations: 0.8482 MB / 384 MB, free: 8.324 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.3131, allocations: 0 / 384 MB, free: 8.324 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.575e-06/0.3131, allocations: 1.438 kB / 384 MB, free: 8.324 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.621e-05/0.3131, allocations: 4 kB / 384 MB, free: 8.32 MB / 318.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.002158/0.3153, allocations: 1.001 MB / 385 MB, free: 7.664 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.657e-05/0.3153, allocations: 10.22 kB / 385.1 MB, free: 7.664 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004438/0.3198, allocations: 0.6068 MB / 385.7 MB, free: 7.566 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005802/0.3204, allocations: 392.2 kB / 386 MB, free: 7.242 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.386e-05/0.3204, allocations: 50.16 kB / 386.1 MB, free: 7.219 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001125/0.3205, allocations: 69.58 kB / 386.2 MB, free: 7.195 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001294/0.3218, allocations: 0.7333 MB / 386.9 MB, free: 6.875 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.757e-05/0.3219, allocations: 5.953 kB / 386.9 MB, free: 6.871 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.34e-05/0.322, allocations: 29.78 kB / 386.9 MB, free: 6.848 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.62e-05/0.322, allocations: 15.78 kB / 386.9 MB, free: 6.848 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001334/0.3233, allocations: 0.714 MB / 387.7 MB, free: 6.613 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0033/0.3266, allocations: 2.521 MB / 390.2 MB, free: 4.938 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001687/0.3283, allocations: 1.948 MB / 392.1 MB, free: 3.02 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003714/0.3287, allocations: 220.9 kB / 392.3 MB, free: 2.93 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.521e-05/0.3288, allocations: 95.08 kB / 392.4 MB, free: 2.832 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.785e-05/0.3288, allocations: 46.33 kB / 392.5 MB, free: 2.781 MB / 318.1 MB Notification: Performance of pre-optimization done (n=48): time 2.044e-06/0.3288, allocations: 0 / 392.5 MB, free: 2.781 MB / 318.1 MB Notification: Performance of matching and sorting (n=48): time 0.001676/0.3305, allocations: 0.7099 MB / 393.2 MB, free: 2.438 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.808e-05/0.3305, allocations: 60.06 kB / 393.3 MB, free: 2.371 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003511/0.3309, allocations: 312.4 kB / 393.6 MB, free: 2.191 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.028e-05/0.3309, allocations: 32.61 kB / 393.6 MB, free: 2.156 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001642/0.3311, allocations: 291.5 kB / 393.9 MB, free: 1.922 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000117/0.3312, allocations: 162.9 kB / 394 MB, free: 1.797 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001684/0.3314, allocations: 108.7 kB / 394.1 MB, free: 1.734 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.981e-05/0.3315, allocations: 347.5 kB / 394.5 MB, free: 1.406 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004109/0.3319, allocations: 173.7 kB / 394.6 MB, free: 1.34 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004856/0.3324, allocations: 345.7 kB / 395 MB, free: 1.055 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008443/0.3333, allocations: 0.5432 MB / 395.5 MB, free: 0.6523 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.841e-06/0.3333, allocations: 2.094 kB / 395.5 MB, free: 0.6523 MB / 318.1 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001141/0.3344, allocations: 0.624 MB / 396.2 MB, free: 388 kB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.525e-05/0.3345, allocations: 5.75 kB / 396.2 MB, free: 388 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.177e-06/0.3345, allocations: 11.41 kB / 396.2 MB, free: 384 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002353/0.3347, allocations: 59.81 kB / 396.2 MB, free: 368 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004945/0.3352, allocations: 129.7 kB / 396.4 MB, free: 352 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001568/0.3368, allocations: 1.776 MB / 398.1 MB, free: 14.67 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003906/0.3372, allocations: 68.27 kB / 398.2 MB, free: 14.63 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.854e-05/0.3373, allocations: 36.17 kB / 398.2 MB, free: 14.62 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004848/0.3378, allocations: 291.5 kB / 398.5 MB, free: 14.45 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004506/0.3382, allocations: 342 kB / 398.9 MB, free: 14.17 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007995/0.339, allocations: 0.5302 MB / 399.4 MB, free: 13.77 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.126e-06/0.339, allocations: 1.375 kB / 399.4 MB, free: 13.77 MB / 334.1 MB Notification: Performance of matching and sorting (n=74) (initialization_lambda0): time 0.001123/0.3402, allocations: 0.6135 MB / 400 MB, free: 13.5 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.226e-05/0.3402, allocations: 7.469 kB / 400 MB, free: 13.5 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/0.3402, allocations: 6.125 kB / 400 MB, free: 13.5 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001691/0.3404, allocations: 63.8 kB / 400.1 MB, free: 13.48 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004694/0.3409, allocations: 127.4 kB / 400.2 MB, free: 13.46 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001442/0.3423, allocations: 1.776 MB / 402 MB, free: 11.79 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003317/0.3427, allocations: 47.42 kB / 402 MB, free: 11.76 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.266e-05/0.3427, allocations: 27.12 kB / 402 MB, free: 11.76 MB / 334.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.0001719/0.3429, allocations: 221.4 kB / 402.3 MB, free: 11.54 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.638e-05/0.343, allocations: 42.64 kB / 402.3 MB, free: 11.52 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001165/0.3441, allocations: 0.5263 MB / 402.8 MB, free: 11.28 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.812e-06/0.3442, allocations: 5.609 kB / 402.8 MB, free: 11.28 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.813e-06/0.3442, allocations: 7.078 kB / 402.8 MB, free: 11.27 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.772e-06/0.3442, allocations: 2.062 kB / 402.8 MB, free: 11.27 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001824/0.346, allocations: 1.149 MB / 404 MB, free: 10.61 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/0.346, allocations: 3.938 kB / 404 MB, free: 10.61 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003899/0.3464, allocations: 85.27 kB / 404.1 MB, free: 10.6 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001774/0.3466, allocations: 51.22 kB / 404.1 MB, free: 10.58 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.888e-05/0.3467, allocations: 13.5 kB / 404.1 MB, free: 10.57 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001445/0.3481, allocations: 1.759 MB / 405.9 MB, free: 8.902 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.3481, allocations: 0.9844 kB / 405.9 MB, free: 8.902 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001396/0.3495, allocations: 0.7737 MB / 406.7 MB, free: 8.504 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001519/0.3497, allocations: 152.7 kB / 406.8 MB, free: 8.363 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.095e-05/0.3498, allocations: 13.38 kB / 406.8 MB, free: 8.355 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002788/0.35, allocations: 23.52 kB / 406.9 MB, free: 8.344 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.037e-05/0.3501, allocations: 37.3 kB / 406.9 MB, free: 8.336 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.843e-05/0.3502, allocations: 10.31 kB / 406.9 MB, free: 8.336 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002201/0.3504, allocations: 216.5 kB / 407.1 MB, free: 8.211 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3504, allocations: 0 / 407.1 MB, free: 8.211 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.001004/0.3514, allocations: 269 kB / 407.4 MB, free: 8.137 MB / 334.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.0002137/0.3516, allocations: 136.5 kB / 407.5 MB, free: 8.027 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001798/0.3534, allocations: 0.9886 MB / 408.5 MB, free: 7.531 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.3535, allocations: 1.469 kB / 408.5 MB, free: 7.531 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005674/0.354, allocations: 357.8 kB / 408.9 MB, free: 7.332 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004237/0.3545, allocations: 46.89 kB / 408.9 MB, free: 7.309 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001618/0.3561, allocations: 0.9655 MB / 409.9 MB, free: 6.719 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003957/0.3565, allocations: 0.8456 MB / 410.7 MB, free: 5.949 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0003388/0.3569, allocations: 89.36 kB / 410.8 MB, free: 5.898 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00011/0.357, allocations: 39.89 kB / 410.8 MB, free: 5.887 MB / 334.1 MB Notification: Performance of SimCode: time 1.593e-06/0.357, allocations: 3.938 kB / 410.8 MB, free: 5.883 MB / 334.1 MB Notification: Performance of Templates: time 0.009648/0.3666, allocations: 5.194 MB / 416 MB, free: 2.871 MB / 334.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)