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.001741/0.001741, allocations: 185.5 kB / 8.354 MB, free: 0.7305 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.485/1.485, allocations: 194.3 MB / 203.1 MB, free: 13.03 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.001717/0.001717, allocations: 112.7 kB / 248.1 MB, free: 28 kB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 1.402e-05/1.404e-05, allocations: 7.938 kB / 298.1 MB, free: 35.51 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07456/0.07459, allocations: 44.5 MB / 342.6 MB, free: 7.004 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2722/0.3468, allocations: 72.4 MB / 415 MB, free: 10.93 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001891/0.347, allocations: 69.33 kB / 415 MB, free: 10.93 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01356/0.3606, allocations: 6.167 MB / 421.2 MB, free: 10.11 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.3606, allocations: 0 / 421.2 MB, free: 10.11 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.512e-05/0.3607, allocations: 7.562 kB / 421.2 MB, free: 10.11 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.0006595/0.3613, allocations: 0.6122 MB / 421.8 MB, free: 9.648 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.381e-05/0.3614, allocations: 11.34 kB / 421.8 MB, free: 9.648 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.785e-05/0.3614, allocations: 54.2 kB / 421.9 MB, free: 9.617 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002644/0.3617, allocations: 300.4 kB / 422.2 MB, free: 9.359 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.437e-05/0.3617, allocations: 19.44 kB / 422.2 MB, free: 9.352 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.019e-05/0.3618, allocations: 18.94 kB / 422.2 MB, free: 9.352 MB / 298.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003152/0.3621, allocations: 208.9 kB / 422.4 MB, free: 9.344 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003732/0.3625, allocations: 290.6 kB / 422.7 MB, free: 9.23 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.028e-05/0.3625, allocations: 0 / 422.7 MB, free: 9.23 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.764e-05/0.3625, allocations: 0 / 422.7 MB, free: 9.23 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.277e-06/0.3625, allocations: 7.719 kB / 422.7 MB, free: 9.23 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001424/0.364, allocations: 1.358 MB / 424.1 MB, free: 8.281 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002607/0.3642, allocations: 207.3 kB / 424.3 MB, free: 8.238 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001046/0.3644, allocations: 82.73 kB / 424.4 MB, free: 8.23 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.691e-05/0.3644, allocations: 16.11 kB / 424.4 MB, free: 8.223 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.459e-05/0.3644, allocations: 33.94 kB / 424.4 MB, free: 8.184 MB / 298.7 MB Notification: Performance of pre-optimization done (n=24): time 1.262e-06/0.3644, allocations: 0 / 424.4 MB, free: 8.184 MB / 298.7 MB Notification: Performance of matching and sorting (n=24): time 0.0003686/0.3648, allocations: 238.6 kB / 424.6 MB, free: 8.102 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.717e-05/0.3648, allocations: 54.78 kB / 424.7 MB, free: 8.039 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001733/0.365, allocations: 247.6 kB / 424.9 MB, free: 7.914 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.671e-05/0.365, allocations: 29.7 kB / 425 MB, free: 7.879 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.186e-05/0.3651, allocations: 211.6 kB / 425.2 MB, free: 7.734 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.472e-05/0.3651, allocations: 73.3 kB / 425.2 MB, free: 7.68 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.148e-05/0.3652, allocations: 0 / 425.2 MB, free: 7.68 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.951e-05/0.3652, allocations: 341.4 kB / 425.6 MB, free: 7.355 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.488e-05/0.3653, allocations: 62.38 kB / 425.6 MB, free: 7.352 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.545e-05/0.3654, allocations: 95.94 kB / 425.7 MB, free: 7.309 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.316e-05/0.3655, allocations: 66.61 kB / 425.8 MB, free: 7.301 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.3655, allocations: 0 / 425.8 MB, free: 7.301 MB / 298.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.000444/0.366, allocations: 308.7 kB / 426.1 MB, free: 7.184 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.241e-05/0.366, allocations: 3.938 kB / 426.1 MB, free: 7.184 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.366, allocations: 8 kB / 426.1 MB, free: 7.176 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003043/0.3663, allocations: 108.8 kB / 426.2 MB, free: 7.137 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001575/0.3665, allocations: 38.66 kB / 426.2 MB, free: 7.125 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00223/0.3687, allocations: 4.269 MB / 430.5 MB, free: 19.13 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001754/0.3689, allocations: 19.52 kB / 430.5 MB, free: 19.12 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.72e-05/0.3689, allocations: 7.5 kB / 430.5 MB, free: 19.12 MB / 314.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 9.603e-05/0.369, allocations: 119.5 kB / 430.7 MB, free: 19 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.758e-05/0.3691, allocations: 38.98 kB / 430.7 MB, free: 18.98 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.37e-05/0.3692, allocations: 32.47 kB / 430.7 MB, free: 18.97 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.3692, allocations: 0 / 430.7 MB, free: 18.97 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.234e-06/0.3692, allocations: 3.812 kB / 430.7 MB, free: 18.97 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.3692, allocations: 3.938 kB / 430.7 MB, free: 18.96 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002797/0.3695, allocations: 316.9 kB / 431 MB, free: 18.74 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.3695, allocations: 0 / 431 MB, free: 18.74 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001092/0.3696, allocations: 25.98 kB / 431.1 MB, free: 18.74 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002396/0.3698, allocations: 114 kB / 431.2 MB, free: 18.69 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.401e-05/0.3699, allocations: 0 / 431.2 MB, free: 18.69 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002774/0.3726, allocations: 4.277 MB / 435.5 MB, free: 14.71 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.3727, allocations: 0 / 435.5 MB, free: 14.71 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003392/0.373, allocations: 347.4 kB / 435.8 MB, free: 14.52 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001039/0.3731, allocations: 126.3 kB / 435.9 MB, free: 14.39 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.272e-05/0.3732, allocations: 3.953 kB / 435.9 MB, free: 14.39 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002076/0.3734, allocations: 23.58 kB / 435.9 MB, free: 14.38 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.724e-05/0.3735, allocations: 30.05 kB / 436 MB, free: 14.37 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.507e-05/0.3735, allocations: 7.094 kB / 436 MB, free: 14.37 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001478/0.3736, allocations: 187.3 kB / 436.2 MB, free: 14.28 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.3736, allocations: 0 / 436.2 MB, free: 14.28 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0006336/0.3743, allocations: 108 kB / 436.3 MB, free: 14.26 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.000125/0.3744, allocations: 103.7 kB / 436.4 MB, free: 14.17 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0006497/0.3751, allocations: 0.4978 MB / 436.9 MB, free: 13.83 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.3751, allocations: 0 / 436.9 MB, free: 13.83 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003121/0.3754, allocations: 435.8 kB / 437.3 MB, free: 13.49 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002711/0.3757, allocations: 48.42 kB / 437.3 MB, free: 13.47 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006127/0.3763, allocations: 391.5 kB / 437.7 MB, free: 13.26 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003111/0.3766, allocations: 0.8039 MB / 438.5 MB, free: 12.5 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001014/0.3767, allocations: 25.61 kB / 438.6 MB, free: 12.49 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.278e-05/0.3768, allocations: 22.14 kB / 438.6 MB, free: 12.48 MB / 314.7 MB Notification: Performance of SimCode: time 2.7e-07/0.3768, allocations: 0 / 438.6 MB, free: 12.48 MB / 314.7 MB Notification: Performance of Templates: time 0.006371/0.3832, allocations: 4.126 MB / 442.7 MB, free: 10.42 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)