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.001006/0.001006, allocations: 178.3 kB / 16.38 MB, free: 5.766 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.129/1.129, allocations: 194.5 MB / 211.6 MB, free: 3.055 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.001645/0.001645, allocations: 115.4 kB / 256.9 MB, free: 4.344 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003263/0.0003263, allocations: 15.98 kB / 310.6 MB, free: 14.93 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08437/0.08471, allocations: 44.49 MB / 355.1 MB, free: 2.34 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2282/0.313, allocations: 73.15 MB / 428.2 MB, free: 16.35 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002133/0.3133, allocations: 69.66 kB / 428.3 MB, free: 16.31 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01369/0.327, allocations: 6.233 MB / 434.5 MB, free: 11.1 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.844e-06/0.327, allocations: 0 / 434.5 MB, free: 11.1 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.985e-05/0.327, allocations: 8 kB / 434.5 MB, free: 11.09 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: 80 * Number of variables: 80 Notification: Performance of Generate backend data structure: time 0.0008248/0.3278, allocations: 0.6639 MB / 435.2 MB, free: 10.41 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.211e-05/0.3279, allocations: 8.031 kB / 435.2 MB, free: 10.4 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.392e-05/0.328, allocations: 51.39 kB / 435.2 MB, free: 10.35 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002956/0.3283, allocations: 298.3 kB / 435.5 MB, free: 10.05 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.729e-05/0.3283, allocations: 26.77 kB / 435.5 MB, free: 10.03 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.806e-05/0.3283, allocations: 30.06 kB / 435.6 MB, free: 10.01 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005076/0.3289, allocations: 352 kB / 435.9 MB, free: 9.746 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.109e-05/0.3289, allocations: 0.75 kB / 435.9 MB, free: 9.746 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.044e-05/0.3289, allocations: 18.81 kB / 435.9 MB, free: 9.738 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.784e-06/0.3289, allocations: 8 kB / 435.9 MB, free: 9.73 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004501/0.3294, allocations: 275.9 kB / 436.2 MB, free: 9.539 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001566/0.331, allocations: 1.434 MB / 437.7 MB, free: 8.238 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003528/0.3313, allocations: 237.2 kB / 437.9 MB, free: 8.07 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.403e-05/0.3314, allocations: 7.984 kB / 437.9 MB, free: 8.062 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.577e-05/0.3314, allocations: 30.56 kB / 437.9 MB, free: 8.023 MB / 314.7 MB Notification: Performance of pre-optimization done (n=24): time 1.212e-06/0.3314, allocations: 3.875 kB / 437.9 MB, free: 8.023 MB / 314.7 MB Notification: Performance of matching and sorting (n=24): time 0.00124/0.3326, allocations: 0.708 MB / 438.6 MB, free: 7.344 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.167e-05/0.3327, allocations: 55.34 kB / 438.7 MB, free: 7.277 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002025/0.3329, allocations: 278.1 kB / 439 MB, free: 7.055 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.81e-05/0.3329, allocations: 29.2 kB / 439 MB, free: 7.023 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.461e-05/0.333, allocations: 208.6 kB / 439.2 MB, free: 6.863 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.837e-05/0.333, allocations: 80.2 kB / 439.3 MB, free: 6.793 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.104e-05/0.333, allocations: 3.125 kB / 439.3 MB, free: 6.793 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.106e-05/0.3331, allocations: 339.6 kB / 439.6 MB, free: 6.465 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001577/0.3333, allocations: 84.89 kB / 439.7 MB, free: 6.406 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001599/0.3334, allocations: 129 kB / 439.8 MB, free: 6.297 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001721/0.3336, allocations: 89.11 kB / 439.9 MB, free: 6.238 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.3336, allocations: 0 / 439.9 MB, free: 6.238 MB / 314.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006231/0.3343, allocations: 380.8 kB / 440.3 MB, free: 5.938 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.567e-05/0.3343, allocations: 8 kB / 440.3 MB, free: 5.93 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.95e-06/0.3343, allocations: 0 / 440.3 MB, free: 5.93 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003577/0.3347, allocations: 118.5 kB / 440.4 MB, free: 5.832 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001654/0.3348, allocations: 35.95 kB / 440.4 MB, free: 5.797 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002447/0.3373, allocations: 4.471 MB / 444.9 MB, free: 1.23 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001998/0.3375, allocations: 35.52 kB / 444.9 MB, free: 1.199 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.812e-05/0.3375, allocations: 13.33 kB / 444.9 MB, free: 1.191 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 () * 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.0001354/0.3377, allocations: 146.1 kB / 445.1 MB, free: 1.059 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.029e-05/0.3377, allocations: 31.62 kB / 445.1 MB, free: 1.027 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.969e-05/0.3378, allocations: 39.98 kB / 445.2 MB, free: 1.004 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.065e-06/0.3378, allocations: 3.953 kB / 445.2 MB, free: 1 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.105e-06/0.3378, allocations: 0 / 445.2 MB, free: 1 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.018e-06/0.3378, allocations: 8 kB / 445.2 MB, free: 0.9922 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002889/0.3381, allocations: 372.4 kB / 445.5 MB, free: 0.6484 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.3381, allocations: 1.938 kB / 445.5 MB, free: 0.6484 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000106/0.3382, allocations: 27.92 kB / 445.6 MB, free: 0.6211 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002653/0.3385, allocations: 110.4 kB / 445.7 MB, free: 0.5312 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.764e-05/0.3385, allocations: 11.48 kB / 445.7 MB, free: 0.5234 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003173/0.3417, allocations: 4.47 MB / 450.2 MB, free: 11.88 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.3417, allocations: 3.953 kB / 450.2 MB, free: 11.87 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005808/0.3423, allocations: 418.2 kB / 450.6 MB, free: 11.43 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001261/0.3425, allocations: 128.6 kB / 450.7 MB, free: 11.29 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.123e-05/0.3425, allocations: 5.938 kB / 450.7 MB, free: 11.29 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002171/0.3427, allocations: 23.98 kB / 450.7 MB, free: 11.26 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.757e-05/0.3428, allocations: 31.91 kB / 450.8 MB, free: 11.23 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.704e-05/0.3428, allocations: 11.94 kB / 450.8 MB, free: 11.22 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001895/0.343, allocations: 215.1 kB / 451 MB, free: 11.01 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.343, allocations: 4 kB / 451 MB, free: 11 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005955/0.3436, allocations: 115.7 kB / 451.1 MB, free: 10.89 MB / 330.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.0001168/0.3438, allocations: 103.2 kB / 451.2 MB, free: 10.78 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0008033/0.3446, allocations: 0.5749 MB / 451.8 MB, free: 10.17 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.3446, allocations: 4 kB / 451.8 MB, free: 10.16 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004799/0.3451, allocations: 491.9 kB / 452.3 MB, free: 9.645 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003118/0.3454, allocations: 54.53 kB / 452.3 MB, free: 9.598 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001046/0.3465, allocations: 0.7527 MB / 453.1 MB, free: 8.824 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003401/0.3468, allocations: 0.8067 MB / 453.9 MB, free: 7.988 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001052/0.3469, allocations: 23.16 kB / 453.9 MB, free: 7.965 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.877e-05/0.347, allocations: 19.44 kB / 453.9 MB, free: 7.945 MB / 330.7 MB Notification: Performance of SimCode: time 4.81e-07/0.347, allocations: 0 / 453.9 MB, free: 7.945 MB / 330.7 MB Notification: Performance of Templates: time 0.008013/0.355, allocations: 4.736 MB / 458.6 MB, free: 3.293 MB / 330.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)