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.001524/0.001524, allocations: 187.9 kB / 8.351 MB, free: 0.707 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.453/1.453, allocations: 194.3 MB / 203.1 MB, free: 9.32 MB / 171.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001826/0.001826, allocations: 125.8 kB / 248.1 MB, free: 6.336 MB / 203.1 MB Notification: Performance of FrontEnd - loaded program: time 1.647e-05/1.643e-05, allocations: 4 kB / 298.1 MB, free: 8.23 MB / 251.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09054/0.09057, allocations: 44.5 MB / 342.6 MB, free: 11.63 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2907/0.3813, allocations: 75.03 MB / 417.6 MB, free: 20.81 MB / 315.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001809/0.3815, allocations: 70.16 kB / 417.7 MB, free: 20.78 MB / 315.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.03733/0.4189, allocations: 15.43 MB / 433.1 MB, free: 7.871 MB / 315.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.4189, allocations: 0 / 433.1 MB, free: 7.871 MB / 315.1 MB Notification: Performance of Transformations before backend: time 3.805e-05/0.419, allocations: 28 kB / 433.1 MB, free: 7.844 MB / 315.1 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.002644/0.4217, allocations: 1.219 MB / 434.3 MB, free: 6.637 MB / 315.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.741e-05/0.4217, allocations: 12.03 kB / 434.4 MB, free: 6.625 MB / 315.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001642/0.4219, allocations: 109.8 kB / 434.5 MB, free: 6.52 MB / 315.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005609/0.4224, allocations: 0.5167 MB / 435 MB, free: 6.078 MB / 315.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.594e-05/0.4225, allocations: 28 kB / 435 MB, free: 6.051 MB / 315.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001135/0.4226, allocations: 55.73 kB / 435.1 MB, free: 6 MB / 315.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001225/0.4238, allocations: 0.8429 MB / 435.9 MB, free: 5.52 MB / 315.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001183/0.425, allocations: 0.8322 MB / 436.7 MB, free: 4.938 MB / 315.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.685e-05/0.425, allocations: 4 kB / 436.7 MB, free: 4.934 MB / 315.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.872e-05/0.4251, allocations: 8.609 kB / 436.8 MB, free: 4.926 MB / 315.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.208e-05/0.4251, allocations: 16 kB / 436.8 MB, free: 4.91 MB / 315.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004441/0.4296, allocations: 3.36 MB / 440.1 MB, free: 2.375 MB / 315.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001029/0.4306, allocations: 0.7721 MB / 440.9 MB, free: 1.957 MB / 315.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004833/0.4311, allocations: 444.2 kB / 441.3 MB, free: 1.719 MB / 315.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.041e-05/0.4312, allocations: 20.47 kB / 441.4 MB, free: 1.699 MB / 315.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.126e-05/0.4312, allocations: 42.62 kB / 441.4 MB, free: 1.656 MB / 315.1 MB Notification: Performance of pre-optimization done (n=67): time 2.925e-06/0.4312, allocations: 1.125 kB / 441.4 MB, free: 1.656 MB / 315.1 MB Notification: Performance of matching and sorting (n=71): time 0.003241/0.4345, allocations: 1.98 MB / 443.4 MB, free: 196 kB / 315.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.001e-05/0.4345, allocations: 60.19 kB / 443.4 MB, free: 124 kB / 315.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004032/0.4349, allocations: 414.3 kB / 443.8 MB, free: 15.81 MB / 331.1 MB Notification: Performance of collectPreVariables (initialization): time 6.248e-05/0.435, allocations: 25.7 kB / 443.9 MB, free: 15.78 MB / 331.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002236/0.4352, allocations: 414.9 kB / 444.3 MB, free: 15.46 MB / 331.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000179/0.4354, allocations: 242.5 kB / 444.5 MB, free: 15.25 MB / 331.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.254e-05/0.4355, allocations: 4 kB / 444.5 MB, free: 15.25 MB / 331.1 MB Notification: Performance of setup shared object (initialization): time 0.0001322/0.4356, allocations: 374.8 kB / 444.9 MB, free: 14.9 MB / 331.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004959/0.4361, allocations: 347.5 kB / 445.2 MB, free: 14.73 MB / 331.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008428/0.437, allocations: 470.5 kB / 445.7 MB, free: 14.41 MB / 331.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006644/0.4377, allocations: 386.2 kB / 446.1 MB, free: 14.2 MB / 331.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.4377, allocations: 5.031 kB / 446.1 MB, free: 14.19 MB / 331.1 MB Notification: Performance of matching and sorting (n=103) (initialization): time 0.001813/0.4395, allocations: 1.073 MB / 447.1 MB, free: 13.46 MB / 331.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.831e-05/0.4395, allocations: 4.938 kB / 447.1 MB, free: 13.46 MB / 331.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.203e-06/0.4395, allocations: 4 kB / 447.1 MB, free: 13.45 MB / 331.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004992/0.44, allocations: 175.9 kB / 447.3 MB, free: 13.32 MB / 331.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001329/0.4414, allocations: 285.1 kB / 447.6 MB, free: 13.05 MB / 331.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00312/0.4445, allocations: 2.534 MB / 450.1 MB, free: 10.98 MB / 331.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00112/0.4456, allocations: 111.9 kB / 450.2 MB, free: 10.87 MB / 331.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.644e-05/0.4457, allocations: 35.05 kB / 450.3 MB, free: 10.84 MB / 331.1 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.0002111/0.446, allocations: 121.6 kB / 450.4 MB, free: 10.72 MB / 331.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001276/0.4461, allocations: 67.25 kB / 450.5 MB, free: 10.65 MB / 331.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002054/0.4463, allocations: 80.22 kB / 450.5 MB, free: 10.62 MB / 331.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.31e-06/0.4463, allocations: 4 kB / 450.5 MB, free: 10.61 MB / 331.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.048e-05/0.4463, allocations: 4 kB / 450.5 MB, free: 10.61 MB / 331.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.566e-06/0.4463, allocations: 11.94 kB / 450.6 MB, free: 10.6 MB / 331.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001046/0.4474, allocations: 0.8895 MB / 451.4 MB, free: 9.941 MB / 331.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.966e-06/0.4474, allocations: 1.406 kB / 451.4 MB, free: 9.941 MB / 331.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00119/0.4486, allocations: 238.5 kB / 451.7 MB, free: 9.715 MB / 331.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004637/0.4491, allocations: 185.4 kB / 451.9 MB, free: 9.57 MB / 331.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.222e-05/0.4492, allocations: 11.86 kB / 451.9 MB, free: 9.562 MB / 331.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003014/0.4522, allocations: 2.541 MB / 454.4 MB, free: 7.105 MB / 331.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.4522, allocations: 0 / 454.4 MB, free: 7.105 MB / 331.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002547/0.4547, allocations: 1.526 MB / 455.9 MB, free: 5.562 MB / 331.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001455/0.4549, allocations: 140.2 kB / 456.1 MB, free: 5.406 MB / 331.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001099/0.455, allocations: 4 kB / 456.1 MB, free: 5.402 MB / 331.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009785/0.456, allocations: 139.9 kB / 456.2 MB, free: 5.266 MB / 331.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001017/0.4561, allocations: 48.7 kB / 456.3 MB, free: 5.219 MB / 331.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.36e-05/0.4562, allocations: 23.98 kB / 456.3 MB, free: 5.195 MB / 331.1 MB Notification: Performance of sorting global known variables: time 0.0003732/0.4566, allocations: 311 kB / 456.6 MB, free: 4.895 MB / 331.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4566, allocations: 1.219 kB / 456.6 MB, free: 4.895 MB / 331.1 MB Notification: Performance of remove unused functions: time 0.0007876/0.4574, allocations: 212 kB / 456.8 MB, free: 4.688 MB / 331.1 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.0002259/0.4576, allocations: 119.2 kB / 456.9 MB, free: 4.562 MB / 331.1 MB Notification: Performance of simCode: created initialization part: time 0.001898/0.4595, allocations: 1.057 MB / 458 MB, free: 3.492 MB / 331.1 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.4595, allocations: 3.938 kB / 458 MB, free: 3.488 MB / 331.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001336/0.4609, allocations: 0.6575 MB / 458.6 MB, free: 2.824 MB / 331.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004668/0.4613, allocations: 80.52 kB / 458.7 MB, free: 2.746 MB / 331.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002785/0.4641, allocations: 1.66 MB / 460.4 MB, free: 1.059 MB / 331.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004972/0.4647, allocations: 0.9735 MB / 461.3 MB, free: 60 kB / 331.1 MB Notification: Performance of simCode: alias equations: time 0.0005297/0.4652, allocations: 79.62 kB / 461.4 MB, free: 15.98 MB / 347.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002394/0.4654, allocations: 55.41 kB / 461.5 MB, free: 15.93 MB / 347.1 MB Notification: Performance of SimCode: time 4.31e-07/0.4654, allocations: 0.9375 kB / 461.5 MB, free: 15.93 MB / 347.1 MB Notification: Performance of Templates: time 0.01511/0.4806, allocations: 9.171 MB / 470.6 MB, free: 6.809 MB / 347.1 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)