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.7286/0.7286, allocations: 110.8 MB / 123.3 MB, free: 10.75 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo): time 0.001656/0.001656, allocations: 151.4 kB / 149.1 MB, free: 0.9531 MB / 122.7 MB Notification: Performance of FrontEnd - loaded program: time 3.777e-05/3.779e-05, allocations: 8 kB / 180.2 MB, free: 17.56 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06208/0.06214, allocations: 25.18 MB / 205.4 MB, free: 8.422 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.06435/0.1265, allocations: 37.48 MB / 242.9 MB, free: 2.875 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002408/0.1268, allocations: 67.97 kB / 242.9 MB, free: 2.809 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1995/0.3263, allocations: 15.39 MB / 258.3 MB, free: 37.19 MB / 186.7 MB Notification: Performance of FrontEnd: time 2.134e-06/0.3264, allocations: 4 kB / 258.3 MB, free: 37.19 MB / 186.7 MB Notification: Performance of Transformations before backend: time 4.008e-05/0.3264, allocations: 20 kB / 258.4 MB, free: 37.17 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.002843/0.3293, allocations: 1.213 MB / 259.6 MB, free: 35.91 MB / 186.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.894e-05/0.3294, allocations: 16.03 kB / 259.6 MB, free: 35.89 MB / 186.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001823/0.3295, allocations: 102.8 kB / 259.7 MB, free: 35.79 MB / 186.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000727/0.3303, allocations: 0.5042 MB / 260.2 MB, free: 35.24 MB / 186.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.52e-05/0.3303, allocations: 58 kB / 260.3 MB, free: 35.19 MB / 186.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001493/0.3305, allocations: 91.86 kB / 260.3 MB, free: 35.1 MB / 186.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001463/0.332, allocations: 0.9509 MB / 261.3 MB, free: 34.13 MB / 186.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.816e-05/0.332, allocations: 0 / 261.3 MB, free: 34.13 MB / 186.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.177e-05/0.3321, allocations: 36 kB / 261.3 MB, free: 34.09 MB / 186.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.538e-05/0.3321, allocations: 24 kB / 261.3 MB, free: 34.07 MB / 186.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001499/0.3336, allocations: 0.8865 MB / 262.2 MB, free: 33.18 MB / 186.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005172/0.3388, allocations: 3.486 MB / 265.7 MB, free: 29.58 MB / 186.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001236/0.3401, allocations: 0.7991 MB / 266.5 MB, free: 28.77 MB / 186.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006122/0.3407, allocations: 466.5 kB / 267 MB, free: 28.32 MB / 186.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.224e-05/0.3408, allocations: 16.53 kB / 267 MB, free: 28.3 MB / 186.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.398e-05/0.3408, allocations: 43.12 kB / 267 MB, free: 28.25 MB / 186.7 MB Notification: Performance of pre-optimization done (n=67): time 3.086e-06/0.3408, allocations: 0 / 267 MB, free: 28.25 MB / 186.7 MB Notification: Performance of matching and sorting (n=71): time 0.003959/0.3448, allocations: 2.06 MB / 269.1 MB, free: 26.14 MB / 186.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.207e-05/0.3448, allocations: 60.19 kB / 269.2 MB, free: 26.06 MB / 186.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005025/0.3453, allocations: 456.8 kB / 269.6 MB, free: 25.61 MB / 186.7 MB Notification: Performance of collectPreVariables (initialization): time 6.082e-05/0.3454, allocations: 37.7 kB / 269.6 MB, free: 25.57 MB / 186.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001918/0.3456, allocations: 407.3 kB / 270 MB, free: 25.16 MB / 186.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001561/0.3458, allocations: 248.4 kB / 270.3 MB, free: 24.92 MB / 186.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.129e-05/0.3458, allocations: 16 kB / 270.3 MB, free: 24.9 MB / 186.7 MB Notification: Performance of setup shared object (initialization): time 0.0001682/0.346, allocations: 378.8 kB / 270.7 MB, free: 24.52 MB / 186.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005299/0.3465, allocations: 357.8 kB / 271 MB, free: 24.18 MB / 186.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005877/0.3471, allocations: 476.1 kB / 271.5 MB, free: 23.68 MB / 186.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005759/0.3477, allocations: 389 kB / 271.9 MB, free: 23.29 MB / 186.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.3477, allocations: 0 / 271.9 MB, free: 23.29 MB / 186.7 MB Notification: Performance of matching and sorting (n=103) (initialization): time 0.001787/0.3495, allocations: 1.133 MB / 273 MB, free: 22.15 MB / 186.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.454e-05/0.3496, allocations: 11.95 kB / 273 MB, free: 22.14 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.906e-06/0.3496, allocations: 0 / 273 MB, free: 22.14 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005451/0.3501, allocations: 184.8 kB / 273.2 MB, free: 21.95 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001255/0.3514, allocations: 287.7 kB / 273.5 MB, free: 21.67 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003176/0.3546, allocations: 2.588 MB / 276.1 MB, free: 18.95 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00129/0.3559, allocations: 136 kB / 276.2 MB, free: 18.82 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.476e-05/0.356, allocations: 27.98 kB / 276.2 MB, free: 18.79 MB / 186.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.0004133/0.3564, allocations: 177.1 kB / 276.4 MB, free: 18.62 MB / 186.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001443/0.3566, allocations: 67.16 kB / 276.4 MB, free: 18.55 MB / 186.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000273/0.3568, allocations: 90.16 kB / 276.5 MB, free: 18.46 MB / 186.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.503e-06/0.3568, allocations: 8 kB / 276.5 MB, free: 18.45 MB / 186.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.843e-05/0.3569, allocations: 4 kB / 276.5 MB, free: 18.45 MB / 186.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.757e-06/0.3569, allocations: 0 / 276.5 MB, free: 18.45 MB / 186.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00127/0.3582, allocations: 1.002 MB / 277.6 MB, free: 17.4 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.531e-06/0.3582, allocations: 4 kB / 277.6 MB, free: 17.39 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001155/0.3593, allocations: 243.7 kB / 277.8 MB, free: 17.16 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004849/0.3598, allocations: 173 kB / 278 MB, free: 16.98 MB / 186.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.752e-05/0.3599, allocations: 23.98 kB / 278 MB, free: 16.96 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002911/0.3628, allocations: 2.601 MB / 280.6 MB, free: 14.22 MB / 186.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.3629, allocations: 3.938 kB / 280.6 MB, free: 14.22 MB / 186.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002334/0.3652, allocations: 1.573 MB / 282.2 MB, free: 12.62 MB / 186.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003684/0.3656, allocations: 236.2 kB / 282.4 MB, free: 12.38 MB / 186.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001097/0.3657, allocations: 19.95 kB / 282.4 MB, free: 12.36 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009947/0.3667, allocations: 151.9 kB / 282.6 MB, free: 12.21 MB / 186.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001233/0.3668, allocations: 52.69 kB / 282.6 MB, free: 12.15 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.289e-05/0.3669, allocations: 24.16 kB / 282.6 MB, free: 12.13 MB / 186.7 MB Notification: Performance of sorting global known variables: time 0.0004032/0.3673, allocations: 349.6 kB / 283 MB, free: 11.79 MB / 186.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3673, allocations: 3.938 kB / 283 MB, free: 11.79 MB / 186.7 MB Notification: Performance of remove unused functions: time 0.0008202/0.3681, allocations: 248.1 kB / 283.2 MB, free: 11.54 MB / 186.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.0002731/0.3684, allocations: 139.2 kB / 283.4 MB, free: 11.4 MB / 186.7 MB Notification: Performance of simCode: created initialization part: time 0.002011/0.3704, allocations: 1.108 MB / 284.5 MB, free: 10.28 MB / 186.7 MB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.3705, allocations: 0 / 284.5 MB, free: 10.28 MB / 186.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001165/0.3716, allocations: 0.6794 MB / 285.1 MB, free: 9.59 MB / 186.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008874/0.3725, allocations: 167 kB / 285.3 MB, free: 9.43 MB / 186.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002227/0.3748, allocations: 1.618 MB / 286.9 MB, free: 7.785 MB / 186.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003235/0.3751, allocations: 0.9736 MB / 287.9 MB, free: 6.777 MB / 186.7 MB Notification: Performance of simCode: alias equations: time 0.0005393/0.3757, allocations: 85.08 kB / 288 MB, free: 6.695 MB / 186.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002345/0.3759, allocations: 51.41 kB / 288 MB, free: 6.645 MB / 186.7 MB Notification: Performance of SimCode: time 1.072e-06/0.3759, allocations: 0 / 288 MB, free: 6.645 MB / 186.7 MB Notification: Performance of Templates: time 0.01773/0.3936, allocations: 10.81 MB / 298.8 MB, free: 11.82 MB / 202.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)