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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001177/0.001177, allocations: 93.44 kB / 16.3 MB, free: 5.996 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.001361/0.001361, allocations: 183.7 kB / 17.2 MB, free: 5.914 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.431/1.431, allocations: 205.4 MB / 223.4 MB, free: 5.527 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.0004628/0.0004629, allocations: 14.81 kB / 280.1 MB, free: 12.85 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2289/0.2294, allocations: 47.58 MB / 327.7 MB, free: 1.426 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.DifferenceAmplifier): time 0.004614/0.234, allocations: 4.548 MB / 332.2 MB, free: 13.88 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002764/0.2368, allocations: 1.457 MB / 333.7 MB, free: 12.68 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003879/0.2373, allocations: 14.06 kB / 333.7 MB, free: 12.68 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002077/0.2375, allocations: 113.6 kB / 333.8 MB, free: 12.58 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006559/0.2381, allocations: 329.2 kB / 334.1 MB, free: 12.29 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006193/0.2388, allocations: 224.2 kB / 334.4 MB, free: 12.11 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.001076/0.2398, allocations: 0.7988 MB / 335.2 MB, free: 11.59 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004943/0.2404, allocations: 300.8 kB / 335.5 MB, free: 11.41 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005246/0.2409, allocations: 370.8 kB / 335.8 MB, free: 11.21 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005631/0.2415, allocations: 446.2 kB / 336.3 MB, free: 10.92 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001211/0.2416, allocations: 58.16 kB / 336.3 MB, free: 10.88 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002291/0.2418, allocations: 87.95 kB / 336.4 MB, free: 10.79 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000157/0.242, allocations: 167.3 kB / 336.6 MB, free: 10.62 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001879/0.2422, allocations: 205.2 kB / 336.8 MB, free: 10.42 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008804/0.2431, allocations: 1.053 MB / 337.8 MB, free: 9.363 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.575e-06/0.2431, allocations: 0 / 337.8 MB, free: 9.363 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.294e-06/0.2431, allocations: 4 kB / 337.8 MB, free: 9.359 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.58e-05/0.2431, allocations: 0 / 337.8 MB, free: 9.359 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.002176/0.2453, allocations: 1.146 MB / 339 MB, free: 8.164 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.501e-05/0.2454, allocations: 12.03 kB / 339 MB, free: 8.152 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001823/0.2455, allocations: 106.7 kB / 339.1 MB, free: 8.047 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000633/0.2462, allocations: 492.3 kB / 339.6 MB, free: 7.527 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.991e-05/0.2462, allocations: 66 kB / 339.6 MB, free: 7.461 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001207/0.2464, allocations: 83.89 kB / 339.7 MB, free: 7.379 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001475/0.2479, allocations: 0.8766 MB / 340.6 MB, free: 6.488 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.699e-05/0.2479, allocations: 0 / 340.6 MB, free: 6.488 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.588e-05/0.248, allocations: 32 kB / 340.6 MB, free: 6.457 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.706e-05/0.248, allocations: 20 kB / 340.6 MB, free: 6.438 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001463/0.2495, allocations: 0.812 MB / 341.5 MB, free: 5.625 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004723/0.2542, allocations: 3.096 MB / 344.5 MB, free: 2.406 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001066/0.2553, allocations: 0.6462 MB / 345.2 MB, free: 1.754 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.232e-05/0.2553, allocations: 20.53 kB / 345.2 MB, free: 1.734 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.117e-05/0.2554, allocations: 43.12 kB / 345.3 MB, free: 1.684 MB / 270.1 MB Notification: Performance of pre-optimization done (n=67): time 3.897e-06/0.2554, allocations: 0 / 345.3 MB, free: 1.684 MB / 270.1 MB Notification: Performance of matching and sorting (n=71): time 0.004306/0.2597, allocations: 2.252 MB / 347.5 MB, free: 15.38 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.036e-05/0.2598, allocations: 60.06 kB / 347.6 MB, free: 15.31 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005633/0.2603, allocations: 0.5028 MB / 348.1 MB, free: 14.8 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 5.385e-05/0.2604, allocations: 37.7 kB / 348.1 MB, free: 14.75 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002665/0.2607, allocations: 399.5 kB / 348.5 MB, free: 14.36 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001904/0.2609, allocations: 248.3 kB / 348.7 MB, free: 14.11 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.131e-05/0.2609, allocations: 16 kB / 348.8 MB, free: 14.09 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.00017/0.2611, allocations: 382.8 kB / 349.1 MB, free: 13.71 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006037/0.2617, allocations: 309.9 kB / 349.4 MB, free: 13.41 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000685/0.2624, allocations: 445.1 kB / 349.9 MB, free: 12.94 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006964/0.2631, allocations: 359 kB / 350.2 MB, free: 12.59 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.2631, allocations: 0 / 350.2 MB, free: 12.59 MB / 286.1 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002084/0.2652, allocations: 1.06 MB / 351.3 MB, free: 11.52 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.228e-05/0.2652, allocations: 4 kB / 351.3 MB, free: 11.52 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.042e-05/0.2653, allocations: 11.98 kB / 351.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005468/0.2658, allocations: 168.7 kB / 351.5 MB, free: 11.34 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008023/0.2666, allocations: 207.6 kB / 351.7 MB, free: 11.13 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003726/0.2704, allocations: 2.655 MB / 354.3 MB, free: 8.344 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006168/0.271, allocations: 44.03 kB / 354.4 MB, free: 8.301 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.926e-05/0.2711, allocations: 28 kB / 354.4 MB, free: 8.273 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.0005148/0.2716, allocations: 221.6 kB / 354.6 MB, free: 8.047 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000115/0.2717, allocations: 71.2 kB / 354.7 MB, free: 7.977 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001527/0.2719, allocations: 86.19 kB / 354.8 MB, free: 7.887 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.879e-06/0.2719, allocations: 11.98 kB / 354.8 MB, free: 7.875 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.677e-05/0.2719, allocations: 4 kB / 354.8 MB, free: 7.871 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.883e-06/0.2719, allocations: 0 / 354.8 MB, free: 7.871 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001033/0.273, allocations: 0.8493 MB / 355.6 MB, free: 6.969 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.777e-06/0.273, allocations: 0 / 355.6 MB, free: 6.969 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000692/0.2737, allocations: 147.8 kB / 355.8 MB, free: 6.824 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004845/0.2742, allocations: 176.8 kB / 355.9 MB, free: 6.648 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.367e-05/0.2742, allocations: 23.98 kB / 356 MB, free: 6.625 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003583/0.2778, allocations: 2.66 MB / 358.6 MB, free: 3.832 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.173e-06/0.2778, allocations: 0 / 358.6 MB, free: 3.832 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002542/0.2804, allocations: 1.416 MB / 360 MB, free: 2.398 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000156/0.2806, allocations: 140.2 kB / 360.2 MB, free: 2.242 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.418e-05/0.2807, allocations: 12 kB / 360.2 MB, free: 2.23 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006187/0.2813, allocations: 67.95 kB / 360.2 MB, free: 2.164 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001101/0.2814, allocations: 48.61 kB / 360.3 MB, free: 2.113 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.986e-05/0.2815, allocations: 27.98 kB / 360.3 MB, free: 2.086 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0003952/0.2819, allocations: 350.8 kB / 360.7 MB, free: 1.746 MB / 286.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.2819, allocations: 0 / 360.7 MB, free: 1.746 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0007699/0.2826, allocations: 228 kB / 360.9 MB, free: 1.523 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.0002542/0.2829, allocations: 128.2 kB / 361 MB, free: 1.391 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.00217/0.2851, allocations: 1.022 MB / 362 MB, free: 364 kB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.2851, allocations: 0 / 362 MB, free: 364 kB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00137/0.2865, allocations: 0.6516 MB / 362.7 MB, free: 15.69 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006501/0.2872, allocations: 122.1 kB / 362.8 MB, free: 15.58 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003247/0.2904, allocations: 2.298 MB / 365.1 MB, free: 13.25 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000549/0.291, allocations: 0.9694 MB / 366.1 MB, free: 12.25 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0003599/0.2913, allocations: 85.06 kB / 366.2 MB, free: 12.16 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001443/0.2915, allocations: 51.41 kB / 366.2 MB, free: 12.11 MB / 302.1 MB Notification: Performance of SimCode: time 8.32e-07/0.2915, allocations: 0 / 366.2 MB, free: 12.11 MB / 302.1 MB Notification: Performance of Templates: time 0.01595/0.3075, allocations: 9.406 MB / 375.6 MB, free: 2.699 MB / 302.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: