Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.DifferenceAmplifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Analog.Examples.DifferenceAmplifier") translateModel(Modelica.Electrical.Analog.Examples.DifferenceAmplifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Analog.Examples.DifferenceAmplifier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.0008815/0.0008814, allocations: 168.8 kB / 7.639 MB, free: 1.414 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.244/1.244, allocations: 170.7 MB / 178.7 MB, free: 15.57 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001573/0.001573, allocations: 111.4 kB / 218 MB, free: 8.34 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 1.595e-05/1.597e-05, allocations: 4 kB / 262.2 MB, free: 26.38 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06693/0.06696, allocations: 38.77 MB / 301 MB, free: 3.625 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.303/0.37, allocations: 69.8 MB / 370.8 MB, free: 14.61 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002274/0.3703, allocations: 75.14 kB / 370.9 MB, free: 14.57 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04374/0.4141, allocations: 15.68 MB / 386.5 MB, free: 1.332 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.4141, allocations: 0 / 386.5 MB, free: 1.332 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.142e-05/0.4142, allocations: 24 kB / 386.6 MB, free: 1.309 MB / 266.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.002933/0.4171, allocations: 1.222 MB / 387.8 MB, free: 100 kB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.454e-05/0.4172, allocations: 8.031 kB / 387.8 MB, free: 92 kB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002087/0.4174, allocations: 106.8 kB / 387.9 MB, free: 15.98 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006801/0.4181, allocations: 0.5243 MB / 388.4 MB, free: 15.53 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.932e-05/0.4181, allocations: 28 kB / 388.4 MB, free: 15.5 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001248/0.4182, allocations: 48 kB / 388.5 MB, free: 15.46 MB / 282.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001442/0.4197, allocations: 0.8448 MB / 389.3 MB, free: 14.97 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001399/0.4211, allocations: 0.8331 MB / 390.2 MB, free: 14.39 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.792e-05/0.4211, allocations: 4 kB / 390.2 MB, free: 14.39 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.159e-05/0.4212, allocations: 0 / 390.2 MB, free: 14.39 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.174e-05/0.4212, allocations: 20 kB / 390.2 MB, free: 14.37 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005328/0.4266, allocations: 3.36 MB / 393.5 MB, free: 11.83 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001216/0.4278, allocations: 0.7797 MB / 394.3 MB, free: 11.4 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005664/0.4284, allocations: 436.9 kB / 394.8 MB, free: 11.17 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.199e-05/0.4285, allocations: 16.48 kB / 394.8 MB, free: 11.15 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.975e-05/0.4285, allocations: 43.05 kB / 394.8 MB, free: 11.11 MB / 282.7 MB Notification: Performance of pre-optimization done (n=67): time 2.605e-06/0.4285, allocations: 4 kB / 394.8 MB, free: 11.1 MB / 282.7 MB Notification: Performance of matching and sorting (n=71): time 0.003922/0.4325, allocations: 1.971 MB / 396.8 MB, free: 9.648 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.053e-05/0.4325, allocations: 60.19 kB / 396.8 MB, free: 9.578 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004762/0.433, allocations: 421.4 kB / 397.3 MB, free: 9.258 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 6.566e-05/0.4331, allocations: 25.7 kB / 397.3 MB, free: 9.227 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002342/0.4333, allocations: 406 kB / 397.7 MB, free: 8.922 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001916/0.4335, allocations: 249.2 kB / 397.9 MB, free: 8.707 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.429e-05/0.4336, allocations: 0 / 397.9 MB, free: 8.707 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001669/0.4338, allocations: 370.8 kB / 398.3 MB, free: 8.363 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000535/0.4343, allocations: 352.9 kB / 398.6 MB, free: 8.184 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006651/0.435, allocations: 470.2 kB / 399.1 MB, free: 7.875 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007167/0.4357, allocations: 389 kB / 399.5 MB, free: 7.656 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.299e-06/0.4357, allocations: 4 kB / 399.5 MB, free: 7.652 MB / 282.7 MB Notification: Performance of matching and sorting (n=103) (initialization): time 0.001929/0.4376, allocations: 1.073 MB / 400.5 MB, free: 6.777 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.302e-05/0.4377, allocations: 7.906 kB / 400.6 MB, free: 6.77 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.15e-05/0.4377, allocations: 4.219 kB / 400.6 MB, free: 6.766 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005109/0.4382, allocations: 172.6 kB / 400.7 MB, free: 6.594 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00135/0.4396, allocations: 295.6 kB / 401 MB, free: 6.305 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003528/0.4431, allocations: 2.527 MB / 403.5 MB, free: 3.66 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001367/0.4445, allocations: 119.9 kB / 403.7 MB, free: 3.543 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.409e-05/0.4446, allocations: 28.05 kB / 403.7 MB, free: 3.516 MB / 282.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.0002799/0.4449, allocations: 129.6 kB / 403.8 MB, free: 3.383 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001528/0.4451, allocations: 67.19 kB / 403.9 MB, free: 3.316 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002593/0.4453, allocations: 78.39 kB / 404 MB, free: 3.238 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.552e-06/0.4453, allocations: 8 kB / 404 MB, free: 3.23 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.274e-05/0.4454, allocations: 7.938 kB / 404 MB, free: 3.223 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.306e-06/0.4454, allocations: 3.984 kB / 404 MB, free: 3.219 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001258/0.4466, allocations: 0.8928 MB / 404.9 MB, free: 2.289 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.547e-06/0.4467, allocations: 0 / 404.9 MB, free: 2.289 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001241/0.4479, allocations: 243.7 kB / 405.1 MB, free: 2.051 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005193/0.4484, allocations: 169 kB / 405.3 MB, free: 1.883 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.506e-05/0.4485, allocations: 15.97 kB / 405.3 MB, free: 1.867 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003733/0.4523, allocations: 2.541 MB / 407.8 MB, free: 15.21 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.628e-06/0.4523, allocations: 0 / 407.8 MB, free: 15.21 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00292/0.4552, allocations: 1.53 MB / 409.4 MB, free: 13.66 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004727/0.4557, allocations: 236.2 kB / 409.6 MB, free: 13.41 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001846/0.4559, allocations: 8 kB / 409.6 MB, free: 13.4 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001152/0.4571, allocations: 139.9 kB / 409.7 MB, free: 13.27 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001576/0.4572, allocations: 56.59 kB / 409.8 MB, free: 13.21 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.439e-05/0.4573, allocations: 27.98 kB / 409.8 MB, free: 13.18 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0005079/0.4579, allocations: 307 kB / 410.1 MB, free: 12.88 MB / 298.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.4579, allocations: 0 / 410.1 MB, free: 12.88 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001508/0.4594, allocations: 212 kB / 410.3 MB, free: 12.67 MB / 298.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.0003625/0.4597, allocations: 127.4 kB / 410.4 MB, free: 12.54 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.00239/0.4621, allocations: 1.057 MB / 411.5 MB, free: 11.47 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 5.25e-06/0.4622, allocations: 0 / 411.5 MB, free: 11.47 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001394/0.4636, allocations: 0.6496 MB / 412.2 MB, free: 10.81 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007192/0.4643, allocations: 86.16 kB / 412.2 MB, free: 10.73 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003621/0.4679, allocations: 1.653 MB / 413.9 MB, free: 9.043 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000681/0.4686, allocations: 0.9735 MB / 414.9 MB, free: 8.043 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0006674/0.4693, allocations: 76.94 kB / 414.9 MB, free: 7.969 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002845/0.4696, allocations: 59.34 kB / 415 MB, free: 7.91 MB / 298.7 MB Notification: Performance of SimCode: time 8.52e-07/0.4696, allocations: 3.938 kB / 415 MB, free: 7.906 MB / 298.7 MB Notification: Performance of Templates: time 0.01778/0.4874, allocations: 9.165 MB / 424.2 MB, free: 14.73 MB / 314.7 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.sim & ./Modelica_3.2.1_Modelica.Electrical.Analog.Examples.DifferenceAmplifier -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.pipe 2>&1)