Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.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.Analog.Examples.CharacteristicIdealDiodes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes") translateModel(Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.007947/0.007947, allocations: 166.7 kB / 15.11 MB, free: 5.973 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.457/1.457, allocations: 170.8 MB / 186.6 MB, free: 1.129 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.001579/0.001579, allocations: 107.3 kB / 226.2 MB, free: 10.11 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003986/0.0003986, allocations: 8 kB / 274.1 MB, free: 10.1 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2544/0.2548, allocations: 38.76 MB / 312.9 MB, free: 38.71 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.0896/0.3445, allocations: 67.89 MB / 380.8 MB, free: 6.645 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002084/0.3447, allocations: 67.97 kB / 380.8 MB, free: 6.578 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01619/0.3609, allocations: 6.072 MB / 386.9 MB, free: 496 kB / 282.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.3609, allocations: 0 / 386.9 MB, free: 496 kB / 282.7 MB Notification: Performance of Transformations before backend: time 2.128e-05/0.361, allocations: 8 kB / 386.9 MB, free: 488 kB / 282.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.0009546/0.3619, allocations: 0.666 MB / 387.6 MB, free: 15.76 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.268e-05/0.362, allocations: 12.03 kB / 387.6 MB, free: 15.75 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.389e-05/0.3621, allocations: 51.44 kB / 387.6 MB, free: 15.7 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003968/0.3625, allocations: 302.1 kB / 387.9 MB, free: 15.36 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.814e-05/0.3625, allocations: 24.66 kB / 388 MB, free: 15.34 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.657e-05/0.3626, allocations: 28 kB / 388 MB, free: 15.31 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006086/0.3632, allocations: 358.8 kB / 388.3 MB, free: 14.94 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.22e-05/0.3632, allocations: 0 / 388.3 MB, free: 14.94 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.906e-05/0.3633, allocations: 12 kB / 388.4 MB, free: 14.93 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.142e-05/0.3633, allocations: 8 kB / 388.4 MB, free: 14.92 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005733/0.3639, allocations: 282.4 kB / 388.6 MB, free: 14.64 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00223/0.3661, allocations: 1.449 MB / 390.1 MB, free: 13.11 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004697/0.3666, allocations: 222.4 kB / 390.3 MB, free: 12.88 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.299e-05/0.3667, allocations: 11.97 kB / 390.3 MB, free: 12.87 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.708e-05/0.3667, allocations: 34.56 kB / 390.3 MB, free: 12.82 MB / 298.7 MB Notification: Performance of pre-optimization done (n=24): time 2.054e-06/0.3667, allocations: 0 / 390.3 MB, free: 12.82 MB / 298.7 MB Notification: Performance of matching and sorting (n=24): time 0.001572/0.3683, allocations: 0.7117 MB / 391.1 MB, free: 12.04 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.565e-05/0.3684, allocations: 63.34 kB / 391.1 MB, free: 11.97 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003009/0.3687, allocations: 271.7 kB / 391.4 MB, free: 11.7 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.866e-05/0.3687, allocations: 33.64 kB / 391.4 MB, free: 11.66 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001461/0.3689, allocations: 216.1 kB / 391.6 MB, free: 11.44 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.824e-05/0.3689, allocations: 70.92 kB / 391.7 MB, free: 11.37 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.292e-05/0.3689, allocations: 4 kB / 391.7 MB, free: 11.37 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.000144/0.3691, allocations: 346.8 kB / 392 MB, free: 11.02 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001791/0.3693, allocations: 79.97 kB / 392.1 MB, free: 10.94 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002037/0.3695, allocations: 133 kB / 392.3 MB, free: 10.8 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001994/0.3697, allocations: 87.92 kB / 392.3 MB, free: 10.71 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.3697, allocations: 0 / 392.3 MB, free: 10.71 MB / 298.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007219/0.3704, allocations: 375.7 kB / 392.7 MB, free: 10.33 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.031e-05/0.3705, allocations: 8 kB / 392.7 MB, free: 10.32 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.124e-06/0.3705, allocations: 0 / 392.7 MB, free: 10.32 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004021/0.3709, allocations: 118.5 kB / 392.8 MB, free: 10.2 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000181/0.3711, allocations: 31.92 kB / 392.9 MB, free: 10.16 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003592/0.3747, allocations: 4.492 MB / 397.4 MB, free: 5.27 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002216/0.3749, allocations: 31.81 kB / 397.4 MB, free: 5.238 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.462e-05/0.375, allocations: 12 kB / 397.4 MB, free: 5.227 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 () * Number of clocked 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 0.0002092/0.3752, allocations: 141.8 kB / 397.5 MB, free: 5.078 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.312e-05/0.3752, allocations: 31.62 kB / 397.6 MB, free: 5.047 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.361e-05/0.3753, allocations: 39.17 kB / 397.6 MB, free: 5.004 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.877e-06/0.3754, allocations: 8.062 kB / 397.6 MB, free: 4.996 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.365e-06/0.3754, allocations: 0 / 397.6 MB, free: 4.996 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.761e-06/0.3754, allocations: 3.984 kB / 397.6 MB, free: 4.992 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004388/0.3758, allocations: 377.2 kB / 398 MB, free: 4.574 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.3758, allocations: 0 / 398 MB, free: 4.574 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001176/0.376, allocations: 31.84 kB / 398 MB, free: 4.543 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000311/0.3763, allocations: 114.5 kB / 398.1 MB, free: 4.422 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.864e-05/0.3763, allocations: 8 kB / 398.1 MB, free: 4.414 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003446/0.3798, allocations: 4.466 MB / 402.6 MB, free: 15.55 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.3798, allocations: 0 / 402.6 MB, free: 15.55 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005956/0.3804, allocations: 418.3 kB / 403 MB, free: 15.11 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001395/0.3805, allocations: 140.5 kB / 403.1 MB, free: 14.96 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.311e-05/0.3806, allocations: 4 kB / 403.1 MB, free: 14.95 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002162/0.3808, allocations: 19.98 kB / 403.2 MB, free: 14.93 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.498e-05/0.3809, allocations: 27.97 kB / 403.2 MB, free: 14.91 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.554e-05/0.3809, allocations: 4 kB / 403.2 MB, free: 14.9 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002115/0.3811, allocations: 227 kB / 403.4 MB, free: 14.68 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3811, allocations: 0 / 403.4 MB, free: 14.68 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0006239/0.3818, allocations: 115.8 kB / 403.5 MB, free: 14.57 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 () * Number of clocked 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.0001401/0.3819, allocations: 99.62 kB / 403.6 MB, free: 14.46 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0008653/0.3828, allocations: 0.5896 MB / 404.2 MB, free: 13.84 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.3828, allocations: 0.6562 kB / 404.2 MB, free: 13.84 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005257/0.3833, allocations: 479.9 kB / 404.7 MB, free: 13.33 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003654/0.3837, allocations: 67.47 kB / 404.8 MB, free: 13.27 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001178/0.3849, allocations: 0.767 MB / 405.5 MB, free: 12.48 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003759/0.3853, allocations: 0.8067 MB / 406.3 MB, free: 11.64 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001121/0.3854, allocations: 22.98 kB / 406.4 MB, free: 11.62 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.418e-05/0.3855, allocations: 19.44 kB / 406.4 MB, free: 11.6 MB / 314.7 MB Notification: Performance of SimCode: time 4.81e-07/0.3855, allocations: 3.938 kB / 406.4 MB, free: 11.59 MB / 314.7 MB Notification: Performance of Templates: time 0.008712/0.3942, allocations: 4.733 MB / 411.1 MB, free: 6.898 MB / 314.7 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.sim & ./Modelica_3.2.1_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.pipe 2>&1)