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.0009949/0.000995, allocations: 182.1 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.404/1.404, allocations: 194.3 MB / 208.4 MB, free: 6.707 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.001648/0.001648, allocations: 128.6 kB / 253.5 MB, free: 9.574 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.144e-05/3.147e-05, allocations: 7.984 kB / 304.9 MB, free: 29.76 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08197/0.08201, allocations: 44.49 MB / 349.4 MB, free: 1.246 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3076/0.3896, allocations: 75.7 MB / 425.1 MB, free: 10.86 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001523/0.3898, allocations: 73.14 kB / 425.2 MB, free: 10.84 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0474/0.4373, allocations: 15.58 MB / 440.8 MB, free: 5.043 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.746e-06/0.4373, allocations: 0 / 440.8 MB, free: 5.043 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.527e-05/0.4374, allocations: 27.22 kB / 440.8 MB, free: 5.035 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: 207 * Number of variables: 207 Notification: Performance of Generate backend data structure: time 0.003869/0.4412, allocations: 1.222 MB / 442 MB, free: 3.852 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.76e-05/0.4413, allocations: 12.03 kB / 442 MB, free: 3.84 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002633/0.4416, allocations: 102.8 kB / 442.2 MB, free: 3.738 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009113/0.4425, allocations: 0.5186 MB / 442.7 MB, free: 3.301 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.635e-05/0.4426, allocations: 59 kB / 442.7 MB, free: 3.27 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002067/0.4428, allocations: 88.22 kB / 442.8 MB, free: 3.211 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002286/0.4451, allocations: 0.9514 MB / 443.8 MB, free: 2.586 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.571e-05/0.4451, allocations: 4 kB / 443.8 MB, free: 2.582 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001464/0.4453, allocations: 33.75 kB / 443.8 MB, free: 2.574 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.546e-05/0.4453, allocations: 23.95 kB / 443.8 MB, free: 2.551 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002272/0.4476, allocations: 0.8923 MB / 444.7 MB, free: 2.023 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00733/0.455, allocations: 3.493 MB / 448.2 MB, free: 15.42 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002059/0.4571, allocations: 0.8054 MB / 449 MB, free: 14.97 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001024/0.4581, allocations: 462.1 kB / 449.5 MB, free: 14.72 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.035e-05/0.4582, allocations: 12.25 kB / 449.5 MB, free: 14.71 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.865e-05/0.4583, allocations: 38.69 kB / 449.5 MB, free: 14.66 MB / 314.7 MB Notification: Performance of pre-optimization done (n=67): time 5.21e-06/0.4583, allocations: 0 / 449.5 MB, free: 14.66 MB / 314.7 MB Notification: Performance of matching and sorting (n=71): time 0.005712/0.464, allocations: 2.068 MB / 451.6 MB, free: 13.18 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.262e-05/0.4641, allocations: 60.19 kB / 451.6 MB, free: 13.1 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008348/0.4649, allocations: 459.8 kB / 452.1 MB, free: 12.75 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 9.56e-05/0.465, allocations: 38.52 kB / 452.1 MB, free: 12.71 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003221/0.4654, allocations: 405.2 kB / 452.5 MB, free: 12.42 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000209/0.4656, allocations: 253.2 kB / 452.8 MB, free: 12.21 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.321e-05/0.4656, allocations: 18.25 kB / 452.8 MB, free: 12.2 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001653/0.4658, allocations: 376.1 kB / 453.2 MB, free: 11.86 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005998/0.4664, allocations: 371.3 kB / 453.5 MB, free: 11.66 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006649/0.4671, allocations: 482.1 kB / 454 MB, free: 11.33 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001029/0.4681, allocations: 394.3 kB / 454.4 MB, free: 11.11 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.4682, allocations: 4 kB / 454.4 MB, free: 11.11 MB / 314.7 MB Notification: Performance of matching and sorting (n=103) (initialization): time 0.003051/0.4712, allocations: 1.132 MB / 455.5 MB, free: 10.34 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.309e-05/0.4713, allocations: 12 kB / 455.5 MB, free: 10.33 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.923e-05/0.4713, allocations: 4 kB / 455.5 MB, free: 10.33 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007374/0.472, allocations: 179.8 kB / 455.7 MB, free: 10.19 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001866/0.4739, allocations: 287.4 kB / 456 MB, free: 9.914 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005113/0.479, allocations: 2.597 MB / 458.6 MB, free: 7.777 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001741/0.4808, allocations: 134.3 kB / 458.7 MB, free: 7.66 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001268/0.4809, allocations: 38.47 kB / 458.7 MB, free: 7.629 MB / 314.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 () * 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.0002995/0.4813, allocations: 141.5 kB / 458.9 MB, free: 7.508 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002177/0.4815, allocations: 71.16 kB / 459 MB, free: 7.438 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003636/0.4819, allocations: 95.94 kB / 459.1 MB, free: 7.387 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.193e-05/0.4819, allocations: 8 kB / 459.1 MB, free: 7.379 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.41e-05/0.4819, allocations: 4 kB / 459.1 MB, free: 7.375 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.123e-05/0.4819, allocations: 3.984 kB / 459.1 MB, free: 7.371 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001735/0.4837, allocations: 0.9994 MB / 460.1 MB, free: 6.422 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.851e-06/0.4837, allocations: 0 / 460.1 MB, free: 6.422 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00191/0.4856, allocations: 247.7 kB / 460.3 MB, free: 6.18 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008638/0.4865, allocations: 180.8 kB / 460.5 MB, free: 6 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.082e-05/0.4866, allocations: 23.98 kB / 460.5 MB, free: 5.977 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004934/0.4915, allocations: 2.597 MB / 463.1 MB, free: 3.25 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/0.4916, allocations: 3.953 kB / 463.1 MB, free: 3.246 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003968/0.4955, allocations: 1.576 MB / 464.7 MB, free: 1.652 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002382/0.4958, allocations: 144.2 kB / 464.8 MB, free: 1.492 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001694/0.496, allocations: 20 kB / 464.8 MB, free: 1.473 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001444/0.4974, allocations: 147.9 kB / 465 MB, free: 1.328 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001638/0.4976, allocations: 52.7 kB / 465 MB, free: 1.277 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001048/0.4977, allocations: 23.98 kB / 465.1 MB, free: 1.254 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0006073/0.4983, allocations: 361.5 kB / 465.4 MB, free: 0.9023 MB / 314.7 MB Notification: Performance of sort global known variables: time 2.01e-07/0.4984, allocations: 0 / 465.4 MB, free: 0.9023 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001263/0.4996, allocations: 248.1 kB / 465.7 MB, free: 0.6602 MB / 314.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 () * 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.000298/0.4999, allocations: 127.2 kB / 465.8 MB, free: 0.5273 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.003162/0.5031, allocations: 1.108 MB / 466.9 MB, free: 15.4 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/0.5031, allocations: 0 / 466.9 MB, free: 15.4 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002042/0.5052, allocations: 0.6795 MB / 467.6 MB, free: 14.71 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008087/0.506, allocations: 106.8 kB / 467.7 MB, free: 14.61 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004368/0.5104, allocations: 1.704 MB / 469.4 MB, free: 12.88 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007302/0.5111, allocations: 0.9736 MB / 470.4 MB, free: 11.88 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0008373/0.512, allocations: 85.16 kB / 470.4 MB, free: 11.8 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003826/0.5124, allocations: 51.41 kB / 470.5 MB, free: 11.75 MB / 330.7 MB Notification: Performance of SimCode: time 1.292e-06/0.5124, allocations: 4 kB / 470.5 MB, free: 11.75 MB / 330.7 MB Notification: Performance of Templates: time 0.02638/0.5388, allocations: 10.4 MB / 480.9 MB, free: 1.352 MB / 330.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)