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.001094/0.001094, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001192/0.001192, allocations: 191.8 kB / 16.25 MB, free: 6.629 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.573/1.573, allocations: 205.1 MB / 222.1 MB, free: 4.762 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.00113/0.00113, allocations: 51.92 kB / 278.2 MB, free: 12.68 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2526/0.2538, allocations: 46.63 MB / 324.9 MB, free: 1.887 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.DifferenceAmplifier): time 0.005977/0.2598, allocations: 5.701 MB / 330.6 MB, free: 13.34 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.003091/0.2629, allocations: 1.441 MB / 332 MB, free: 12.13 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000525/0.2635, allocations: 19.28 kB / 332 MB, free: 12.13 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003912/0.2639, allocations: 113 kB / 332.1 MB, free: 12.03 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005861/0.2645, allocations: 241 kB / 332.4 MB, free: 11.82 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007794/0.2653, allocations: 310.8 kB / 332.7 MB, free: 11.56 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.001262/0.2666, allocations: 1.234 MB / 333.9 MB, free: 10.81 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005909/0.2672, allocations: 418.2 kB / 334.3 MB, free: 10.57 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006023/0.2678, allocations: 460.3 kB / 334.8 MB, free: 10.15 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005253/0.2683, allocations: 0.5213 MB / 335.3 MB, free: 9.625 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001528/0.2685, allocations: 124 kB / 335.4 MB, free: 9.504 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002412/0.2687, allocations: 167.9 kB / 335.6 MB, free: 9.34 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001759/0.2689, allocations: 243.3 kB / 335.8 MB, free: 9.102 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004215/0.2693, allocations: 0.5444 MB / 336.3 MB, free: 8.555 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001072/0.2704, allocations: 1.399 MB / 337.7 MB, free: 7.152 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.2704, allocations: 0 / 337.7 MB, free: 7.152 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.2704, allocations: 0 / 337.7 MB, free: 7.152 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.38e-05/0.2705, allocations: 0 / 337.7 MB, free: 7.152 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.00237/0.2728, allocations: 1.29 MB / 339 MB, free: 5.809 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.771e-05/0.2729, allocations: 8.031 kB / 339 MB, free: 5.801 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001822/0.2731, allocations: 107.7 kB / 339.1 MB, free: 5.695 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006483/0.2737, allocations: 0.5051 MB / 339.6 MB, free: 5.148 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.816e-05/0.2738, allocations: 58.38 kB / 339.7 MB, free: 5.094 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001192/0.2739, allocations: 80.38 kB / 339.8 MB, free: 5.016 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001501/0.2754, allocations: 0.8769 MB / 340.7 MB, free: 4.121 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.902e-05/0.2755, allocations: 3.938 kB / 340.7 MB, free: 4.117 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.856e-05/0.2755, allocations: 40 kB / 340.7 MB, free: 4.078 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.777e-05/0.2756, allocations: 20 kB / 340.7 MB, free: 4.059 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001385/0.277, allocations: 0.7808 MB / 341.5 MB, free: 3.281 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004666/0.2816, allocations: 3.06 MB / 344.6 MB, free: 104 kB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001026/0.2827, allocations: 0.6462 MB / 345.2 MB, free: 15.45 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006273/0.2833, allocations: 414.3 kB / 345.6 MB, free: 15.04 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.915e-05/0.2834, allocations: 12.56 kB / 345.6 MB, free: 15.03 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.083e-05/0.2834, allocations: 43.12 kB / 345.7 MB, free: 14.98 MB / 286.1 MB Notification: Performance of pre-optimization done (n=67): time 2.475e-06/0.2835, allocations: 0 / 345.7 MB, free: 14.98 MB / 286.1 MB Notification: Performance of matching and sorting (n=71): time 0.004285/0.2877, allocations: 2.189 MB / 347.9 MB, free: 12.74 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.651e-05/0.2878, allocations: 60.06 kB / 347.9 MB, free: 12.66 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005568/0.2884, allocations: 0.499 MB / 348.4 MB, free: 12.16 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 5.555e-05/0.2884, allocations: 41.7 kB / 348.5 MB, free: 12.11 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002399/0.2887, allocations: 395.4 kB / 348.8 MB, free: 11.71 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001885/0.2889, allocations: 252.4 kB / 349.1 MB, free: 11.46 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002428/0.2891, allocations: 138.5 kB / 349.2 MB, free: 11.32 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001536/0.2893, allocations: 378.8 kB / 349.6 MB, free: 10.95 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005681/0.2899, allocations: 305.9 kB / 349.9 MB, free: 10.64 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006912/0.2906, allocations: 429.1 kB / 350.3 MB, free: 10.19 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001253/0.2918, allocations: 0.7389 MB / 351.1 MB, free: 9.418 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.789e-06/0.2919, allocations: 4 kB / 351.1 MB, free: 9.414 MB / 286.1 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.001931/0.2938, allocations: 1.04 MB / 352.1 MB, free: 8.363 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.363e-05/0.2938, allocations: 8 kB / 352.1 MB, free: 8.355 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.929e-06/0.2938, allocations: 0 / 352.1 MB, free: 8.355 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005699/0.2944, allocations: 188.6 kB / 352.3 MB, free: 8.168 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007904/0.2952, allocations: 183.8 kB / 352.5 MB, free: 7.988 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003717/0.2989, allocations: 2.865 MB / 355.3 MB, free: 4.988 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005869/0.2996, allocations: 35.98 kB / 355.4 MB, free: 4.953 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.924e-05/0.2996, allocations: 35.97 kB / 355.4 MB, free: 4.918 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.0003616/0.3, allocations: 217.7 kB / 355.6 MB, free: 4.695 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001181/0.3001, allocations: 71.16 kB / 355.7 MB, free: 4.625 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001521/0.3003, allocations: 86.17 kB / 355.8 MB, free: 4.535 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.921e-06/0.3003, allocations: 7.938 kB / 355.8 MB, free: 4.527 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.532e-05/0.3003, allocations: 4 kB / 355.8 MB, free: 4.523 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.745e-06/0.3003, allocations: 3.984 kB / 355.8 MB, free: 4.52 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000987/0.3013, allocations: 0.8339 MB / 356.6 MB, free: 3.629 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.905e-06/0.3013, allocations: 0 / 356.6 MB, free: 3.629 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006814/0.302, allocations: 148 kB / 356.8 MB, free: 3.484 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005063/0.3025, allocations: 184.6 kB / 356.9 MB, free: 3.301 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.996e-05/0.3026, allocations: 35.97 kB / 357 MB, free: 3.266 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003436/0.306, allocations: 2.85 MB / 359.8 MB, free: 280 kB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.3061, allocations: 3.938 kB / 359.8 MB, free: 276 kB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002413/0.3085, allocations: 1.384 MB / 361.2 MB, free: 14.86 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001541/0.3087, allocations: 136.2 kB / 361.3 MB, free: 14.71 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.102e-05/0.3088, allocations: 16 kB / 361.4 MB, free: 14.7 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000557/0.3093, allocations: 51.95 kB / 361.4 MB, free: 14.64 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001418/0.3095, allocations: 56.52 kB / 361.5 MB, free: 14.59 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.431e-05/0.3095, allocations: 27.98 kB / 361.5 MB, free: 14.56 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0004/0.3099, allocations: 350.9 kB / 361.8 MB, free: 14.22 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3099, allocations: 3.938 kB / 361.8 MB, free: 14.22 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000725/0.3107, allocations: 224 kB / 362.1 MB, free: 14 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.0002165/0.3109, allocations: 131.3 kB / 362.2 MB, free: 13.86 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.002255/0.3132, allocations: 1.029 MB / 363.2 MB, free: 12.82 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.3132, allocations: 0.6875 kB / 363.2 MB, free: 12.82 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001293/0.3145, allocations: 0.6387 MB / 363.9 MB, free: 12.17 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007677/0.3153, allocations: 134.5 kB / 364 MB, free: 12.04 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003229/0.3185, allocations: 2.243 MB / 366.2 MB, free: 9.766 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005794/0.3191, allocations: 0.9538 MB / 367.2 MB, free: 8.785 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0004624/0.3196, allocations: 81.05 kB / 367.3 MB, free: 8.707 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001588/0.3197, allocations: 59.42 kB / 367.3 MB, free: 8.648 MB / 302.1 MB Notification: Performance of SimCode: time 1.022e-06/0.3198, allocations: 0 / 367.3 MB, free: 8.648 MB / 302.1 MB Notification: Performance of Templates: time 0.01632/0.3361, allocations: 10.33 MB / 377.7 MB, free: 14.3 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)