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/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+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/Complex 3.2.1+maint.om/package.mo): time 0.001006/0.001006, allocations: 170.2 kB / 12.72 MB, free: 2.594 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.198/1.198, allocations: 170.6 MB / 183.8 MB, free: 11.43 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001616/0.001616, allocations: 107.5 kB / 223.2 MB, free: 4.047 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.562e-05/2.596e-05, allocations: 0 / 268.9 MB, free: 20.92 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0723/0.07234, allocations: 38.77 MB / 307.6 MB, free: 14.12 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2725/0.3449, allocations: 77.9 MB / 385.5 MB, free: 14.49 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001899/0.3452, allocations: 74.28 kB / 385.6 MB, free: 14.45 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09117/0.4363, allocations: 36.98 MB / 422.6 MB, free: 15.34 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.4364, allocations: 0 / 422.6 MB, free: 15.34 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.908e-05/0.4364, allocations: 16 kB / 422.6 MB, free: 15.33 MB / 314.7 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.001928/0.4384, allocations: 1.174 MB / 423.8 MB, free: 14.11 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.737e-05/0.4384, allocations: 16.03 kB / 423.8 MB, free: 14.09 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002365/0.4387, allocations: 126.4 kB / 423.9 MB, free: 13.96 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001161/0.4398, allocations: 0.7268 MB / 424.6 MB, free: 13.19 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.128e-05/0.4399, allocations: 12.44 kB / 424.7 MB, free: 13.18 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.453e-05/0.4399, allocations: 24 kB / 424.7 MB, free: 13.15 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005289/0.4405, allocations: 298.6 kB / 425 MB, free: 12.84 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.909e-06/0.4405, allocations: 3.938 kB / 425 MB, free: 12.84 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.024e-05/0.4405, allocations: 12 kB / 425 MB, free: 12.83 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.121e-05/0.4406, allocations: 8 kB / 425 MB, free: 12.82 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003378/0.4409, allocations: 205.8 kB / 425.2 MB, free: 12.62 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002086/0.443, allocations: 1.181 MB / 426.4 MB, free: 11.38 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003457/0.4434, allocations: 226.5 kB / 426.6 MB, free: 11.15 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004466/0.4438, allocations: 301.8 kB / 426.9 MB, free: 10.86 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001416/0.4452, allocations: 1.277 MB / 428.2 MB, free: 9.32 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.82e-05/0.4453, allocations: 34.56 kB / 428.2 MB, free: 9.277 MB / 314.7 MB Notification: Performance of pre-optimization done (n=38): time 2.134e-06/0.4453, allocations: 0 / 428.2 MB, free: 9.277 MB / 314.7 MB Notification: Performance of matching and sorting (n=39): time 0.002202/0.4475, allocations: 1.242 MB / 429.4 MB, free: 7.953 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.484e-05/0.4476, allocations: 114.8 kB / 429.6 MB, free: 7.816 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009057/0.4485, allocations: 0.7731 MB / 430.3 MB, free: 7.035 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.373e-05/0.4485, allocations: 29.7 kB / 430.4 MB, free: 7 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002858/0.4488, allocations: 357.6 kB / 430.7 MB, free: 6.645 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000115/0.4489, allocations: 130 kB / 430.8 MB, free: 6.516 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.116e-05/0.449, allocations: 8 kB / 430.8 MB, free: 6.508 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001271/0.4491, allocations: 325.9 kB / 431.2 MB, free: 6.184 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001957/0.4493, allocations: 104.3 kB / 431.3 MB, free: 6.078 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002028/0.4495, allocations: 154.6 kB / 431.4 MB, free: 5.918 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002195/0.4498, allocations: 149.8 kB / 431.6 MB, free: 5.766 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-06/0.4498, allocations: 3.938 kB / 431.6 MB, free: 5.762 MB / 314.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0007765/0.4505, allocations: 0.5074 MB / 432.1 MB, free: 5.234 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.816e-05/0.4506, allocations: 37.69 kB / 432.1 MB, free: 5.191 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.982e-05/0.4506, allocations: 16.06 kB / 432.1 MB, free: 5.176 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002119/0.4508, allocations: 69.69 kB / 432.2 MB, free: 5.102 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002097/0.4511, allocations: 47.91 kB / 432.2 MB, free: 5.055 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002305/0.4534, allocations: 2.982 MB / 435.2 MB, free: 1.805 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003043/0.4537, allocations: 16.03 kB / 435.2 MB, free: 1.789 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.951e-05/0.4538, allocations: 20.11 kB / 435.3 MB, free: 1.77 MB / 314.7 MB 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 18 * 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.0001691/0.4539, allocations: 150.8 kB / 435.4 MB, free: 1.609 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001388/0.4541, allocations: 134.4 kB / 435.5 MB, free: 1.477 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001274/0.4554, allocations: 0.645 MB / 436.2 MB, free: 0.8125 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.218e-06/0.4554, allocations: 4 kB / 436.2 MB, free: 0.8086 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.4554, allocations: 4 kB / 436.2 MB, free: 0.8047 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.04e-06/0.4554, allocations: 3.984 kB / 436.2 MB, free: 0.8008 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007262/0.4561, allocations: 0.6122 MB / 436.8 MB, free: 148 kB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.281e-05/0.4562, allocations: 12 kB / 436.8 MB, free: 136 kB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001745/0.4564, allocations: 35.97 kB / 436.9 MB, free: 100 kB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001735/0.4565, allocations: 69.62 kB / 436.9 MB, free: 24 kB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.62e-05/0.4566, allocations: 19.94 kB / 436.9 MB, free: 4 kB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002247/0.4588, allocations: 2.982 MB / 439.9 MB, free: 12.75 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.4589, allocations: 0 / 439.9 MB, free: 12.75 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001092/0.46, allocations: 0.8042 MB / 440.7 MB, free: 11.91 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003962/0.4604, allocations: 287.5 kB / 441 MB, free: 11.61 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001041/0.4605, allocations: 8 kB / 441 MB, free: 11.61 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002688/0.4608, allocations: 12 kB / 441 MB, free: 11.59 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.945e-05/0.4609, allocations: 40.02 kB / 441.1 MB, free: 11.55 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.204e-05/0.4609, allocations: 19.98 kB / 441.1 MB, free: 11.54 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0006905/0.4616, allocations: 0.6117 MB / 441.7 MB, free: 10.92 MB / 330.7 MB Notification: Performance of sort global known variables: time 2.3e-07/0.4616, allocations: 0 / 441.7 MB, free: 10.92 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0008703/0.4625, allocations: 255.8 kB / 441.9 MB, free: 10.67 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (D3.n.v,D2.pin) * Number of discrete variables: 0 () * Number of discrete 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.0007673/0.4633, allocations: 405.3 kB / 442.3 MB, free: 10.27 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0009528/0.4642, allocations: 0.7301 MB / 443.1 MB, free: 9.473 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.4642, allocations: 0 / 443.1 MB, free: 9.473 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000593/0.4648, allocations: 0.5969 MB / 443.7 MB, free: 8.812 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003831/0.4652, allocations: 80.81 kB / 443.7 MB, free: 8.73 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001734/0.467, allocations: 1.093 MB / 444.8 MB, free: 7.609 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005724/0.4676, allocations: 1.022 MB / 445.9 MB, free: 6.562 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002625/0.4678, allocations: 64.58 kB / 445.9 MB, free: 6.5 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.415e-05/0.4679, allocations: 35.44 kB / 446 MB, free: 6.465 MB / 330.7 MB Notification: Performance of SimCode: time 3.2e-07/0.4679, allocations: 0 / 446 MB, free: 6.465 MB / 330.7 MB Notification: Performance of Templates: time 0.01678/0.4847, allocations: 9.471 MB / 455.4 MB, free: 12.99 MB / 346.7 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)