Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo", uses=false) Using package ModelicaServices with version 1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo) Using package Modelica with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.DifferenceAmplifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Electrical.Analog.Examples.DifferenceAmplifier") translateModel(Modelica.Electrical.Analog.Examples.DifferenceAmplifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Electrical.Analog.Examples.DifferenceAmplifier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo): time 0.6766/0.6766, allocations: 110.8 MB / 118.3 MB, free: 10.53 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo): time 0.001605/0.001605, allocations: 151.4 kB / 144 MB, free: 9.82 MB / 122.7 MB Notification: Performance of FrontEnd - loaded program: time 1.957e-05/1.96e-05, allocations: 7.984 kB / 173.9 MB, free: 11.89 MB / 154.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05443/0.05447, allocations: 25.17 MB / 199 MB, free: 2.672 MB / 170.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1723/0.2268, allocations: 36.82 MB / 235.9 MB, free: 3.156 MB / 170.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002705/0.2271, allocations: 62.17 kB / 235.9 MB, free: 3.098 MB / 170.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04501/0.2722, allocations: 15.25 MB / 251.2 MB, free: 3.926 MB / 186.7 MB Notification: Performance of FrontEnd: time 1.774e-06/0.2722, allocations: 0 / 251.2 MB, free: 3.926 MB / 186.7 MB Notification: Performance of Transformations before backend: time 7.75e-05/0.2723, allocations: 24 kB / 251.2 MB, free: 3.902 MB / 186.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.003839/0.2762, allocations: 1.216 MB / 252.4 MB, free: 2.645 MB / 186.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.678e-05/0.2762, allocations: 8.031 kB / 252.4 MB, free: 2.637 MB / 186.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004356/0.2767, allocations: 99.44 kB / 252.5 MB, free: 2.539 MB / 186.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009855/0.2777, allocations: 0.5219 MB / 253 MB, free: 1.977 MB / 186.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.223e-05/0.2777, allocations: 24 kB / 253 MB, free: 1.953 MB / 186.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001885/0.2779, allocations: 51.95 kB / 253.1 MB, free: 1.902 MB / 186.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001733/0.2797, allocations: 0.8405 MB / 253.9 MB, free: 1.062 MB / 186.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001772/0.2814, allocations: 0.8337 MB / 254.8 MB, free: 220 kB / 186.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.067e-05/0.2815, allocations: 1.125 kB / 254.8 MB, free: 220 kB / 186.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.221e-05/0.2816, allocations: 0 / 254.8 MB, free: 220 kB / 186.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.916e-05/0.2816, allocations: 20 kB / 254.8 MB, free: 200 kB / 186.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006323/0.2879, allocations: 3.344 MB / 258.1 MB, free: 12.75 MB / 202.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001351/0.2893, allocations: 0.7713 MB / 258.9 MB, free: 11.96 MB / 202.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006608/0.29, allocations: 442.5 kB / 259.3 MB, free: 11.53 MB / 202.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.907e-05/0.2901, allocations: 24.42 kB / 259.4 MB, free: 11.51 MB / 202.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.136e-05/0.2901, allocations: 51.06 kB / 259.4 MB, free: 11.45 MB / 202.7 MB Notification: Performance of pre-optimization done (n=67): time 2.976e-06/0.2901, allocations: 0 / 259.4 MB, free: 11.45 MB / 202.7 MB Notification: Performance of matching and sorting (n=71): time 0.004354/0.2945, allocations: 1.979 MB / 261.4 MB, free: 9.414 MB / 202.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.366e-05/0.2946, allocations: 60.19 kB / 261.5 MB, free: 9.344 MB / 202.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005351/0.2951, allocations: 410 kB / 261.9 MB, free: 8.938 MB / 202.7 MB Notification: Performance of collectPreVariables (initialization): time 6.899e-05/0.2952, allocations: 26.45 kB / 261.9 MB, free: 8.906 MB / 202.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003063/0.2955, allocations: 403.3 kB / 262.3 MB, free: 8.504 MB / 202.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002107/0.2957, allocations: 236.4 kB / 262.5 MB, free: 8.27 MB / 202.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.282e-05/0.2958, allocations: 0 / 262.5 MB, free: 8.27 MB / 202.7 MB Notification: Performance of setup shared object (initialization): time 0.00017/0.2959, allocations: 374.8 kB / 262.9 MB, free: 7.895 MB / 202.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005922/0.2965, allocations: 346.1 kB / 263.2 MB, free: 7.555 MB / 202.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006155/0.2972, allocations: 452.4 kB / 263.6 MB, free: 7.082 MB / 202.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006994/0.2979, allocations: 383.5 kB / 264 MB, free: 6.707 MB / 202.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.422e-06/0.2979, allocations: 5.031 kB / 264 MB, free: 6.703 MB / 202.7 MB Notification: Performance of matching and sorting (n=103) (initialization): time 0.001985/0.2999, allocations: 1.069 MB / 265.1 MB, free: 5.629 MB / 202.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.604e-05/0.2999, allocations: 12.34 kB / 265.1 MB, free: 5.617 MB / 202.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.35e-05/0.3, allocations: 4 kB / 265.1 MB, free: 5.613 MB / 202.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005555/0.3005, allocations: 177.9 kB / 265.3 MB, free: 5.438 MB / 202.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001377/0.3019, allocations: 291.6 kB / 265.6 MB, free: 5.152 MB / 202.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003448/0.3054, allocations: 2.518 MB / 268.1 MB, free: 2.52 MB / 202.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001075/0.3065, allocations: 120 kB / 268.2 MB, free: 2.402 MB / 202.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.098e-05/0.3066, allocations: 27.98 kB / 268.2 MB, free: 2.375 MB / 202.7 MB Warning: Assuming fixed start value for the following 9 variables: Transistor2.Tr.C.v:VARIABLE(flow=false unit = "V" ) "Potential at the pin" type: Real Transistor2.ct.v:VARIABLE(unit = "V" ) "Voltage drop between the two pins (= p.v - n.v)" type: Real Transistor1.Tr.C.v:VARIABLE(flow=false unit = "V" ) "Potential at the pin" type: Real Transistor1.ct.v:VARIABLE(unit = "V" ) "Voltage drop between the two pins (= p.v - n.v)" type: Real C3.v:VARIABLE(unit = "V" ) "Voltage drop between the two pins (= p.v - n.v)" type: Real C2.v:VARIABLE(unit = "V" ) "Voltage drop between the two pins (= p.v - n.v)" type: Real C5.v:VARIABLE(unit = "V" ) "Voltage drop between the two pins (= p.v - n.v)" type: Real C4.v:VARIABLE(unit = "V" ) "Voltage drop between the two pins (= p.v - n.v)" type: Real C1.v:VARIABLE(unit = "V" ) "Voltage drop between the two pins (= p.v - n.v)" type: Real 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.0003262/0.3069, allocations: 142.9 kB / 268.4 MB, free: 2.23 MB / 202.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001558/0.3071, allocations: 75.11 kB / 268.4 MB, free: 2.156 MB / 202.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002261/0.3073, allocations: 74.27 kB / 268.5 MB, free: 2.078 MB / 202.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.348e-06/0.3073, allocations: 8 kB / 268.5 MB, free: 2.07 MB / 202.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.454e-05/0.3073, allocations: 8 kB / 268.5 MB, free: 2.062 MB / 202.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.076e-06/0.3073, allocations: 7.922 kB / 268.5 MB, free: 2.055 MB / 202.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001259/0.3086, allocations: 0.8891 MB / 269.4 MB, free: 1.129 MB / 202.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.218e-06/0.3086, allocations: 0 / 269.4 MB, free: 1.129 MB / 202.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001268/0.3099, allocations: 235.7 kB / 269.7 MB, free: 0.8984 MB / 202.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005061/0.3104, allocations: 177.5 kB / 269.8 MB, free: 0.7227 MB / 202.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.78e-05/0.3105, allocations: 11.98 kB / 269.8 MB, free: 0.7109 MB / 202.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003277/0.3138, allocations: 2.521 MB / 272.4 MB, free: 14.07 MB / 218.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/0.3138, allocations: 0 / 272.4 MB, free: 14.07 MB / 218.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002787/0.3166, allocations: 1.533 MB / 273.9 MB, free: 12.52 MB / 218.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000506/0.3171, allocations: 240.2 kB / 274.1 MB, free: 12.27 MB / 218.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002042/0.3173, allocations: 4 kB / 274.1 MB, free: 12.27 MB / 218.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001127/0.3185, allocations: 144 kB / 274.3 MB, free: 12.12 MB / 218.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001317/0.3186, allocations: 56.7 kB / 274.3 MB, free: 12.07 MB / 218.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.532e-05/0.3187, allocations: 20.83 kB / 274.4 MB, free: 12.05 MB / 218.7 MB Notification: Performance of sorting global known variables: time 0.0004065/0.3191, allocations: 307 kB / 274.7 MB, free: 11.75 MB / 218.7 MB Notification: Performance of sort global known variables: time 1.734e-06/0.3191, allocations: 4 kB / 274.7 MB, free: 11.75 MB / 218.7 MB Notification: Performance of remove unused functions: time 0.000973/0.3201, allocations: 212 kB / 274.9 MB, free: 11.54 MB / 218.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.0003303/0.3205, allocations: 131.1 kB / 275 MB, free: 11.4 MB / 218.7 MB Notification: Performance of simCode: created initialization part: time 0.00215/0.3226, allocations: 1.053 MB / 276 MB, free: 10.34 MB / 218.7 MB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/0.3226, allocations: 0.6875 kB / 276 MB, free: 10.34 MB / 218.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001284/0.3239, allocations: 0.6606 MB / 276.7 MB, free: 9.668 MB / 218.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007411/0.3247, allocations: 114 kB / 276.8 MB, free: 9.562 MB / 218.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002651/0.3273, allocations: 1.579 MB / 278.4 MB, free: 7.953 MB / 218.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005731/0.3279, allocations: 0.9774 MB / 279.4 MB, free: 6.945 MB / 218.7 MB Notification: Performance of simCode: alias equations: time 0.0005691/0.3285, allocations: 76.11 kB / 279.5 MB, free: 6.875 MB / 218.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000263/0.3288, allocations: 51.41 kB / 279.5 MB, free: 6.824 MB / 218.7 MB Notification: Performance of SimCode: time 5.41e-07/0.3288, allocations: 0 / 279.5 MB, free: 6.824 MB / 218.7 MB Notification: Performance of Templates: time 0.1264/0.4552, allocations: 9.416 MB / 288.9 MB, free: 57.25 MB / 218.7 MB make -j1 -f Modelica_3.1_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.makefile (rm -f Modelica_3.1_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.pipe ; mkfifo Modelica_3.1_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.pipe >> ../files/Modelica_3.1_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.sim & ./Modelica_3.1_Modelica.Electrical.Analog.Examples.DifferenceAmplifier -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.pipe 2>&1)