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.0009558/0.0009558, allocations: 167.8 kB / 7.638 MB, free: 1.414 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.139/1.139, allocations: 170.7 MB / 178.7 MB, free: 15.63 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.001573/0.001573, allocations: 107.4 kB / 218 MB, free: 8.414 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.008e-05/2e-05, allocations: 4 kB / 262.2 MB, free: 26.41 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06568/0.06572, allocations: 38.77 MB / 301 MB, free: 3.648 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2544/0.3202, allocations: 77.24 MB / 378.2 MB, free: 7.266 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002022/0.3204, allocations: 71.16 kB / 378.3 MB, free: 7.23 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09708/0.4175, allocations: 36.28 MB / 414.6 MB, free: 9.109 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.204e-06/0.4176, allocations: 0 / 414.6 MB, free: 9.109 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.039e-05/0.4176, allocations: 16 kB / 414.6 MB, free: 9.094 MB / 298.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.002915/0.4205, allocations: 1.178 MB / 415.8 MB, free: 7.863 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.404e-05/0.4206, allocations: 12.03 kB / 415.8 MB, free: 7.852 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003547/0.421, allocations: 130.4 kB / 415.9 MB, free: 7.723 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001617/0.4226, allocations: 0.7229 MB / 416.6 MB, free: 6.949 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.551e-05/0.4227, allocations: 11.98 kB / 416.6 MB, free: 6.938 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000116/0.4228, allocations: 12 kB / 416.6 MB, free: 6.926 MB / 298.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005831/0.4234, allocations: 200.9 kB / 416.8 MB, free: 6.73 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00061/0.424, allocations: 261.8 kB / 417.1 MB, free: 6.457 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.426e-05/0.424, allocations: 4 kB / 417.1 MB, free: 6.453 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.867e-05/0.4241, allocations: 4 kB / 417.1 MB, free: 6.449 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.149e-05/0.4241, allocations: 4 kB / 417.1 MB, free: 6.445 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002794/0.4269, allocations: 1.132 MB / 418.2 MB, free: 5.273 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004761/0.4274, allocations: 210.6 kB / 418.4 MB, free: 5.059 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005577/0.428, allocations: 284.6 kB / 418.7 MB, free: 4.777 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001834/0.4298, allocations: 1.274 MB / 420 MB, free: 3.246 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.981e-05/0.4299, allocations: 46.44 kB / 420 MB, free: 3.191 MB / 298.7 MB Notification: Performance of pre-optimization done (n=38): time 3.487e-06/0.4299, allocations: 0 / 420 MB, free: 3.191 MB / 298.7 MB Notification: Performance of matching and sorting (n=39): time 0.003505/0.4334, allocations: 1.152 MB / 421.2 MB, free: 1.977 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.826e-05/0.4335, allocations: 118.8 kB / 421.3 MB, free: 1.836 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001292/0.4348, allocations: 0.713 MB / 422 MB, free: 1.117 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 4.018e-05/0.4349, allocations: 25.7 kB / 422 MB, free: 1.086 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003949/0.4353, allocations: 353.6 kB / 422.4 MB, free: 0.7383 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001404/0.4354, allocations: 130 kB / 422.5 MB, free: 0.6094 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.513e-05/0.4355, allocations: 0 / 422.5 MB, free: 0.6094 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001313/0.4356, allocations: 325.9 kB / 422.8 MB, free: 292 kB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002155/0.4358, allocations: 104.2 kB / 422.9 MB, free: 184 kB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002437/0.4361, allocations: 134.6 kB / 423.1 MB, free: 40 kB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004639/0.4366, allocations: 136.1 kB / 423.2 MB, free: 15.91 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.4366, allocations: 0 / 423.2 MB, free: 15.91 MB / 314.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001205/0.4378, allocations: 473.8 kB / 423.7 MB, free: 15.43 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.759e-05/0.4379, allocations: 41.69 kB / 423.7 MB, free: 15.38 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.235e-05/0.4379, allocations: 12 kB / 423.7 MB, free: 15.37 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003099/0.4383, allocations: 69.66 kB / 423.8 MB, free: 15.3 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003049/0.4386, allocations: 39.97 kB / 423.8 MB, free: 15.26 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003046/0.4416, allocations: 2.898 MB / 426.7 MB, free: 12.13 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004743/0.4421, allocations: 4 kB / 426.7 MB, free: 12.12 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.989e-05/0.4422, allocations: 23.98 kB / 426.8 MB, free: 12.1 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.0002098/0.4424, allocations: 142.7 kB / 426.9 MB, free: 11.95 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002487/0.4427, allocations: 126.5 kB / 427 MB, free: 11.82 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002024/0.4447, allocations: 0.6086 MB / 427.6 MB, free: 11.2 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.834e-06/0.4448, allocations: 4 kB / 427.6 MB, free: 11.2 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/0.4448, allocations: 0 / 427.6 MB, free: 11.2 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.836e-06/0.4448, allocations: 3.953 kB / 427.6 MB, free: 11.19 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001026/0.4458, allocations: 0.5641 MB / 428.2 MB, free: 10.59 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.868e-05/0.4459, allocations: 12 kB / 428.2 MB, free: 10.58 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002363/0.4461, allocations: 39.97 kB / 428.2 MB, free: 10.54 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002336/0.4464, allocations: 65.62 kB / 428.3 MB, free: 10.47 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.434e-05/0.4464, allocations: 15.98 kB / 428.3 MB, free: 10.46 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002405/0.4489, allocations: 2.883 MB / 431.2 MB, free: 7.34 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.4489, allocations: 0 / 431.2 MB, free: 7.34 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001223/0.4501, allocations: 0.7672 MB / 432 MB, free: 6.551 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004147/0.4505, allocations: 283.5 kB / 432.3 MB, free: 6.254 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001624/0.4507, allocations: 7.953 kB / 432.3 MB, free: 6.246 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003169/0.451, allocations: 16.02 kB / 432.3 MB, free: 6.23 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.474e-05/0.4511, allocations: 31.95 kB / 432.3 MB, free: 6.199 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.805e-05/0.4512, allocations: 20.05 kB / 432.3 MB, free: 6.18 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0007642/0.452, allocations: 0.5516 MB / 432.9 MB, free: 5.625 MB / 314.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.452, allocations: 3.938 kB / 432.9 MB, free: 5.621 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.00105/0.4531, allocations: 231.8 kB / 433.1 MB, free: 5.395 MB / 314.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.0008568/0.4539, allocations: 418.7 kB / 433.5 MB, free: 4.977 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001008/0.4549, allocations: 0.6969 MB / 434.2 MB, free: 4.223 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.455, allocations: 0 / 434.2 MB, free: 4.223 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006013/0.4556, allocations: 0.5795 MB / 434.8 MB, free: 3.586 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004684/0.456, allocations: 76.81 kB / 434.9 MB, free: 3.512 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001836/0.4579, allocations: 1.065 MB / 435.9 MB, free: 2.414 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005477/0.4585, allocations: 1.023 MB / 437 MB, free: 1.359 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0002737/0.4587, allocations: 64.58 kB / 437 MB, free: 1.293 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.077e-05/0.4588, allocations: 35.44 kB / 437.1 MB, free: 1.258 MB / 314.7 MB Notification: Performance of SimCode: time 3.5e-07/0.4588, allocations: 0 / 437.1 MB, free: 1.258 MB / 314.7 MB Notification: Performance of Templates: time 0.01558/0.4744, allocations: 7.52 MB / 444.6 MB, free: 9.73 MB / 330.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)