Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.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.DifferenceAmplifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Analog.Examples.DifferenceAmplifier") translateModel(Modelica.Electrical.Analog.Examples.DifferenceAmplifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Analog.Examples.DifferenceAmplifier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001165/0.001165, allocations: 179.8 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.203/1.203, allocations: 194.5 MB / 211.6 MB, free: 3.051 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.001544/0.001544, allocations: 115.8 kB / 256.9 MB, free: 4.348 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003292/0.0003292, allocations: 12 kB / 310.6 MB, free: 14.94 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07316/0.07351, allocations: 44.5 MB / 355.1 MB, free: 2.344 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2048/0.2783, allocations: 75.79 MB / 430.8 MB, free: 13.84 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002023/0.2786, allocations: 71.84 kB / 430.9 MB, free: 13.81 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03739/0.316, allocations: 15.56 MB / 446.5 MB, free: 0.6484 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.256e-06/0.3161, allocations: 0 / 446.5 MB, free: 0.6484 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.916e-05/0.3161, allocations: 24 kB / 446.5 MB, free: 0.625 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: 207 * Number of variables: 207 Notification: Performance of Generate backend data structure: time 0.002958/0.3191, allocations: 1.304 MB / 447.8 MB, free: 15.33 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.883e-05/0.3191, allocations: 8.031 kB / 447.8 MB, free: 15.32 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001962/0.3193, allocations: 102.8 kB / 447.9 MB, free: 15.22 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006826/0.32, allocations: 0.5167 MB / 448.4 MB, free: 14.75 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.685e-05/0.3201, allocations: 70 kB / 448.5 MB, free: 14.69 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001337/0.3202, allocations: 83.98 kB / 448.6 MB, free: 14.61 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002216/0.3224, allocations: 1.165 MB / 449.7 MB, free: 13.42 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.707e-05/0.3225, allocations: 224 / 449.7 MB, free: 13.42 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.378e-05/0.3226, allocations: 32 kB / 449.8 MB, free: 13.39 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.791e-05/0.3226, allocations: 27.89 kB / 449.8 MB, free: 13.36 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002888/0.3255, allocations: 1.304 MB / 451.1 MB, free: 12.06 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005227/0.3307, allocations: 3.499 MB / 454.6 MB, free: 8.445 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002778/0.3335, allocations: 1.194 MB / 455.8 MB, free: 7.246 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.024e-05/0.3336, allocations: 12.55 kB / 455.8 MB, free: 7.234 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.495e-05/0.3337, allocations: 39.12 kB / 455.9 MB, free: 7.188 MB / 330.7 MB Notification: Performance of pre-optimization done (n=67): time 3.827e-06/0.3337, allocations: 0 / 455.9 MB, free: 7.188 MB / 330.7 MB Notification: Performance of matching and sorting (n=71): time 0.007969/0.3416, allocations: 3.51 MB / 459.4 MB, free: 3.598 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.687e-05/0.3417, allocations: 64.02 kB / 459.4 MB, free: 3.523 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000519/0.3422, allocations: 466.1 kB / 459.9 MB, free: 3.062 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 7.261e-05/0.3423, allocations: 41.7 kB / 459.9 MB, free: 3.016 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002368/0.3426, allocations: 403.4 kB / 460.3 MB, free: 2.613 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001892/0.3428, allocations: 252.3 kB / 460.6 MB, free: 2.363 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.29e-05/0.3428, allocations: 17.88 kB / 460.6 MB, free: 2.348 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001488/0.343, allocations: 378.8 kB / 460.9 MB, free: 1.969 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001265/0.3442, allocations: 0.5641 MB / 461.5 MB, free: 1.402 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001292/0.3455, allocations: 0.6767 MB / 462.2 MB, free: 0.6914 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001257/0.3468, allocations: 0.5925 MB / 462.8 MB, free: 104 kB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.3468, allocations: 4 kB / 462.8 MB, free: 100 kB / 330.7 MB Notification: Performance of matching and sorting (n=103) (initialization): time 0.003287/0.3501, allocations: 1.548 MB / 464.3 MB, free: 14.54 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.178e-05/0.3502, allocations: 8 kB / 464.3 MB, free: 14.53 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.917e-06/0.3502, allocations: 4.812 kB / 464.3 MB, free: 14.52 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005231/0.3507, allocations: 188.7 kB / 464.5 MB, free: 14.34 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001324/0.352, allocations: 287.6 kB / 464.8 MB, free: 14.05 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003322/0.3554, allocations: 2.654 MB / 467.5 MB, free: 11.27 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009957/0.3564, allocations: 128 kB / 467.6 MB, free: 11.15 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.009e-05/0.3565, allocations: 35.98 kB / 467.6 MB, free: 11.11 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (88): * Single equations (assignments): 87 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(5,60.0%) 11} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003906/0.3569, allocations: 225.6 kB / 467.8 MB, free: 10.88 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001232/0.357, allocations: 71.16 kB / 467.9 MB, free: 10.81 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001897/0.3572, allocations: 90.95 kB / 468 MB, free: 10.72 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.011e-06/0.3572, allocations: 8 kB / 468 MB, free: 10.71 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.04e-05/0.3572, allocations: 3.953 kB / 468 MB, free: 10.71 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.662e-06/0.3572, allocations: 3.984 kB / 468 MB, free: 10.71 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001111/0.3584, allocations: 1.001 MB / 469 MB, free: 9.656 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.539e-06/0.3584, allocations: 3.984 kB / 469 MB, free: 9.652 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001208/0.3596, allocations: 243.7 kB / 469.3 MB, free: 9.414 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004998/0.3601, allocations: 179 kB / 469.4 MB, free: 9.238 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.141e-05/0.3602, allocations: 23.98 kB / 469.5 MB, free: 9.215 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003235/0.3634, allocations: 2.665 MB / 472.1 MB, free: 6.418 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.3634, allocations: 0 / 472.1 MB, free: 6.418 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004491/0.3679, allocations: 2.181 MB / 474.3 MB, free: 4.219 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001889/0.3681, allocations: 140.2 kB / 474.4 MB, free: 4.062 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001071/0.3683, allocations: 20 kB / 474.5 MB, free: 4.043 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009998/0.3693, allocations: 144.9 kB / 474.6 MB, free: 3.902 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001353/0.3694, allocations: 60.59 kB / 474.7 MB, free: 3.84 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.514e-05/0.3695, allocations: 23.98 kB / 474.7 MB, free: 3.816 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0004169/0.3699, allocations: 358.8 kB / 475 MB, free: 3.469 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3699, allocations: 4 kB / 475 MB, free: 3.465 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0007912/0.3707, allocations: 252.1 kB / 475.3 MB, free: 3.219 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 9 (C1.v,C4.v,C5.v,C2.v,C3.v,Transistor1.ct.v,Transistor1.Tr.C.v,Transistor2.ct.v,Transistor2.Tr.C.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (56): * Single equations (assignments): 55 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(5,68.0%) 11} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002191/0.3709, allocations: 123.2 kB / 475.4 MB, free: 3.09 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.003384/0.3743, allocations: 1.522 MB / 476.9 MB, free: 1.559 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.488e-06/0.3744, allocations: 8.062 kB / 476.9 MB, free: 1.551 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001983/0.3763, allocations: 0.8928 MB / 477.8 MB, free: 0.6484 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006739/0.377, allocations: 109.2 kB / 477.9 MB, free: 0.543 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003991/0.381, allocations: 2.581 MB / 480.5 MB, free: 13.96 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005004/0.3816, allocations: 0.9736 MB / 481.5 MB, free: 12.96 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0005774/0.3821, allocations: 85.34 kB / 481.6 MB, free: 12.88 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002435/0.3824, allocations: 51.41 kB / 481.6 MB, free: 12.82 MB / 362.7 MB Notification: Performance of SimCode: time 6.61e-07/0.3824, allocations: 0 / 481.6 MB, free: 12.82 MB / 362.7 MB Notification: Performance of Templates: time 0.01659/0.399, allocations: 10.41 MB / 492 MB, free: 2.465 MB / 362.7 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.sim & ./Modelica_3.2.2_Modelica.Electrical.Analog.Examples.DifferenceAmplifier -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.pipe 2>&1)