Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_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.1_Modelica.Electrical.Spice3.Examples.Graetz") translateModel(Modelica.Electrical.Spice3.Examples.Graetz,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_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.0007205/0.0007205, allocations: 90.67 kB / 15.36 MB, free: 0.7383 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.004828/0.004828, allocations: 170.4 kB / 16.26 MB, free: 6.613 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.34/1.34, allocations: 205.4 MB / 222.4 MB, free: 5.789 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.0004385/0.0004385, allocations: 12.33 kB / 279.4 MB, free: 12.75 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2099/0.2104, allocations: 47.58 MB / 327 MB, free: 1.605 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Graetz): time 0.004126/0.2145, allocations: 4.788 MB / 331.8 MB, free: 13.78 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.007825/0.2224, allocations: 6.61 MB / 338.4 MB, free: 8.133 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003941/0.2228, allocations: 35.69 kB / 338.5 MB, free: 8.098 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001169/0.224, allocations: 470.6 kB / 338.9 MB, free: 7.633 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001594/0.2256, allocations: 0.6639 MB / 339.6 MB, free: 6.965 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008256/0.2264, allocations: 330.9 kB / 339.9 MB, free: 6.641 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.002489/0.2289, allocations: 1.938 MB / 341.8 MB, free: 4.695 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002882/0.2292, allocations: 155.4 kB / 342 MB, free: 4.531 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003589/0.2296, allocations: 314.2 kB / 342.3 MB, free: 4.223 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000354/0.2299, allocations: 329.7 kB / 342.6 MB, free: 3.898 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 5.178e-05/0.23, allocations: 20 kB / 342.6 MB, free: 3.879 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008647/0.2309, allocations: 451.6 kB / 343.1 MB, free: 3.438 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 9.311e-05/0.231, allocations: 99.2 kB / 343.2 MB, free: 3.34 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003206/0.2313, allocations: 454.8 kB / 343.6 MB, free: 2.887 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001091/0.2324, allocations: 1.214 MB / 344.8 MB, free: 1.668 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.2324, allocations: 0 / 344.8 MB, free: 1.668 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.2324, allocations: 0 / 344.8 MB, free: 1.668 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.117e-05/0.2324, allocations: 0 / 344.8 MB, free: 1.668 MB / 270.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.001729/0.2342, allocations: 1.297 MB / 346.1 MB, free: 320 kB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.496e-05/0.2342, allocations: 8.031 kB / 346.1 MB, free: 312 kB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001279/0.2344, allocations: 126.4 kB / 346.3 MB, free: 184 kB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009761/0.2353, allocations: 0.858 MB / 347.1 MB, free: 15.27 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.977e-05/0.2354, allocations: 16.44 kB / 347.1 MB, free: 15.25 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.346e-05/0.2354, allocations: 23.98 kB / 347.2 MB, free: 15.23 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004985/0.2359, allocations: 306.6 kB / 347.5 MB, free: 14.92 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.427e-05/0.236, allocations: 11.94 kB / 347.5 MB, free: 14.91 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.332e-05/0.236, allocations: 15.94 kB / 347.5 MB, free: 14.89 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.177e-06/0.236, allocations: 4 kB / 347.5 MB, free: 14.89 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000381/0.2364, allocations: 229.8 kB / 347.7 MB, free: 14.66 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001528/0.2379, allocations: 1.122 MB / 348.8 MB, free: 13.49 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003752/0.2383, allocations: 246.5 kB / 349.1 MB, free: 13.24 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004556/0.2388, allocations: 297.4 kB / 349.4 MB, free: 12.95 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008624/0.2397, allocations: 0.7594 MB / 350.1 MB, free: 12.04 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.526e-05/0.2397, allocations: 34.56 kB / 350.2 MB, free: 12 MB / 286.1 MB Notification: Performance of pre-optimization done (n=38): time 1.593e-06/0.2397, allocations: 4 kB / 350.2 MB, free: 11.99 MB / 286.1 MB Notification: Performance of matching and sorting (n=39): time 0.002785/0.2425, allocations: 1.582 MB / 351.8 MB, free: 10.31 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.011e-05/0.2426, allocations: 118.8 kB / 351.9 MB, free: 10.17 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001042/0.2437, allocations: 0.93 MB / 352.8 MB, free: 9.23 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.899e-05/0.2437, allocations: 29.7 kB / 352.8 MB, free: 9.195 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002832/0.244, allocations: 365.5 kB / 353.2 MB, free: 8.836 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.964e-05/0.2441, allocations: 134 kB / 353.3 MB, free: 8.703 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.414e-05/0.2442, allocations: 37.64 kB / 353.4 MB, free: 8.66 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001022/0.2443, allocations: 325.9 kB / 353.7 MB, free: 8.336 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002408/0.2445, allocations: 124.6 kB / 353.8 MB, free: 8.211 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002606/0.2448, allocations: 175.6 kB / 354 MB, free: 8.031 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00135/0.2461, allocations: 0.745 MB / 354.7 MB, free: 7.258 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.948e-06/0.2462, allocations: 4 kB / 354.7 MB, free: 7.254 MB / 286.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0008856/0.247, allocations: 0.5594 MB / 355.3 MB, free: 6.676 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.761e-05/0.2471, allocations: 37.69 kB / 355.3 MB, free: 6.633 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.681e-05/0.2471, allocations: 16 kB / 355.3 MB, free: 6.617 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002098/0.2473, allocations: 69.67 kB / 355.4 MB, free: 6.543 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002234/0.2476, allocations: 43.92 kB / 355.4 MB, free: 6.5 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002201/0.2498, allocations: 3 MB / 358.4 MB, free: 3.223 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002597/0.2501, allocations: 20.06 kB / 358.5 MB, free: 3.203 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.826e-05/0.2501, allocations: 19.98 kB / 358.5 MB, free: 3.184 MB / 286.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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,4,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003513/0.2505, allocations: 259.9 kB / 358.7 MB, free: 2.91 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001266/0.2506, allocations: 122.5 kB / 358.8 MB, free: 2.789 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001308/0.2519, allocations: 0.6687 MB / 359.5 MB, free: 2.098 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.105e-06/0.252, allocations: 8 kB / 359.5 MB, free: 2.09 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.252, allocations: 3.938 kB / 359.5 MB, free: 2.086 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.252, allocations: 3.984 kB / 359.5 MB, free: 2.082 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006577/0.2526, allocations: 0.6121 MB / 360.1 MB, free: 1.426 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.252e-05/0.2527, allocations: 16 kB / 360.2 MB, free: 1.41 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001882/0.2529, allocations: 39.89 kB / 360.2 MB, free: 1.371 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001753/0.2531, allocations: 69.67 kB / 360.3 MB, free: 1.297 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.263e-05/0.2531, allocations: 16 kB / 360.3 MB, free: 1.281 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002127/0.2552, allocations: 2.989 MB / 363.3 MB, free: 14.03 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.2552, allocations: 11.95 kB / 363.3 MB, free: 14.02 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001215/0.2565, allocations: 0.8666 MB / 364.1 MB, free: 13.12 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000293/0.2568, allocations: 271.5 kB / 364.4 MB, free: 12.84 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.885e-05/0.2569, allocations: 11.94 kB / 364.4 MB, free: 12.82 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002686/0.2571, allocations: 15.94 kB / 364.4 MB, free: 12.81 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.809e-05/0.2572, allocations: 35.95 kB / 364.5 MB, free: 12.77 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.256e-05/0.2573, allocations: 16.06 kB / 364.5 MB, free: 12.76 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0006718/0.258, allocations: 0.6295 MB / 365.1 MB, free: 12.12 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.258, allocations: 0 / 365.1 MB, free: 12.12 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0007365/0.2587, allocations: 227.9 kB / 365.3 MB, free: 11.9 MB / 302.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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,4,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005039/0.2592, allocations: 303 kB / 365.6 MB, free: 11.6 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001058/0.2603, allocations: 0.7856 MB / 366.4 MB, free: 10.75 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.107e-06/0.2603, allocations: 4.062 kB / 366.4 MB, free: 10.75 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006582/0.261, allocations: 0.6165 MB / 367 MB, free: 10.07 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005327/0.2615, allocations: 108.7 kB / 367.2 MB, free: 9.961 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002288/0.2638, allocations: 1.978 MB / 369.1 MB, free: 7.949 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005578/0.2644, allocations: 1.004 MB / 370.1 MB, free: 6.918 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.000316/0.2647, allocations: 93.64 kB / 370.2 MB, free: 6.824 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.32e-05/0.2648, allocations: 47.44 kB / 370.3 MB, free: 6.781 MB / 302.1 MB Notification: Performance of SimCode: time 2.41e-07/0.2648, allocations: 0 / 370.3 MB, free: 6.781 MB / 302.1 MB Notification: Performance of Templates: time 0.01562/0.2804, allocations: 8.312 MB / 378.6 MB, free: 14.46 MB / 318.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.Spice3.Examples.Graetz.makefile (rm -f Modelica_3.1_Modelica.Electrical.Spice3.Examples.Graetz.pipe ; mkfifo Modelica_3.1_Modelica.Electrical.Spice3.Examples.Graetz.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Electrical.Spice3.Examples.Graetz.pipe >> ../files/Modelica_3.1_Modelica.Electrical.Spice3.Examples.Graetz.sim & ./Modelica_3.1_Modelica.Electrical.Spice3.Examples.Graetz -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Electrical.Spice3.Examples.Graetz.pipe 2>&1)