Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes") translateModel(Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.00099/0.0009901, allocations: 182.7 kB / 13.64 MB, free: 1.676 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.51/1.51, allocations: 194.3 MB / 208.4 MB, free: 6.703 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001658/0.001658, allocations: 126.2 kB / 253.5 MB, free: 9.574 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.317e-05/3.319e-05, allocations: 7.984 kB / 304.9 MB, free: 29.77 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08324/0.08328, allocations: 44.5 MB / 349.4 MB, free: 1.262 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4431/0.5265, allocations: 73.06 MB / 422.5 MB, free: 11 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002845/0.5268, allocations: 72.22 kB / 422.6 MB, free: 11 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01962/0.5464, allocations: 6.238 MB / 428.8 MB, free: 9.113 MB / 298.7 MB Notification: Performance of FrontEnd: time 3.516e-06/0.5465, allocations: 4 kB / 428.8 MB, free: 9.109 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.534e-05/0.5465, allocations: 7.812 kB / 428.8 MB, free: 9.109 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: 80 * Number of variables: 80 Notification: Performance of Generate backend data structure: time 0.000871/0.5474, allocations: 0.6145 MB / 429.4 MB, free: 8.613 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.719e-05/0.5474, allocations: 13.17 kB / 429.4 MB, free: 8.613 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.325e-05/0.5475, allocations: 50.39 kB / 429.5 MB, free: 8.586 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003235/0.5479, allocations: 296.9 kB / 429.8 MB, free: 8.332 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.486e-05/0.5479, allocations: 23.12 kB / 429.8 MB, free: 8.332 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.178e-05/0.5479, allocations: 33.84 kB / 429.8 MB, free: 8.332 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000502/0.5485, allocations: 336.9 kB / 430.2 MB, free: 8.215 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.455e-05/0.5485, allocations: 3.984 kB / 430.2 MB, free: 8.211 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.82e-05/0.5485, allocations: 14.28 kB / 430.2 MB, free: 8.211 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.626e-06/0.5485, allocations: 7.688 kB / 430.2 MB, free: 8.211 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003724/0.5489, allocations: 233.5 kB / 430.4 MB, free: 8.195 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001822/0.5508, allocations: 1.437 MB / 431.9 MB, free: 7.195 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003746/0.5511, allocations: 217.2 kB / 432.1 MB, free: 7.148 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001586/0.5513, allocations: 91.02 kB / 432.2 MB, free: 7.141 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.794e-05/0.5513, allocations: 3.844 kB / 432.2 MB, free: 7.141 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.848e-05/0.5514, allocations: 38.5 kB / 432.2 MB, free: 7.098 MB / 298.7 MB Notification: Performance of pre-optimization done (n=24): time 1.683e-06/0.5514, allocations: 3.781 kB / 432.2 MB, free: 7.098 MB / 298.7 MB Notification: Performance of matching and sorting (n=24): time 0.0005315/0.5519, allocations: 263.8 kB / 432.5 MB, free: 7.008 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.706e-05/0.552, allocations: 51.41 kB / 432.5 MB, free: 6.945 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002923/0.5523, allocations: 268 kB / 432.8 MB, free: 6.828 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.346e-05/0.5523, allocations: 29.52 kB / 432.8 MB, free: 6.797 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001176/0.5524, allocations: 212.8 kB / 433 MB, free: 6.652 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.09e-05/0.5525, allocations: 84.64 kB / 433.1 MB, free: 6.594 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.218e-05/0.5525, allocations: 2.812 kB / 433.1 MB, free: 6.594 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001143/0.5527, allocations: 340.1 kB / 433.4 MB, free: 6.273 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001097/0.5528, allocations: 67.88 kB / 433.5 MB, free: 6.27 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001326/0.5529, allocations: 101.7 kB / 433.6 MB, free: 6.227 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001326/0.5531, allocations: 80 kB / 433.7 MB, free: 6.207 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/0.5531, allocations: 0 / 433.7 MB, free: 6.207 MB / 298.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005536/0.5536, allocations: 324.6 kB / 434 MB, free: 6.094 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.336e-05/0.5537, allocations: 7.719 kB / 434 MB, free: 6.094 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.233e-06/0.5537, allocations: 0 / 434 MB, free: 6.094 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004135/0.5541, allocations: 123.5 kB / 434.1 MB, free: 6.043 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002218/0.5543, allocations: 37.8 kB / 434.1 MB, free: 6.035 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002766/0.5571, allocations: 4.433 MB / 438.6 MB, free: 1.859 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002146/0.5573, allocations: 23.22 kB / 438.6 MB, free: 1.852 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.968e-05/0.5574, allocations: 14.83 kB / 438.6 MB, free: 1.848 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 3 (Ideal.off,With_Ron_Goff.off,With_Ron_Goff_Vknee.off) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 4,1 4,1 4} Notification: Performance of prepare postOptimizeDAE: time 8.202e-05/0.5574, allocations: 111 kB / 438.7 MB, free: 1.742 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.838e-05/0.5575, allocations: 42.91 kB / 438.8 MB, free: 1.719 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.228e-05/0.5576, allocations: 45.66 kB / 438.8 MB, free: 1.699 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.5576, allocations: 3.953 kB / 438.8 MB, free: 1.695 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.5576, allocations: 4 kB / 438.8 MB, free: 1.691 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/0.5576, allocations: 3.969 kB / 438.8 MB, free: 1.691 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003481/0.558, allocations: 370.2 kB / 439.2 MB, free: 1.434 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.558, allocations: 3.938 kB / 439.2 MB, free: 1.43 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001053/0.5581, allocations: 23.23 kB / 439.2 MB, free: 1.426 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002858/0.5584, allocations: 111.2 kB / 439.3 MB, free: 1.383 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.433e-05/0.5584, allocations: 7.469 kB / 439.3 MB, free: 1.383 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003053/0.5615, allocations: 4.438 MB / 443.8 MB, free: 13.21 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.5615, allocations: 4.125 kB / 443.8 MB, free: 13.21 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004565/0.562, allocations: 366.9 kB / 444.1 MB, free: 13.02 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001354/0.5621, allocations: 129.9 kB / 444.3 MB, free: 12.9 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.039e-05/0.5621, allocations: 3.812 kB / 444.3 MB, free: 12.9 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002401/0.5624, allocations: 30.83 kB / 444.3 MB, free: 12.89 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.329e-05/0.5625, allocations: 30.64 kB / 444.3 MB, free: 12.87 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.79e-05/0.5625, allocations: 11.3 kB / 444.3 MB, free: 12.87 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001864/0.5627, allocations: 209.2 kB / 444.5 MB, free: 12.78 MB / 314.7 MB Notification: Performance of sort global known variables: time 2.4e-07/0.5627, allocations: 0 / 444.5 MB, free: 12.78 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0005941/0.5633, allocations: 110.5 kB / 444.6 MB, free: 12.77 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (Ideal.off,With_Ron_Goff.off,With_Ron_Goff_Vknee.off) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 4,1 4,1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.000161/0.5635, allocations: 113 kB / 444.8 MB, free: 12.67 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0006957/0.5642, allocations: 0.5403 MB / 445.3 MB, free: 12.3 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.217e-06/0.5642, allocations: 0 / 445.3 MB, free: 12.3 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004184/0.5646, allocations: 464.5 kB / 445.7 MB, free: 11.93 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003229/0.5649, allocations: 55.72 kB / 445.8 MB, free: 11.92 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000752/0.5657, allocations: 413.2 kB / 446.2 MB, free: 11.7 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000321/0.566, allocations: 0.8001 MB / 447 MB, free: 10.95 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001132/0.5662, allocations: 26.23 kB / 447 MB, free: 10.93 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.286e-05/0.5662, allocations: 22.92 kB / 447.1 MB, free: 10.92 MB / 314.7 MB Notification: Performance of SimCode: time 5.41e-07/0.5662, allocations: 0 / 447.1 MB, free: 10.92 MB / 314.7 MB Notification: Performance of Templates: time 0.008966/0.5752, allocations: 4.722 MB / 451.8 MB, free: 8.48 MB / 314.7 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.sim & ./Modelica_3.2.2_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.pipe 2>&1)