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.001187/0.001187, allocations: 95.86 kB / 15.05 MB, free: 1.113 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.001327/0.001327, allocations: 181.3 kB / 15.95 MB, free: 220 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.506/1.506, allocations: 205.4 MB / 222.1 MB, free: 5.371 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.0004465/0.0004466, allocations: 16 kB / 278.9 MB, free: 12.71 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3046/0.305, allocations: 47.58 MB / 326.4 MB, free: 1.461 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.DifferenceAmplifier): time 0.005617/0.3107, allocations: 4.543 MB / 331 MB, free: 13.91 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.003382/0.3141, allocations: 1.473 MB / 332.5 MB, free: 12.7 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009698/0.3151, allocations: 14.41 kB / 332.5 MB, free: 12.7 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004705/0.3156, allocations: 111.9 kB / 332.6 MB, free: 12.6 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001262/0.3169, allocations: 330.2 kB / 332.9 MB, free: 12.31 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008756/0.3178, allocations: 227.5 kB / 333.1 MB, free: 12.12 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.001342/0.3191, allocations: 0.7916 MB / 333.9 MB, free: 11.61 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005087/0.3196, allocations: 308.5 kB / 334.2 MB, free: 11.42 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000599/0.3203, allocations: 366.1 kB / 334.6 MB, free: 11.23 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005535/0.3208, allocations: 444.8 kB / 335 MB, free: 10.89 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001005/0.3209, allocations: 56 kB / 335.1 MB, free: 10.84 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002424/0.3212, allocations: 83.97 kB / 335.1 MB, free: 10.76 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001603/0.3213, allocations: 179.3 kB / 335.3 MB, free: 10.58 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001863/0.3215, allocations: 205.2 kB / 335.5 MB, free: 10.38 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009193/0.3225, allocations: 1.045 MB / 336.6 MB, free: 9.332 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.546e-06/0.3225, allocations: 0 / 336.6 MB, free: 9.332 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.3225, allocations: 0 / 336.6 MB, free: 9.332 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.273e-05/0.3225, allocations: 0 / 336.6 MB, free: 9.332 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.002252/0.3248, allocations: 1.146 MB / 337.7 MB, free: 8.137 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.483e-05/0.3248, allocations: 12.03 kB / 337.7 MB, free: 8.125 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001843/0.325, allocations: 102.8 kB / 337.8 MB, free: 8.023 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006637/0.3257, allocations: 0.4963 MB / 338.3 MB, free: 7.488 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.538e-05/0.3257, allocations: 66 kB / 338.4 MB, free: 7.422 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001225/0.3259, allocations: 79.91 kB / 338.5 MB, free: 7.344 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001447/0.3273, allocations: 0.8766 MB / 339.3 MB, free: 6.453 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.03e-05/0.3274, allocations: 3.938 kB / 339.3 MB, free: 6.449 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.325e-05/0.3274, allocations: 32 kB / 339.4 MB, free: 6.418 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.465e-05/0.3275, allocations: 20 kB / 339.4 MB, free: 6.398 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001434/0.3289, allocations: 0.8043 MB / 340.2 MB, free: 5.594 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004851/0.3338, allocations: 3.096 MB / 343.3 MB, free: 2.375 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001075/0.3349, allocations: 0.6501 MB / 343.9 MB, free: 1.719 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.522e-05/0.3349, allocations: 12.55 kB / 344 MB, free: 1.707 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.724e-05/0.335, allocations: 43.12 kB / 344 MB, free: 1.656 MB / 270.1 MB Notification: Performance of pre-optimization done (n=67): time 2.595e-06/0.335, allocations: 0 / 344 MB, free: 1.656 MB / 270.1 MB Notification: Performance of matching and sorting (n=71): time 0.00453/0.3395, allocations: 2.252 MB / 346.3 MB, free: 15.35 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.063e-05/0.3396, allocations: 60.06 kB / 346.3 MB, free: 15.28 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000641/0.3403, allocations: 0.5028 MB / 346.8 MB, free: 14.77 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 6.405e-05/0.3403, allocations: 41.7 kB / 346.9 MB, free: 14.72 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003107/0.3407, allocations: 391.5 kB / 347.2 MB, free: 14.33 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002365/0.3409, allocations: 252.2 kB / 347.5 MB, free: 14.08 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.188e-05/0.341, allocations: 20 kB / 347.5 MB, free: 14.06 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0002144/0.3412, allocations: 378.8 kB / 347.9 MB, free: 13.68 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00061/0.3418, allocations: 313.9 kB / 348.2 MB, free: 13.38 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006655/0.3425, allocations: 437.1 kB / 348.6 MB, free: 12.92 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000658/0.3431, allocations: 362.9 kB / 349 MB, free: 12.56 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.3432, allocations: 0 / 349 MB, free: 12.56 MB / 286.1 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.001985/0.3451, allocations: 1.064 MB / 350 MB, free: 11.49 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.988e-05/0.3452, allocations: 4 kB / 350 MB, free: 11.48 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.05e-05/0.3452, allocations: 4 kB / 350 MB, free: 11.48 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005583/0.3458, allocations: 176.7 kB / 350.2 MB, free: 11.3 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007762/0.3465, allocations: 195.7 kB / 350.4 MB, free: 11.11 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003576/0.3501, allocations: 2.671 MB / 353.1 MB, free: 8.309 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006006/0.3508, allocations: 32.05 kB / 353.1 MB, free: 8.277 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.056e-05/0.3508, allocations: 35.98 kB / 353.1 MB, free: 8.242 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 (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.0004355/0.3513, allocations: 217.7 kB / 353.3 MB, free: 8.02 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001416/0.3514, allocations: 71.2 kB / 353.4 MB, free: 7.949 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001731/0.3516, allocations: 86.17 kB / 353.5 MB, free: 7.859 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.213e-06/0.3516, allocations: 8 kB / 353.5 MB, free: 7.852 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.839e-05/0.3517, allocations: 4 kB / 353.5 MB, free: 7.848 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.376e-06/0.3517, allocations: 3.984 kB / 353.5 MB, free: 7.844 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001187/0.3529, allocations: 0.8454 MB / 354.4 MB, free: 6.945 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.294e-06/0.3529, allocations: 0 / 354.4 MB, free: 6.945 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007095/0.3536, allocations: 151.8 kB / 354.5 MB, free: 6.797 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005063/0.3541, allocations: 180.8 kB / 354.7 MB, free: 6.617 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.071e-05/0.3542, allocations: 23.98 kB / 354.7 MB, free: 6.594 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003489/0.3577, allocations: 2.652 MB / 357.4 MB, free: 3.809 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.3577, allocations: 256 / 357.4 MB, free: 3.809 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002497/0.3602, allocations: 1.42 MB / 358.8 MB, free: 2.371 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001944/0.3604, allocations: 144.2 kB / 358.9 MB, free: 2.211 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001106/0.3605, allocations: 16 kB / 358.9 MB, free: 2.195 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005878/0.3611, allocations: 67.95 kB / 359 MB, free: 2.129 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001135/0.3613, allocations: 44.58 kB / 359 MB, free: 2.082 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.553e-05/0.3613, allocations: 27.98 kB / 359.1 MB, free: 2.055 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0003967/0.3617, allocations: 350.9 kB / 359.4 MB, free: 1.715 MB / 286.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3617, allocations: 0 / 359.4 MB, free: 1.715 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0008105/0.3625, allocations: 228 kB / 359.6 MB, free: 1.492 MB / 286.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 (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.000253/0.3628, allocations: 123.2 kB / 359.8 MB, free: 1.363 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.002202/0.365, allocations: 1.022 MB / 360.8 MB, free: 336 kB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 1.026e-05/0.365, allocations: 7.938 kB / 360.8 MB, free: 328 kB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001376/0.3664, allocations: 0.6395 MB / 361.4 MB, free: 15.67 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006641/0.3671, allocations: 126.1 kB / 361.6 MB, free: 15.55 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003556/0.3707, allocations: 2.302 MB / 363.9 MB, free: 13.21 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000568/0.3713, allocations: 0.9733 MB / 364.8 MB, free: 12.21 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0003575/0.3716, allocations: 81.06 kB / 364.9 MB, free: 12.13 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001459/0.3718, allocations: 47.42 kB / 365 MB, free: 12.09 MB / 302.1 MB Notification: Performance of SimCode: time 4.71e-07/0.3718, allocations: 0 / 365 MB, free: 12.09 MB / 302.1 MB Notification: Performance of Templates: time 0.01831/0.3901, allocations: 9.414 MB / 374.4 MB, free: 2.664 MB / 302.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: