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.00159/0.00159, allocations: 103.8 kB / 16.92 MB, free: 5.855 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.001983/0.001983, allocations: 191.3 kB / 17.85 MB, free: 5.176 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.379/1.379, allocations: 205.1 MB / 223.7 MB, free: 12.33 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.002254/0.002255, allocations: 59.92 kB / 280 MB, free: 3.168 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09106/0.09334, allocations: 46.63 MB / 326.6 MB, free: 4.469 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode): time 0.00511/0.09849, allocations: 4.089 MB / 330.7 MB, free: 356 kB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.00289/0.1014, allocations: 1.64 MB / 332.4 MB, free: 14.7 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000394/0.1019, allocations: 12 kB / 332.4 MB, free: 14.69 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001887/0.1038, allocations: 0.7777 MB / 333.1 MB, free: 13.91 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00143/0.1052, allocations: 0.583 MB / 333.7 MB, free: 13.32 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001128/0.1063, allocations: 0.5295 MB / 334.3 MB, free: 12.79 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007788/0.1071, allocations: 0.5914 MB / 334.9 MB, free: 12.2 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008686/0.108, allocations: 0.5002 MB / 335.4 MB, free: 11.69 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004604/0.1085, allocations: 263 kB / 335.6 MB, free: 11.43 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004817/0.109, allocations: 330.6 kB / 335.9 MB, free: 11.11 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001204/0.1091, allocations: 52 kB / 336 MB, free: 11.05 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005979/0.1097, allocations: 243.8 kB / 336.2 MB, free: 10.82 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001334/0.1099, allocations: 139.5 kB / 336.4 MB, free: 10.68 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003376/0.1102, allocations: 294.5 kB / 336.6 MB, free: 10.39 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001107/0.1113, allocations: 0.8333 MB / 337.5 MB, free: 9.555 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.676e-06/0.1113, allocations: 4 kB / 337.5 MB, free: 9.551 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.233e-06/0.1114, allocations: 0 / 337.5 MB, free: 9.551 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.491e-05/0.1114, allocations: 0 / 337.5 MB, free: 9.551 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.002436/0.1138, allocations: 1.019 MB / 338.5 MB, free: 8.484 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.006e-05/0.1139, allocations: 8.031 kB / 338.5 MB, free: 8.477 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00446/0.1183, allocations: 0.6051 MB / 339.1 MB, free: 7.871 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006125/0.119, allocations: 377.4 kB / 339.5 MB, free: 7.461 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.077e-05/0.119, allocations: 50.38 kB / 339.5 MB, free: 7.414 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001034/0.1191, allocations: 72.27 kB / 339.6 MB, free: 7.344 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001282/0.1204, allocations: 0.7352 MB / 340.3 MB, free: 6.594 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.41e-05/0.1205, allocations: 11.98 kB / 340.3 MB, free: 6.582 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.389e-05/0.1205, allocations: 24 kB / 340.4 MB, free: 6.559 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.536e-05/0.1206, allocations: 16 kB / 340.4 MB, free: 6.543 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001353/0.1219, allocations: 0.7106 MB / 341.1 MB, free: 5.836 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003487/0.1254, allocations: 2.542 MB / 343.6 MB, free: 3.109 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002024/0.1275, allocations: 1.971 MB / 345.6 MB, free: 0.8086 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004163/0.1279, allocations: 210.1 kB / 345.8 MB, free: 0.6016 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001056/0.128, allocations: 97.55 kB / 345.9 MB, free: 496 kB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.367e-05/0.1281, allocations: 35 kB / 345.9 MB, free: 452 kB / 286.1 MB Notification: Performance of pre-optimization done (n=48): time 3.296e-06/0.1281, allocations: 0 / 345.9 MB, free: 452 kB / 286.1 MB Notification: Performance of matching and sorting (n=48): time 0.00186/0.13, allocations: 0.7113 MB / 346.7 MB, free: 15.7 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.324e-05/0.13, allocations: 59.78 kB / 346.7 MB, free: 15.63 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004042/0.1304, allocations: 320.4 kB / 347 MB, free: 15.31 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.709e-05/0.1305, allocations: 33.7 kB / 347.1 MB, free: 15.27 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002084/0.1307, allocations: 288 kB / 347.3 MB, free: 14.99 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001462/0.1308, allocations: 165.6 kB / 347.5 MB, free: 14.82 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001704/0.131, allocations: 110.2 kB / 347.6 MB, free: 14.71 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001857/0.1312, allocations: 342.8 kB / 347.9 MB, free: 14.37 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003933/0.1316, allocations: 171.4 kB / 348.1 MB, free: 14.2 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000497/0.1321, allocations: 353.1 kB / 348.5 MB, free: 13.77 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009046/0.133, allocations: 0.5455 MB / 349 MB, free: 13.15 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.032e-06/0.1331, allocations: 4 kB / 349 MB, free: 13.14 MB / 302.1 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001239/0.1343, allocations: 0.6172 MB / 349.6 MB, free: 12.52 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.547e-05/0.1343, allocations: 4 kB / 349.6 MB, free: 12.51 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.546e-05/0.1344, allocations: 8 kB / 349.6 MB, free: 12.5 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003182/0.1347, allocations: 61.33 kB / 349.7 MB, free: 12.44 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005647/0.1353, allocations: 131.8 kB / 349.8 MB, free: 12.31 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001749/0.137, allocations: 1.771 MB / 351.6 MB, free: 10.4 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004043/0.1375, allocations: 75.33 kB / 351.7 MB, free: 10.32 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.223e-05/0.1375, allocations: 28 kB / 351.7 MB, free: 10.3 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004735/0.138, allocations: 293.4 kB / 352 MB, free: 10.01 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000447/0.1384, allocations: 341.2 kB / 352.3 MB, free: 9.594 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008097/0.1393, allocations: 0.5377 MB / 352.9 MB, free: 8.977 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.701e-06/0.1393, allocations: 7.938 kB / 352.9 MB, free: 8.969 MB / 302.1 MB Notification: Performance of matching and sorting (n=74) (initialization_lambda0): time 0.001143/0.1404, allocations: 0.6055 MB / 353.5 MB, free: 8.355 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.313e-05/0.1405, allocations: 11.94 kB / 353.5 MB, free: 8.344 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.062e-05/0.1405, allocations: 8 kB / 353.5 MB, free: 8.336 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001873/0.1407, allocations: 57.33 kB / 353.5 MB, free: 8.277 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004968/0.1412, allocations: 131.8 kB / 353.7 MB, free: 8.148 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001515/0.1427, allocations: 1.779 MB / 355.5 MB, free: 6.23 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003644/0.1431, allocations: 51.53 kB / 355.5 MB, free: 6.18 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.232e-05/0.1431, allocations: 35.98 kB / 355.5 MB, free: 6.145 MB / 302.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.0001838/0.1433, allocations: 216.1 kB / 355.7 MB, free: 5.926 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.045e-05/0.1434, allocations: 35.62 kB / 355.8 MB, free: 5.891 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001161/0.1446, allocations: 0.5243 MB / 356.3 MB, free: 5.355 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.603e-06/0.1446, allocations: 8 kB / 356.3 MB, free: 5.348 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.139e-06/0.1446, allocations: 0 / 356.3 MB, free: 5.348 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.732e-06/0.1446, allocations: 11.92 kB / 356.3 MB, free: 5.336 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001815/0.1465, allocations: 1.148 MB / 357.5 MB, free: 4.133 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.566e-06/0.1465, allocations: 4 kB / 357.5 MB, free: 4.129 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003921/0.1469, allocations: 79.89 kB / 357.6 MB, free: 4.051 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001907/0.1471, allocations: 52.83 kB / 357.6 MB, free: 3.996 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.865e-05/0.1471, allocations: 15.98 kB / 357.6 MB, free: 3.98 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001548/0.1487, allocations: 1.76 MB / 359.4 MB, free: 2.082 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.1487, allocations: 3.984 kB / 359.4 MB, free: 2.078 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001436/0.1501, allocations: 0.7724 MB / 360.2 MB, free: 1.285 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001612/0.1503, allocations: 156.5 kB / 360.3 MB, free: 1.113 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.967e-05/0.1504, allocations: 19.92 kB / 360.3 MB, free: 1.094 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002792/0.1507, allocations: 16 kB / 360.3 MB, free: 1.078 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.975e-05/0.1508, allocations: 36.38 kB / 360.4 MB, free: 1.043 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.47e-05/0.1508, allocations: 12 kB / 360.4 MB, free: 1.031 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001978/0.151, allocations: 211.1 kB / 360.6 MB, free: 0.8281 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.151, allocations: 4.062 kB / 360.6 MB, free: 0.8242 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0009712/0.152, allocations: 271.1 kB / 360.9 MB, free: 0.5586 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.0002256/0.1522, allocations: 139 kB / 361 MB, free: 424 kB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001911/0.1541, allocations: 0.999 MB / 362 MB, free: 15.39 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.1542, allocations: 0 / 362 MB, free: 15.39 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005533/0.1547, allocations: 357.3 kB / 362.4 MB, free: 15.03 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004661/0.1552, allocations: 44.64 kB / 362.4 MB, free: 14.98 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001718/0.1569, allocations: 0.9746 MB / 363.4 MB, free: 13.98 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003878/0.1573, allocations: 0.8408 MB / 364.2 MB, free: 13.11 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0004218/0.1578, allocations: 88.12 kB / 364.3 MB, free: 13.02 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001025/0.1579, allocations: 39.44 kB / 364.3 MB, free: 12.98 MB / 318.1 MB Notification: Performance of SimCode: time 3.3e-07/0.1579, allocations: 0 / 364.3 MB, free: 12.98 MB / 318.1 MB Notification: Performance of Templates: time 0.01023/0.1681, allocations: 5.131 MB / 369.5 MB, free: 7.855 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)