Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_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.2_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.2_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.001102/0.001102, allocations: 112.1 kB / 16.62 MB, free: 6.801 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.001059/0.001059, allocations: 190 kB / 17.55 MB, free: 5.918 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.391/1.391, allocations: 205.1 MB / 223.4 MB, free: 12.36 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.001145/0.001146, allocations: 48.14 kB / 279.5 MB, free: 3.473 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07858/0.07974, allocations: 46.62 MB / 326.1 MB, free: 4.781 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode): time 0.005045/0.08482, allocations: 4.111 MB / 330.2 MB, free: 0.6406 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002782/0.08764, allocations: 1.621 MB / 331.9 MB, free: 15.01 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002793/0.08797, allocations: 12 kB / 331.9 MB, free: 15 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001747/0.08973, allocations: 0.7239 MB / 332.6 MB, free: 14.27 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001122/0.09086, allocations: 0.5251 MB / 333.1 MB, free: 13.75 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009724/0.09184, allocations: 0.5024 MB / 333.6 MB, free: 13.24 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006374/0.09249, allocations: 0.5836 MB / 334.2 MB, free: 12.66 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007552/0.09326, allocations: 0.5432 MB / 334.8 MB, free: 12.11 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003171/0.09359, allocations: 266.9 kB / 335 MB, free: 11.85 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003029/0.0939, allocations: 330.6 kB / 335.3 MB, free: 11.52 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 6.633e-05/0.09398, allocations: 60 kB / 335.4 MB, free: 11.46 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004/0.09438, allocations: 243.8 kB / 335.6 MB, free: 11.23 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 9.57e-05/0.09449, allocations: 147.4 kB / 335.8 MB, free: 11.08 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000211/0.09471, allocations: 294.5 kB / 336.1 MB, free: 10.79 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007979/0.09551, allocations: 0.8372 MB / 336.9 MB, free: 9.953 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.09553, allocations: 0 / 336.9 MB, free: 9.953 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.09554, allocations: 0 / 336.9 MB, free: 9.953 MB / 286.1 MB Notification: Performance of Transformations before backend: time 8.597e-06/0.09555, allocations: 0 / 336.9 MB, free: 9.953 MB / 286.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.00232/0.09788, allocations: 1.05 MB / 338 MB, free: 8.855 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.523e-05/0.09792, allocations: 8.031 kB / 338 MB, free: 8.848 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004344/0.1023, allocations: 0.6012 MB / 338.6 MB, free: 8.246 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007091/0.103, allocations: 385.3 kB / 338.9 MB, free: 7.828 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.405e-05/0.1031, allocations: 50.38 kB / 339 MB, free: 7.781 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001162/0.1032, allocations: 76.22 kB / 339.1 MB, free: 7.707 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001381/0.1046, allocations: 0.8016 MB / 339.9 MB, free: 6.891 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.816e-05/0.1046, allocations: 3.984 kB / 339.9 MB, free: 6.887 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.342e-05/0.1047, allocations: 32 kB / 339.9 MB, free: 6.855 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.002e-05/0.1047, allocations: 29.98 kB / 339.9 MB, free: 6.828 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001441/0.1062, allocations: 0.8355 MB / 340.8 MB, free: 5.992 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004131/0.1103, allocations: 2.711 MB / 343.5 MB, free: 3.102 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001959/0.1123, allocations: 1.967 MB / 345.4 MB, free: 0.8008 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004375/0.1128, allocations: 246.1 kB / 345.7 MB, free: 0.5586 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.756e-05/0.1129, allocations: 97.83 kB / 345.8 MB, free: 456 kB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.065e-05/0.1129, allocations: 50.98 kB / 345.8 MB, free: 396 kB / 286.1 MB Notification: Performance of pre-optimization done (n=48): time 2.856e-06/0.1129, allocations: 0 / 345.8 MB, free: 396 kB / 286.1 MB Notification: Performance of matching and sorting (n=48): time 0.001894/0.1148, allocations: 0.8207 MB / 346.7 MB, free: 15.54 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.144e-05/0.1149, allocations: 63.78 kB / 346.7 MB, free: 15.46 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003418/0.1153, allocations: 316.3 kB / 347 MB, free: 15.14 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.944e-05/0.1153, allocations: 33.7 kB / 347.1 MB, free: 15.1 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002206/0.1155, allocations: 291.7 kB / 347.3 MB, free: 14.81 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001175/0.1157, allocations: 161.6 kB / 347.5 MB, free: 14.65 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001763/0.1158, allocations: 118.2 kB / 347.6 MB, free: 14.53 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001237/0.116, allocations: 346.8 kB / 348 MB, free: 14.18 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004189/0.1164, allocations: 207.4 kB / 348.2 MB, free: 13.98 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004953/0.1169, allocations: 390.3 kB / 348.5 MB, free: 13.52 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009192/0.1178, allocations: 0.6116 MB / 349.1 MB, free: 12.82 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.017e-06/0.1178, allocations: 4 kB / 349.2 MB, free: 12.82 MB / 302.1 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0013/0.1192, allocations: 0.7041 MB / 349.9 MB, free: 12.1 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.153e-05/0.1192, allocations: 11.98 kB / 349.9 MB, free: 12.09 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.126e-05/0.1192, allocations: 8 kB / 349.9 MB, free: 12.08 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002549/0.1195, allocations: 65.33 kB / 349.9 MB, free: 12.02 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005188/0.12, allocations: 131.8 kB / 350.1 MB, free: 11.89 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001535/0.1215, allocations: 1.771 MB / 351.8 MB, free: 9.973 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004082/0.122, allocations: 71.27 kB / 351.9 MB, free: 9.902 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.036e-05/0.122, allocations: 36.05 kB / 351.9 MB, free: 9.867 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005262/0.1226, allocations: 329.4 kB / 352.3 MB, free: 9.543 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004895/0.1231, allocations: 382.3 kB / 352.6 MB, free: 9.086 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008802/0.124, allocations: 0.6119 MB / 353.3 MB, free: 8.391 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.497e-06/0.124, allocations: 0 / 353.3 MB, free: 8.391 MB / 302.1 MB Notification: Performance of matching and sorting (n=74) (initialization_lambda0): time 0.001271/0.1252, allocations: 0.6926 MB / 353.9 MB, free: 7.688 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.137e-05/0.1253, allocations: 8 kB / 354 MB, free: 7.68 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.806e-06/0.1253, allocations: 8 kB / 354 MB, free: 7.672 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001846/0.1255, allocations: 69.38 kB / 354 MB, free: 7.602 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005014/0.126, allocations: 139.7 kB / 354.2 MB, free: 7.465 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001488/0.1275, allocations: 1.775 MB / 355.9 MB, free: 5.551 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003728/0.1279, allocations: 51.52 kB / 356 MB, free: 5.5 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.842e-05/0.1279, allocations: 39.98 kB / 356 MB, free: 5.461 MB / 302.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.0001965/0.1281, allocations: 216.1 kB / 356.2 MB, free: 5.242 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.908e-05/0.1282, allocations: 35.62 kB / 356.3 MB, free: 5.207 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001304/0.1295, allocations: 0.6063 MB / 356.9 MB, free: 4.586 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.382e-06/0.1296, allocations: 4 kB / 356.9 MB, free: 4.582 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.025e-06/0.1296, allocations: 4 kB / 356.9 MB, free: 4.578 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.193e-06/0.1296, allocations: 3.984 kB / 356.9 MB, free: 4.574 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001959/0.1315, allocations: 1.297 MB / 358.2 MB, free: 3.223 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.1316, allocations: 4 kB / 358.2 MB, free: 3.219 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004163/0.132, allocations: 92 kB / 358.3 MB, free: 3.129 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001786/0.1322, allocations: 56.77 kB / 358.3 MB, free: 3.07 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.856e-05/0.1322, allocations: 15.98 kB / 358.4 MB, free: 3.055 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001392/0.1336, allocations: 1.755 MB / 360.1 MB, free: 1.156 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.564e-06/0.1336, allocations: 3.984 kB / 360.1 MB, free: 1.152 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001521/0.1352, allocations: 0.9169 MB / 361 MB, free: 220 kB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001504/0.1353, allocations: 152.5 kB / 361.2 MB, free: 48 kB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.873e-05/0.1354, allocations: 11.94 kB / 361.2 MB, free: 36 kB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002898/0.1357, allocations: 23.92 kB / 361.2 MB, free: 12 kB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001155/0.1358, allocations: 36.39 kB / 361.2 MB, free: 15.98 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.014e-05/0.1359, allocations: 24.11 kB / 361.3 MB, free: 15.95 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002059/0.1361, allocations: 211.1 kB / 361.5 MB, free: 15.75 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1361, allocations: 64 / 361.5 MB, free: 15.75 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0009901/0.1371, allocations: 283.1 kB / 361.8 MB, free: 15.47 MB / 318.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.0002217/0.1373, allocations: 131.2 kB / 361.9 MB, free: 15.34 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002056/0.1394, allocations: 1.123 MB / 363 MB, free: 14.19 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.1394, allocations: 0 / 363 MB, free: 14.19 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005924/0.14, allocations: 401.2 kB / 363.4 MB, free: 13.78 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004828/0.1405, allocations: 40.66 kB / 363.4 MB, free: 13.74 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001828/0.1423, allocations: 1.24 MB / 364.7 MB, free: 12.48 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003522/0.1427, allocations: 0.8447 MB / 365.5 MB, free: 11.61 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.001338/0.144, allocations: 1.092 MB / 366.6 MB, free: 10.51 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001426/0.1442, allocations: 51.42 kB / 366.7 MB, free: 10.46 MB / 318.1 MB Notification: Performance of SimCode: time 6.01e-07/0.1442, allocations: 0 / 366.7 MB, free: 10.46 MB / 318.1 MB Notification: Performance of Templates: time 0.01023/0.1544, allocations: 5.641 MB / 372.3 MB, free: 4.816 MB / 318.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode.sim & ./Modelica_3.2.2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode.pipe 2>&1)