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.008594/0.008594, allocations: 96.3 kB / 15.73 MB, free: 5.988 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.001729/0.001729, allocations: 187.6 kB / 16.67 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.492/1.492, allocations: 205.1 MB / 222.6 MB, free: 4.527 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.001223/0.001223, allocations: 54.17 kB / 326.5 MB, free: 14.42 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09154/0.09278, allocations: 46.62 MB / 373.2 MB, free: 1.336 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode): time 0.005096/0.09792, allocations: 4.093 MB / 377.3 MB, free: 13.21 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00269/0.1006, allocations: 1.648 MB / 378.9 MB, free: 11.56 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000214/0.1009, allocations: 12 kB / 378.9 MB, free: 11.55 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00174/0.1026, allocations: 0.7777 MB / 379.7 MB, free: 10.77 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001177/0.1038, allocations: 0.5829 MB / 380.3 MB, free: 10.18 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001008/0.1048, allocations: 0.5373 MB / 380.8 MB, free: 9.641 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006471/0.1055, allocations: 0.5913 MB / 381.4 MB, free: 9.047 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007094/0.1062, allocations: 0.5 MB / 381.9 MB, free: 8.543 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003174/0.1066, allocations: 270.9 kB / 382.2 MB, free: 8.277 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003296/0.1069, allocations: 326.7 kB / 382.5 MB, free: 7.957 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.934e-05/0.107, allocations: 56 kB / 382.5 MB, free: 7.902 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004233/0.1074, allocations: 239.8 kB / 382.8 MB, free: 7.668 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001107/0.1075, allocations: 143.5 kB / 382.9 MB, free: 7.527 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002473/0.1078, allocations: 294.5 kB / 383.2 MB, free: 7.238 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009446/0.1087, allocations: 0.8444 MB / 384.1 MB, free: 6.391 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.925e-06/0.1087, allocations: 4 kB / 384.1 MB, free: 6.387 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.1088, allocations: 3.938 kB / 384.1 MB, free: 6.383 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.064e-05/0.1088, allocations: 4 kB / 384.1 MB, free: 6.379 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.002159/0.1109, allocations: 1.018 MB / 385.1 MB, free: 5.309 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.25e-05/0.111, allocations: 8.031 kB / 385.1 MB, free: 5.301 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004421/0.1154, allocations: 0.6132 MB / 385.7 MB, free: 4.688 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000683/0.1161, allocations: 385.3 kB / 386.1 MB, free: 4.273 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.724e-05/0.1162, allocations: 58.31 kB / 386.1 MB, free: 4.215 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001042/0.1163, allocations: 68.38 kB / 386.2 MB, free: 4.148 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00134/0.1176, allocations: 0.7391 MB / 386.9 MB, free: 3.398 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.64e-05/0.1177, allocations: 3.953 kB / 386.9 MB, free: 3.395 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.788e-05/0.1177, allocations: 28 kB / 387 MB, free: 3.367 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.547e-05/0.1178, allocations: 20 kB / 387 MB, free: 3.348 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001356/0.1191, allocations: 0.7144 MB / 387.7 MB, free: 2.633 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003512/0.1226, allocations: 2.535 MB / 390.2 MB, free: 15.92 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002073/0.1247, allocations: 1.948 MB / 392.2 MB, free: 13.64 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004153/0.1252, allocations: 210.1 kB / 392.4 MB, free: 13.43 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001005/0.1253, allocations: 93.59 kB / 392.5 MB, free: 13.33 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.796e-05/0.1253, allocations: 39 kB / 392.5 MB, free: 13.28 MB / 334.1 MB Notification: Performance of pre-optimization done (n=48): time 2.255e-06/0.1253, allocations: 0 / 392.5 MB, free: 13.28 MB / 334.1 MB Notification: Performance of matching and sorting (n=48): time 0.001695/0.127, allocations: 0.7155 MB / 393.2 MB, free: 12.54 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.424e-05/0.1271, allocations: 59.78 kB / 393.3 MB, free: 12.46 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003286/0.1274, allocations: 312.5 kB / 393.6 MB, free: 12.15 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.312e-05/0.1275, allocations: 33.7 kB / 393.6 MB, free: 12.11 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001642/0.1276, allocations: 296.5 kB / 393.9 MB, free: 11.82 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001219/0.1278, allocations: 170.7 kB / 394.1 MB, free: 11.65 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001517/0.1279, allocations: 110.3 kB / 394.2 MB, free: 11.53 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001618/0.1281, allocations: 346.8 kB / 394.5 MB, free: 11.18 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003725/0.1285, allocations: 175.3 kB / 394.7 MB, free: 11.01 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004863/0.129, allocations: 345.2 kB / 395 MB, free: 10.59 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008789/0.1299, allocations: 0.5494 MB / 395.6 MB, free: 9.965 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.1299, allocations: 0 / 395.6 MB, free: 9.965 MB / 334.1 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001224/0.1311, allocations: 0.6218 MB / 396.2 MB, free: 9.332 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.483e-05/0.1311, allocations: 8 kB / 396.2 MB, free: 9.324 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.14e-05/0.1312, allocations: 8 kB / 396.2 MB, free: 9.316 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002936/0.1315, allocations: 60.83 kB / 396.3 MB, free: 9.254 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005243/0.132, allocations: 135.7 kB / 396.4 MB, free: 9.121 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001647/0.1337, allocations: 1.772 MB / 398.2 MB, free: 7.211 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004009/0.1341, allocations: 71.5 kB / 398.3 MB, free: 7.141 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.029e-05/0.1341, allocations: 32.06 kB / 398.3 MB, free: 7.109 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004741/0.1346, allocations: 293.3 kB / 398.6 MB, free: 6.82 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004351/0.1351, allocations: 337.2 kB / 398.9 MB, free: 6.414 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000782/0.1359, allocations: 0.5416 MB / 399.5 MB, free: 5.793 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.056e-06/0.1359, allocations: 0 / 399.5 MB, free: 5.793 MB / 334.1 MB Notification: Performance of matching and sorting (n=74) (initialization_lambda0): time 0.001148/0.137, allocations: 0.6174 MB / 400.1 MB, free: 5.168 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.229e-05/0.137, allocations: 8 kB / 400.1 MB, free: 5.16 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.304e-06/0.1371, allocations: 4 kB / 400.1 MB, free: 5.156 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001859/0.1372, allocations: 61.33 kB / 400.1 MB, free: 5.094 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004722/0.1377, allocations: 123.8 kB / 400.3 MB, free: 4.973 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001439/0.1392, allocations: 1.787 MB / 402.1 MB, free: 3.047 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003524/0.1395, allocations: 51.67 kB / 402.1 MB, free: 2.996 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.109e-05/0.1396, allocations: 31.92 kB / 402.1 MB, free: 2.965 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.0001784/0.1398, allocations: 212.1 kB / 402.3 MB, free: 2.75 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.521e-05/0.1399, allocations: 47.78 kB / 402.4 MB, free: 2.703 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001163/0.141, allocations: 0.5322 MB / 402.9 MB, free: 2.156 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.069e-06/0.1411, allocations: 4 kB / 402.9 MB, free: 2.152 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.046e-06/0.1411, allocations: 0 / 402.9 MB, free: 2.152 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.043e-06/0.1411, allocations: 3.984 kB / 402.9 MB, free: 2.148 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001725/0.1428, allocations: 1.147 MB / 404.1 MB, free: 0.9375 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.1428, allocations: 0 / 404.1 MB, free: 0.9375 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003998/0.1432, allocations: 83.89 kB / 404.2 MB, free: 0.8555 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001715/0.1434, allocations: 56.77 kB / 404.2 MB, free: 0.7969 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.886e-05/0.1434, allocations: 8 kB / 404.2 MB, free: 0.7891 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001441/0.1449, allocations: 1.767 MB / 406 MB, free: 14.89 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.065e-06/0.1449, allocations: 8.094 kB / 406 MB, free: 14.88 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001406/0.1463, allocations: 0.7737 MB / 406.8 MB, free: 14.09 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001752/0.1465, allocations: 152.8 kB / 406.9 MB, free: 13.92 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.821e-05/0.1466, allocations: 15.94 kB / 406.9 MB, free: 13.91 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002816/0.1469, allocations: 19.98 kB / 407 MB, free: 13.89 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.967e-05/0.1469, allocations: 40.33 kB / 407 MB, free: 13.85 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.865e-05/0.147, allocations: 11.98 kB / 407 MB, free: 13.84 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002251/0.1472, allocations: 215.1 kB / 407.2 MB, free: 13.62 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1472, allocations: 0 / 407.2 MB, free: 13.62 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.00097/0.1482, allocations: 267.4 kB / 407.5 MB, free: 13.36 MB / 350.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.0002183/0.1484, allocations: 139.1 kB / 407.6 MB, free: 13.21 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001753/0.1502, allocations: 0.9868 MB / 408.6 MB, free: 12.2 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.1502, allocations: 0 / 408.6 MB, free: 12.2 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005354/0.1507, allocations: 345.9 kB / 408.9 MB, free: 11.86 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003986/0.1512, allocations: 48.64 kB / 409 MB, free: 11.81 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0016/0.1528, allocations: 0.9849 MB / 410 MB, free: 10.8 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000401/0.1532, allocations: 0.8485 MB / 410.8 MB, free: 9.922 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0003376/0.1535, allocations: 80.14 kB / 410.9 MB, free: 9.84 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001077/0.1536, allocations: 47.42 kB / 410.9 MB, free: 9.793 MB / 350.1 MB Notification: Performance of SimCode: time 4.41e-07/0.1536, allocations: 0 / 410.9 MB, free: 9.793 MB / 350.1 MB Notification: Performance of Templates: time 0.009664/0.1633, allocations: 5.176 MB / 416.1 MB, free: 4.605 MB / 350.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)