Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.Spice3.Examples.Graetz.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.Spice3.Examples.Graetz,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Spice3.Examples.Graetz") translateModel(Modelica.Electrical.Spice3.Examples.Graetz,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Spice3.Examples.Graetz") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001491/0.001491, allocations: 92.53 kB / 16.3 MB, free: 5.523 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.00153/0.00153, allocations: 184.9 kB / 17.2 MB, free: 5.457 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.576/1.576, allocations: 205.4 MB / 223.4 MB, free: 13.17 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.0005358/0.000536, allocations: 12 kB / 280.1 MB, free: 3.766 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09486/0.09541, allocations: 47.58 MB / 327.7 MB, free: 4.117 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Graetz): time 0.004286/0.09973, allocations: 4.209 MB / 331.9 MB, free: 15.89 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.007368/0.1071, allocations: 5.66 MB / 337.6 MB, free: 10.21 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007553/0.1079, allocations: 35.69 kB / 337.6 MB, free: 10.18 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001383/0.1093, allocations: 414 kB / 338 MB, free: 9.773 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002453/0.1118, allocations: 0.7086 MB / 338.7 MB, free: 9.062 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001156/0.113, allocations: 307.2 kB / 339 MB, free: 8.762 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.003427/0.1164, allocations: 1.821 MB / 340.8 MB, free: 6.938 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003826/0.1168, allocations: 155.4 kB / 341 MB, free: 6.773 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005092/0.1174, allocations: 294.4 kB / 341.3 MB, free: 6.484 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004783/0.1179, allocations: 310 kB / 341.6 MB, free: 6.18 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 7.95e-05/0.1179, allocations: 20 kB / 341.6 MB, free: 6.16 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001072/0.119, allocations: 419.6 kB / 342 MB, free: 5.75 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 9.724e-05/0.1191, allocations: 95.31 kB / 342.1 MB, free: 5.656 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00019/0.1193, allocations: 213.1 kB / 342.3 MB, free: 5.441 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009206/0.1203, allocations: 0.9038 MB / 343.2 MB, free: 4.535 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.645e-06/0.1203, allocations: 0 / 343.2 MB, free: 4.535 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.1203, allocations: 0 / 343.2 MB, free: 4.535 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.108e-05/0.1203, allocations: 0 / 343.2 MB, free: 4.535 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: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.001797/0.1221, allocations: 1.297 MB / 344.5 MB, free: 3.176 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.189e-05/0.1222, allocations: 12.03 kB / 344.5 MB, free: 3.164 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001421/0.1223, allocations: 126.4 kB / 344.6 MB, free: 3.039 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001116/0.1234, allocations: 0.8123 MB / 345.4 MB, free: 2.176 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.991e-05/0.1235, allocations: 12.44 kB / 345.5 MB, free: 2.164 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.502e-05/0.1235, allocations: 27.98 kB / 345.5 MB, free: 2.137 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005342/0.1241, allocations: 314.6 kB / 345.8 MB, free: 1.82 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.194e-05/0.1241, allocations: 0 / 345.8 MB, free: 1.82 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.564e-05/0.1241, allocations: 4 kB / 345.8 MB, free: 1.816 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.216e-05/0.1241, allocations: 15.88 kB / 345.8 MB, free: 1.801 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004045/0.1246, allocations: 225.8 kB / 346 MB, free: 1.578 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001776/0.1263, allocations: 1.149 MB / 347.2 MB, free: 388 kB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003912/0.1267, allocations: 238.5 kB / 347.4 MB, free: 140 kB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009843/0.1277, allocations: 0.7594 MB / 348.2 MB, free: 15.23 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.021e-05/0.1278, allocations: 38.56 kB / 348.2 MB, free: 15.18 MB / 302.1 MB Notification: Performance of pre-optimization done (n=38): time 1.823e-06/0.1278, allocations: 0 / 348.2 MB, free: 15.18 MB / 302.1 MB Notification: Performance of matching and sorting (n=39): time 0.002981/0.1308, allocations: 1.972 MB / 350.2 MB, free: 13.02 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.098e-05/0.1309, allocations: 118.8 kB / 350.3 MB, free: 12.88 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001025/0.1319, allocations: 0.9184 MB / 351.2 MB, free: 11.95 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.164e-05/0.1319, allocations: 29.7 kB / 351.2 MB, free: 11.92 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002772/0.1322, allocations: 361.5 kB / 351.6 MB, free: 11.56 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.302e-05/0.1323, allocations: 130.1 kB / 351.7 MB, free: 11.43 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.939e-05/0.1324, allocations: 4 kB / 351.7 MB, free: 11.43 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000114/0.1325, allocations: 326 kB / 352 MB, free: 11.11 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002377/0.1327, allocations: 124.6 kB / 352.2 MB, free: 10.98 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002503/0.133, allocations: 163.8 kB / 352.3 MB, free: 10.81 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002815/0.1333, allocations: 179.3 kB / 352.5 MB, free: 10.63 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.1333, allocations: 0 / 352.5 MB, free: 10.63 MB / 302.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.000898/0.1342, allocations: 0.5597 MB / 353.1 MB, free: 10.05 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.676e-05/0.1342, allocations: 41.69 kB / 353.1 MB, free: 10.01 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.583e-05/0.1343, allocations: 12 kB / 353.1 MB, free: 9.996 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002724/0.1346, allocations: 65.67 kB / 353.2 MB, free: 9.926 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002402/0.1348, allocations: 43.97 kB / 353.2 MB, free: 9.883 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002729/0.1376, allocations: 3.016 MB / 356.2 MB, free: 6.59 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003034/0.1379, allocations: 16.09 kB / 356.3 MB, free: 6.574 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.636e-05/0.1379, allocations: 20 kB / 356.3 MB, free: 6.555 MB / 302.1 MB Warning: Assuming fixed start value for the following 4 variables: D2.c2.m_tBrkdwnV:VARIABLE(unit = "V" fixed = true final = true ) type: Real D4.c2.m_tBrkdwnV:VARIABLE(unit = "V" fixed = true final = true ) type: Real D3.c2.m_tBrkdwnV:VARIABLE(unit = "V" fixed = true final = true ) type: Real D1.c2.m_tBrkdwnV:VARIABLE(unit = "V" fixed = true final = true ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (29): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 4,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000443/0.1384, allocations: 259.8 kB / 356.5 MB, free: 6.281 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001375/0.1385, allocations: 134.4 kB / 356.7 MB, free: 6.148 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001295/0.1398, allocations: 0.6804 MB / 357.3 MB, free: 5.445 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.65e-06/0.1399, allocations: 4 kB / 357.3 MB, free: 5.441 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.1399, allocations: 4 kB / 357.3 MB, free: 5.438 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.568e-06/0.1399, allocations: 0 / 357.3 MB, free: 5.438 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006647/0.1406, allocations: 0.6121 MB / 358 MB, free: 4.781 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.108e-05/0.1406, allocations: 12 kB / 358 MB, free: 4.77 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001949/0.1408, allocations: 47.86 kB / 358 MB, free: 4.723 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001736/0.141, allocations: 65.67 kB / 358.1 MB, free: 4.652 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.494e-05/0.141, allocations: 20 kB / 358.1 MB, free: 4.633 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002161/0.1432, allocations: 3.008 MB / 361.1 MB, free: 1.359 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.1432, allocations: 0 / 361.1 MB, free: 1.359 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001187/0.1444, allocations: 0.8706 MB / 362 MB, free: 472 kB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003646/0.1448, allocations: 279.5 kB / 362.3 MB, free: 172 kB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.304e-05/0.1449, allocations: 8 kB / 362.3 MB, free: 164 kB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002729/0.1451, allocations: 16.06 kB / 362.3 MB, free: 148 kB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.735e-05/0.1452, allocations: 31.95 kB / 362.3 MB, free: 116 kB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.048e-05/0.1453, allocations: 19.95 kB / 362.3 MB, free: 96 kB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0007207/0.146, allocations: 0.6179 MB / 362.9 MB, free: 15.47 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.146, allocations: 0 / 362.9 MB, free: 15.47 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0007886/0.1468, allocations: 219.9 kB / 363.2 MB, free: 15.25 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (D1.pin,D4.n.v) * 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 (22): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 4,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004719/0.1473, allocations: 294.6 kB / 363.5 MB, free: 14.96 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001059/0.1484, allocations: 0.7962 MB / 364.2 MB, free: 14.1 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.578e-06/0.1484, allocations: 4 kB / 364.3 MB, free: 14.1 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006392/0.149, allocations: 0.6137 MB / 364.9 MB, free: 13.42 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003656/0.1494, allocations: 96.73 kB / 365 MB, free: 13.33 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002164/0.1516, allocations: 1.881 MB / 366.8 MB, free: 11.41 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004943/0.1521, allocations: 1.019 MB / 367.9 MB, free: 10.37 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.000311/0.1524, allocations: 97.64 kB / 368 MB, free: 10.27 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.246e-05/0.1525, allocations: 47.42 kB / 368 MB, free: 10.22 MB / 318.1 MB Notification: Performance of SimCode: time 4.11e-07/0.1525, allocations: 0 / 368 MB, free: 10.22 MB / 318.1 MB Notification: Performance of Templates: time 0.015/0.1675, allocations: 7.887 MB / 375.9 MB, free: 2.344 MB / 318.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Spice3.Examples.Graetz.makefile Environment - environmentSimulation: (rm -f Modelica_3.2.2_Modelica.Electrical.Spice3.Examples.Graetz.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.Spice3.Examples.Graetz.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.Spice3.Examples.Graetz.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.Spice3.Examples.Graetz.sim & ./Modelica_3.2.2_Modelica.Electrical.Spice3.Examples.Graetz -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.Spice3.Examples.Graetz.pipe 2>&1) Environment - environmentSimulation: