Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.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.2.1_Modelica.Electrical.Spice3.Examples.Graetz") translateModel(Modelica.Electrical.Spice3.Examples.Graetz,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.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.001468/0.001468, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001961/0.001961, allocations: 194.5 kB / 16.14 MB, free: 6.707 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.457/1.457, allocations: 205.1 MB / 222 MB, free: 4.785 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.001104/0.001104, allocations: 48.41 kB / 278.1 MB, free: 12.77 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1902/0.1913, allocations: 46.62 MB / 324.7 MB, free: 2.152 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Graetz): time 0.005389/0.1968, allocations: 5.203 MB / 329.9 MB, free: 14.01 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.008537/0.2053, allocations: 6.704 MB / 336.6 MB, free: 8.371 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001063/0.2064, allocations: 39.69 kB / 336.6 MB, free: 8.332 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001624/0.2081, allocations: 449.7 kB / 337.1 MB, free: 7.891 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002502/0.2106, allocations: 0.6561 MB / 337.7 MB, free: 7.23 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001175/0.2118, allocations: 342.9 kB / 338 MB, free: 6.895 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.003137/0.215, allocations: 1.934 MB / 340 MB, free: 4.953 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003127/0.2153, allocations: 159.4 kB / 340.1 MB, free: 4.781 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004932/0.2158, allocations: 326.2 kB / 340.5 MB, free: 4.461 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003385/0.2162, allocations: 337.7 kB / 340.8 MB, free: 4.129 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 6.122e-05/0.2162, allocations: 20 kB / 340.8 MB, free: 4.109 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001039/0.2173, allocations: 455.6 kB / 341.3 MB, free: 3.664 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 9.404e-05/0.2174, allocations: 99.2 kB / 341.3 MB, free: 3.566 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003447/0.2177, allocations: 437 kB / 341.8 MB, free: 3.137 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001221/0.219, allocations: 1.241 MB / 343 MB, free: 1.891 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.219, allocations: 4 kB / 343 MB, free: 1.887 MB / 270.1 MB Notification: Performance of FrontEnd: time 9.42e-07/0.219, allocations: 0 / 343 MB, free: 1.887 MB / 270.1 MB Notification: Performance of Transformations before backend: time 9.778e-06/0.219, allocations: 0 / 343 MB, free: 1.887 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.001793/0.2208, allocations: 1.436 MB / 344.5 MB, free: 400 kB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.543e-05/0.2208, allocations: 12.02 kB / 344.5 MB, free: 388 kB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001495/0.221, allocations: 134.4 kB / 344.6 MB, free: 252 kB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001031/0.222, allocations: 0.8502 MB / 345.5 MB, free: 15.34 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.968e-05/0.2221, allocations: 16.44 kB / 345.5 MB, free: 15.33 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.633e-05/0.2221, allocations: 20 kB / 345.5 MB, free: 15.31 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005238/0.2227, allocations: 310.6 kB / 345.8 MB, free: 14.99 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.126e-05/0.2227, allocations: 4 kB / 345.8 MB, free: 14.99 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.256e-05/0.2227, allocations: 11.94 kB / 345.8 MB, free: 14.98 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.503e-05/0.2228, allocations: 11.98 kB / 345.8 MB, free: 14.96 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003912/0.2231, allocations: 217.8 kB / 346 MB, free: 14.75 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001629/0.2248, allocations: 1.118 MB / 347.1 MB, free: 13.59 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003867/0.2252, allocations: 242.5 kB / 347.4 MB, free: 13.34 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004619/0.2257, allocations: 300.7 kB / 347.7 MB, free: 13.04 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009437/0.2266, allocations: 0.7514 MB / 348.4 MB, free: 12.14 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.985e-05/0.2267, allocations: 46.55 kB / 348.5 MB, free: 12.09 MB / 286.1 MB Notification: Performance of pre-optimization done (n=38): time 1.834e-06/0.2267, allocations: 7.875 kB / 348.5 MB, free: 12.08 MB / 286.1 MB Notification: Performance of matching and sorting (n=39): time 0.002902/0.2296, allocations: 1.559 MB / 350 MB, free: 10.43 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.192e-05/0.2297, allocations: 114.8 kB / 350.2 MB, free: 10.29 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009998/0.2307, allocations: 0.9301 MB / 351.1 MB, free: 9.352 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.349e-05/0.2307, allocations: 29.7 kB / 351.1 MB, free: 9.316 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002686/0.231, allocations: 357.5 kB / 351.5 MB, free: 8.965 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001016/0.2311, allocations: 134.1 kB / 351.6 MB, free: 8.832 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001584/0.2313, allocations: 121.5 kB / 351.7 MB, free: 8.707 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001206/0.2314, allocations: 321.9 kB / 352 MB, free: 8.387 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002438/0.2316, allocations: 124.6 kB / 352.1 MB, free: 8.262 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002542/0.2319, allocations: 159.6 kB / 352.3 MB, free: 8.098 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001358/0.2333, allocations: 0.7372 MB / 353 MB, free: 7.332 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/0.2333, allocations: 0 / 353 MB, free: 7.332 MB / 286.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0008952/0.2342, allocations: 0.5476 MB / 353.6 MB, free: 6.766 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.023e-05/0.2342, allocations: 45.72 kB / 353.6 MB, free: 6.715 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.78e-05/0.2343, allocations: 12 kB / 353.6 MB, free: 6.703 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002176/0.2345, allocations: 69.62 kB / 353.7 MB, free: 6.629 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002288/0.2347, allocations: 43.97 kB / 353.8 MB, free: 6.586 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00226/0.237, allocations: 2.989 MB / 356.7 MB, free: 3.32 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002723/0.2373, allocations: 12.03 kB / 356.8 MB, free: 3.309 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.072e-05/0.2373, allocations: 19.98 kB / 356.8 MB, free: 3.289 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.0003764/0.2377, allocations: 264.1 kB / 357 MB, free: 3.012 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001324/0.2379, allocations: 126.5 kB / 357.2 MB, free: 2.887 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001292/0.2392, allocations: 0.6684 MB / 357.8 MB, free: 2.195 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.218e-05/0.2392, allocations: 4 kB / 357.8 MB, free: 2.191 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.2392, allocations: 3.938 kB / 357.8 MB, free: 2.188 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.2392, allocations: 0 / 357.8 MB, free: 2.188 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006669/0.2399, allocations: 0.6199 MB / 358.5 MB, free: 1.523 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.128e-05/0.2399, allocations: 8 kB / 358.5 MB, free: 1.516 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001864/0.2401, allocations: 39.97 kB / 358.5 MB, free: 1.477 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001833/0.2403, allocations: 69.61 kB / 358.6 MB, free: 1.402 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.822e-05/0.2403, allocations: 20 kB / 358.6 MB, free: 1.383 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00213/0.2425, allocations: 2.996 MB / 361.6 MB, free: 14.12 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.2425, allocations: 0 / 361.6 MB, free: 14.12 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00124/0.2437, allocations: 0.855 MB / 362.4 MB, free: 13.24 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003217/0.2441, allocations: 275.6 kB / 362.7 MB, free: 12.95 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.907e-05/0.2442, allocations: 15.94 kB / 362.7 MB, free: 12.93 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002746/0.2445, allocations: 12 kB / 362.7 MB, free: 12.92 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.194e-05/0.2446, allocations: 31.95 kB / 362.8 MB, free: 12.89 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.973e-05/0.2446, allocations: 16 kB / 362.8 MB, free: 12.88 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0007328/0.2454, allocations: 0.6335 MB / 363.4 MB, free: 12.24 MB / 302.1 MB Notification: Performance of sort global known variables: time 3.5e-07/0.2454, allocations: 0 / 363.4 MB, free: 12.24 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000813/0.2462, allocations: 219.9 kB / 363.6 MB, free: 12.02 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.000535/0.2467, allocations: 298.9 kB / 363.9 MB, free: 11.72 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.00107/0.2478, allocations: 0.7815 MB / 364.7 MB, free: 10.88 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.2478, allocations: 4 kB / 364.7 MB, free: 10.88 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006479/0.2485, allocations: 0.6166 MB / 365.3 MB, free: 10.2 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005377/0.249, allocations: 108.7 kB / 365.4 MB, free: 10.09 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002298/0.2513, allocations: 1.909 MB / 367.3 MB, free: 8.148 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004769/0.2518, allocations: 1.011 MB / 368.4 MB, free: 7.109 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0003173/0.2521, allocations: 89.64 kB / 368.4 MB, free: 7.02 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.901e-05/0.2522, allocations: 47.38 kB / 368.5 MB, free: 6.973 MB / 302.1 MB Notification: Performance of SimCode: time 3e-07/0.2522, allocations: 0 / 368.5 MB, free: 6.973 MB / 302.1 MB Notification: Performance of Templates: time 0.0156/0.2678, allocations: 8.36 MB / 376.8 MB, free: 14.61 MB / 318.1 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Spice3.Examples.Graetz.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.Spice3.Examples.Graetz.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.Spice3.Examples.Graetz.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.Spice3.Examples.Graetz.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.Spice3.Examples.Graetz.sim & ./Modelica_3.2.1_Modelica.Electrical.Spice3.Examples.Graetz -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.Spice3.Examples.Graetz.pipe 2>&1)