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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009097/0.0009092, allocations: 91.84 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.008657/0.008657, allocations: 169.9 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.655/1.655, allocations: 205.4 MB / 222.4 MB, free: 5.574 MB / 174.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004599/0.0004598, allocations: 12 kB / 279.4 MB, free: 12.53 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2752/0.2756, allocations: 47.58 MB / 327 MB, free: 1.418 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.DifferenceAmplifier): time 0.005387/0.2811, allocations: 5.259 MB / 332.3 MB, free: 13.2 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.003173/0.2843, allocations: 1.44 MB / 333.7 MB, free: 12 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004506/0.2848, allocations: 14.66 kB / 333.7 MB, free: 12 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002948/0.2851, allocations: 117.6 kB / 333.9 MB, free: 11.89 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000571/0.2857, allocations: 240.3 kB / 334.1 MB, free: 11.69 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007597/0.2864, allocations: 304.3 kB / 334.4 MB, free: 11.43 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.001369/0.2878, allocations: 1.166 MB / 335.5 MB, free: 10.73 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005298/0.2883, allocations: 355.7 kB / 335.9 MB, free: 10.45 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005006/0.2889, allocations: 386.5 kB / 336.3 MB, free: 10.07 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004918/0.2894, allocations: 454 kB / 336.7 MB, free: 9.625 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001079/0.2895, allocations: 56 kB / 336.8 MB, free: 9.57 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002208/0.2897, allocations: 87.91 kB / 336.9 MB, free: 9.484 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001592/0.2899, allocations: 179.2 kB / 337 MB, free: 9.309 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004363/0.2903, allocations: 499.2 kB / 337.5 MB, free: 8.812 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001142/0.2915, allocations: 1.305 MB / 338.8 MB, free: 7.504 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.139e-06/0.2915, allocations: 0 / 338.8 MB, free: 7.504 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.864e-06/0.2915, allocations: 4 kB / 338.8 MB, free: 7.5 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.404e-05/0.2915, allocations: 0 / 338.8 MB, free: 7.5 MB / 270.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 203 * Number of variables: 203 Notification: Performance of Generate backend data structure: time 0.002167/0.2937, allocations: 1.142 MB / 340 MB, free: 6.309 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.328e-05/0.2937, allocations: 11.97 kB / 340 MB, free: 6.297 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001692/0.2939, allocations: 107.7 kB / 340.1 MB, free: 6.191 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006436/0.2946, allocations: 0.5012 MB / 340.6 MB, free: 5.648 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.942e-05/0.2946, allocations: 66.38 kB / 340.7 MB, free: 5.582 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001382/0.2948, allocations: 80.28 kB / 340.7 MB, free: 5.504 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001661/0.2964, allocations: 0.8965 MB / 341.6 MB, free: 4.594 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.937e-05/0.2965, allocations: 0 / 341.6 MB, free: 4.594 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.192e-05/0.2966, allocations: 32 kB / 341.7 MB, free: 4.562 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.74e-05/0.2966, allocations: 16 kB / 341.7 MB, free: 4.547 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001543/0.2981, allocations: 0.8159 MB / 342.5 MB, free: 3.73 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004891/0.303, allocations: 3.088 MB / 345.6 MB, free: 0.5273 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001112/0.3042, allocations: 0.6618 MB / 346.2 MB, free: 15.86 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006895/0.3049, allocations: 426.3 kB / 346.7 MB, free: 15.44 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.599e-05/0.3049, allocations: 16.45 kB / 346.7 MB, free: 15.42 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.576e-05/0.305, allocations: 47.06 kB / 346.7 MB, free: 15.37 MB / 286.1 MB Notification: Performance of pre-optimization done (n=67): time 2.295e-06/0.305, allocations: 0 / 346.7 MB, free: 15.37 MB / 286.1 MB Notification: Performance of matching and sorting (n=71): time 0.004536/0.3095, allocations: 2.248 MB / 349 MB, free: 13.07 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.117e-05/0.3096, allocations: 64.06 kB / 349 MB, free: 12.99 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000563/0.3102, allocations: 0.5105 MB / 349.5 MB, free: 12.47 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 5.573e-05/0.3102, allocations: 41.7 kB / 349.6 MB, free: 12.43 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000269/0.3105, allocations: 395.5 kB / 350 MB, free: 12.03 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001907/0.3107, allocations: 248.4 kB / 350.2 MB, free: 11.79 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001033/0.3108, allocations: 65.69 kB / 350.3 MB, free: 11.71 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001506/0.311, allocations: 370.8 kB / 350.6 MB, free: 11.34 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006052/0.3116, allocations: 325.9 kB / 351 MB, free: 11.02 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007031/0.3123, allocations: 437.1 kB / 351.4 MB, free: 10.56 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001376/0.3137, allocations: 0.7701 MB / 352.2 MB, free: 9.762 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/0.3137, allocations: 4 kB / 352.2 MB, free: 9.758 MB / 286.1 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002065/0.3158, allocations: 1.064 MB / 353.2 MB, free: 8.68 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.317e-05/0.3158, allocations: 4 kB / 353.2 MB, free: 8.676 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.076e-05/0.3158, allocations: 4 kB / 353.2 MB, free: 8.672 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005623/0.3164, allocations: 188.7 kB / 353.4 MB, free: 8.484 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007808/0.3172, allocations: 191.7 kB / 353.6 MB, free: 8.297 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003595/0.3208, allocations: 2.605 MB / 356.2 MB, free: 5.559 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006708/0.3215, allocations: 48.03 kB / 356.2 MB, free: 5.512 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.548e-05/0.3216, allocations: 31.92 kB / 356.3 MB, free: 5.48 MB / 286.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (84): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(5,11,60.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004046/0.322, allocations: 217.7 kB / 356.5 MB, free: 5.258 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001183/0.3221, allocations: 75.09 kB / 356.6 MB, free: 5.184 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002321/0.3223, allocations: 86.17 kB / 356.7 MB, free: 5.098 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.613e-06/0.3223, allocations: 8 kB / 356.7 MB, free: 5.09 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.149e-05/0.3224, allocations: 4 kB / 356.7 MB, free: 5.086 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.285e-06/0.3224, allocations: 3.984 kB / 356.7 MB, free: 5.082 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001179/0.3236, allocations: 0.8377 MB / 357.5 MB, free: 4.188 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/0.3236, allocations: 0 / 357.5 MB, free: 4.188 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006972/0.3243, allocations: 151.8 kB / 357.7 MB, free: 4.039 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005256/0.3248, allocations: 188.7 kB / 357.8 MB, free: 3.852 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.451e-05/0.3249, allocations: 23.97 kB / 357.9 MB, free: 3.828 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004118/0.329, allocations: 2.612 MB / 360.5 MB, free: 1.078 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.329, allocations: 3.938 kB / 360.5 MB, free: 1.074 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002767/0.3318, allocations: 1.424 MB / 361.9 MB, free: 15.63 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001682/0.332, allocations: 140.2 kB / 362 MB, free: 15.47 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.829e-05/0.3321, allocations: 16 kB / 362.1 MB, free: 15.46 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005824/0.3327, allocations: 59.95 kB / 362.1 MB, free: 15.4 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001203/0.3328, allocations: 52.58 kB / 362.2 MB, free: 15.35 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.813e-05/0.3328, allocations: 23.98 kB / 362.2 MB, free: 15.32 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0004117/0.3333, allocations: 354.9 kB / 362.5 MB, free: 14.98 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3333, allocations: 0 / 362.5 MB, free: 14.98 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0008071/0.3341, allocations: 220 kB / 362.7 MB, free: 14.77 MB / 302.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 () * 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(5,11,68.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003004/0.3344, allocations: 139.4 kB / 362.9 MB, free: 14.62 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.002386/0.3368, allocations: 1.025 MB / 363.9 MB, free: 13.59 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.416e-06/0.3368, allocations: 3.938 kB / 363.9 MB, free: 13.59 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001472/0.3383, allocations: 0.651 MB / 364.6 MB, free: 12.92 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007855/0.3391, allocations: 130.6 kB / 364.7 MB, free: 12.79 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003801/0.3429, allocations: 2.41 MB / 367.1 MB, free: 10.34 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007541/0.3437, allocations: 0.95 MB / 368 MB, free: 9.367 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0004218/0.3441, allocations: 89.05 kB / 368.1 MB, free: 9.277 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000169/0.3443, allocations: 47.42 kB / 368.2 MB, free: 9.23 MB / 302.1 MB Notification: Performance of SimCode: time 1.884e-06/0.3443, allocations: 0 / 368.2 MB, free: 9.23 MB / 302.1 MB Notification: Performance of Templates: time 0.01891/0.3632, allocations: 9.715 MB / 377.9 MB, free: 15.5 MB / 318.1 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)