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.007144/0.007144, allocations: 165.3 kB / 15.11 MB, free: 5.582 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.436/1.436, allocations: 170.8 MB / 186.6 MB, free: 1.113 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.001817/0.001817, allocations: 111.3 kB / 226.2 MB, free: 8.012 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003444/0.0003444, allocations: 12 kB / 274.1 MB, free: 7.988 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1982/0.1985, allocations: 38.76 MB / 312.9 MB, free: 24.27 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09549/0.2941, allocations: 70.55 MB / 383.4 MB, free: 1.613 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002504/0.2944, allocations: 71.97 kB / 383.5 MB, free: 1.543 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04551/0.3399, allocations: 15.82 MB / 399.3 MB, free: 1.656 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.705e-06/0.34, allocations: 0 / 399.3 MB, free: 1.656 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.423e-05/0.34, allocations: 20 kB / 399.4 MB, free: 1.637 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.003486/0.3435, allocations: 1.306 MB / 400.7 MB, free: 284 kB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.257e-05/0.3436, allocations: 8.031 kB / 400.7 MB, free: 276 kB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002921/0.3439, allocations: 102.8 kB / 400.8 MB, free: 172 kB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1657/0.5096, allocations: 0.513 MB / 401.3 MB, free: 72.49 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001009/0.5098, allocations: 60.89 kB / 401.3 MB, free: 72.49 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002149/0.51, allocations: 90.88 kB / 401.4 MB, free: 72.49 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002801/0.5128, allocations: 1.159 MB / 402.6 MB, free: 72.4 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.176e-05/0.5129, allocations: 1.062 kB / 402.6 MB, free: 72.4 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.652e-05/0.513, allocations: 37.19 kB / 402.6 MB, free: 72.4 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.172e-05/0.513, allocations: 20.53 kB / 402.6 MB, free: 72.4 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003433/0.5164, allocations: 1.305 MB / 404 MB, free: 72.4 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005555/0.522, allocations: 3.498 MB / 407.5 MB, free: 71.55 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002492/0.5245, allocations: 1.201 MB / 408.7 MB, free: 71.17 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.456e-05/0.5246, allocations: 9.828 kB / 408.7 MB, free: 71.17 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.904e-05/0.5246, allocations: 46.22 kB / 408.7 MB, free: 71.12 MB / 298.7 MB Notification: Performance of pre-optimization done (n=67): time 3.697e-06/0.5246, allocations: 0 / 408.7 MB, free: 71.12 MB / 298.7 MB Notification: Performance of matching and sorting (n=71): time 0.007584/0.5322, allocations: 3.507 MB / 412.2 MB, free: 69.74 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.088e-05/0.5323, allocations: 62.22 kB / 412.3 MB, free: 69.68 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004509/0.5327, allocations: 471.6 kB / 412.7 MB, free: 69.46 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 6.342e-05/0.5328, allocations: 41.02 kB / 412.8 MB, free: 69.42 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001639/0.533, allocations: 404.2 kB / 413.2 MB, free: 69.1 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001468/0.5331, allocations: 251.8 kB / 413.4 MB, free: 68.91 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.44e-05/0.5332, allocations: 15.94 kB / 413.4 MB, free: 68.9 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.934e-05/0.5333, allocations: 382.4 kB / 413.8 MB, free: 68.55 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001162/0.5345, allocations: 0.5678 MB / 414.4 MB, free: 68.39 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001209/0.5357, allocations: 0.6775 MB / 415.1 MB, free: 68.1 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001176/0.5369, allocations: 0.5912 MB / 415.6 MB, free: 67.88 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.158e-06/0.5369, allocations: 3.797 kB / 415.6 MB, free: 67.88 MB / 298.7 MB Notification: Performance of matching and sorting (n=103) (initialization): time 0.003038/0.5399, allocations: 1.555 MB / 417.2 MB, free: 67.34 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.955e-05/0.54, allocations: 3.812 kB / 417.2 MB, free: 67.34 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.045e-06/0.54, allocations: 3.719 kB / 417.2 MB, free: 67.34 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005292/0.5405, allocations: 176 kB / 417.4 MB, free: 67.29 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001339/0.5419, allocations: 290.6 kB / 417.7 MB, free: 67.26 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003113/0.545, allocations: 2.662 MB / 420.3 MB, free: 65.21 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001225/0.5462, allocations: 126.4 kB / 420.4 MB, free: 65.11 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.932e-05/0.5463, allocations: 38.38 kB / 420.5 MB, free: 65.08 MB / 298.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 () * Number of clocked 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.0004595/0.5468, allocations: 217.7 kB / 420.7 MB, free: 64.86 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001316/0.5469, allocations: 75.11 kB / 420.8 MB, free: 64.78 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001938/0.5471, allocations: 87.77 kB / 420.9 MB, free: 64.7 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.689e-06/0.5472, allocations: 10.62 kB / 420.9 MB, free: 64.7 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.731e-05/0.5472, allocations: 4 kB / 420.9 MB, free: 64.69 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.402e-06/0.5472, allocations: 3.703 kB / 420.9 MB, free: 64.69 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001055/0.5482, allocations: 1.014 MB / 421.9 MB, free: 63.9 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.577e-06/0.5483, allocations: 0 / 421.9 MB, free: 63.9 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001178/0.5494, allocations: 239.7 kB / 422.1 MB, free: 63.72 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005037/0.55, allocations: 187 kB / 422.3 MB, free: 63.58 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.347e-05/0.55, allocations: 22.75 kB / 422.3 MB, free: 63.56 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002913/0.553, allocations: 2.663 MB / 425 MB, free: 60.93 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.553, allocations: 0 / 425 MB, free: 60.93 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004132/0.5571, allocations: 2.179 MB / 427.2 MB, free: 58.99 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003491/0.5575, allocations: 248.6 kB / 427.4 MB, free: 58.77 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001081/0.5576, allocations: 15.14 kB / 427.4 MB, free: 58.75 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000977/0.5586, allocations: 149.6 kB / 427.6 MB, free: 58.64 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001251/0.5587, allocations: 56.09 kB / 427.6 MB, free: 58.61 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.448e-05/0.5588, allocations: 30.75 kB / 427.7 MB, free: 58.58 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0003695/0.5592, allocations: 358.3 kB / 428 MB, free: 58.28 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5592, allocations: 0 / 428 MB, free: 58.28 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0007719/0.5599, allocations: 246.6 kB / 428.2 MB, free: 58.04 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 () * Number of clocked 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.000227/0.5602, allocations: 137.5 kB / 428.4 MB, free: 57.9 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.003226/0.5634, allocations: 1.522 MB / 429.9 MB, free: 56.56 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.467e-06/0.5634, allocations: 0 / 429.9 MB, free: 56.56 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001764/0.5652, allocations: 0.8959 MB / 430.8 MB, free: 55.77 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006727/0.5659, allocations: 107.3 kB / 430.9 MB, free: 55.68 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0037/0.5696, allocations: 2.573 MB / 433.5 MB, free: 53.39 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003252/0.5699, allocations: 0.9791 MB / 434.5 MB, free: 52.5 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0005391/0.5705, allocations: 84.88 kB / 434.5 MB, free: 52.42 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002667/0.5708, allocations: 51.41 kB / 434.6 MB, free: 52.37 MB / 298.7 MB Notification: Performance of SimCode: time 1.863e-06/0.5708, allocations: 0 / 434.6 MB, free: 52.37 MB / 298.7 MB Notification: Performance of Templates: time 0.01499/0.5858, allocations: 10.41 MB / 445 MB, free: 41.98 MB / 298.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)