Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.DifferenceAmplifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|C1.v|C2.v|C3.v|C4.v|C5.v|Transistor1.Tr.C.v|Transistor1.ct.v|Transistor2.Tr.C.v|Transistor2.ct.v",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.DifferenceAmplifier") translateModel(Modelica.Electrical.Analog.Examples.DifferenceAmplifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|C1.v|C2.v|C3.v|C4.v|C5.v|Transistor1.Tr.C.v|Transistor1.ct.v|Transistor2.Tr.C.v|Transistor2.ct.v",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.DifferenceAmplifier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001351/0.001351, allocations: 114.3 kB / 18.46 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001311/0.001311, allocations: 206.7 kB / 19.41 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.366/1.366, allocations: 227.4 MB / 247.6 MB, free: 10.43 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001288/0.001288, allocations: 59.91 kB / 359.4 MB, free: 12.88 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2474/0.2487, allocations: 50.55 MB / 410 MB, free: 1.723 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.DifferenceAmplifier): time 0.00625/0.255, allocations: 6.074 MB / 416 MB, free: 11.62 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002358/0.2574, allocations: 1.548 MB / 417.6 MB, free: 10.06 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003027/0.2577, allocations: 16 kB / 417.6 MB, free: 10.05 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003222/0.2581, allocations: 178.2 kB / 417.8 MB, free: 9.871 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004811/0.2585, allocations: 297.3 kB / 418.1 MB, free: 9.578 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007141/0.2593, allocations: 411.3 kB / 418.5 MB, free: 9.176 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001162/0.2604, allocations: 1.403 MB / 419.9 MB, free: 7.77 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005267/0.261, allocations: 429.2 kB / 420.3 MB, free: 7.324 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000538/0.2615, allocations: 0.4946 MB / 420.8 MB, free: 6.828 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005957/0.2621, allocations: 0.5679 MB / 421.4 MB, free: 6.258 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000156/0.2623, allocations: 136 kB / 421.5 MB, free: 6.125 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002524/0.2626, allocations: 180 kB / 421.7 MB, free: 5.949 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002035/0.2628, allocations: 279.1 kB / 421.9 MB, free: 5.676 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004457/0.2632, allocations: 0.5834 MB / 422.5 MB, free: 5.09 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001236/0.2645, allocations: 1.547 MB / 424.1 MB, free: 3.539 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/0.2645, allocations: 0 / 424.1 MB, free: 3.539 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.2645, allocations: 0 / 424.1 MB, free: 3.539 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.373e-05/0.2645, allocations: 0 / 424.1 MB, free: 3.539 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 221 * Number of variables: 221 Notification: Performance of Generate backend data structure: time 0.002412/0.2669, allocations: 1.372 MB / 425.4 MB, free: 2.117 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.968e-05/0.267, allocations: 12.03 kB / 425.4 MB, free: 2.105 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003264/0.2673, allocations: 127.6 kB / 425.6 MB, free: 1.98 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006867/0.268, allocations: 0.5576 MB / 426.1 MB, free: 1.383 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.513e-05/0.2681, allocations: 70.36 kB / 426.2 MB, free: 1.312 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001288/0.2682, allocations: 88.38 kB / 426.3 MB, free: 1.227 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00152/0.2697, allocations: 0.8549 MB / 427.1 MB, free: 372 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.679e-05/0.2698, allocations: 0 / 427.1 MB, free: 372 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.06e-05/0.2699, allocations: 40 kB / 427.2 MB, free: 332 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.604e-05/0.2699, allocations: 20 kB / 427.2 MB, free: 312 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00157/0.2715, allocations: 0.8434 MB / 428 MB, free: 15.46 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005014/0.2765, allocations: 3.222 MB / 431.3 MB, free: 12.11 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001121/0.2776, allocations: 0.6676 MB / 431.9 MB, free: 11.43 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007109/0.2783, allocations: 431.1 kB / 432.4 MB, free: 11.01 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.43e-05/0.2784, allocations: 12.55 kB / 432.4 MB, free: 11 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.317e-05/0.2784, allocations: 43.12 kB / 432.4 MB, free: 10.95 MB / 350.1 MB Notification: Performance of pre-optimization done (n=69): time 2.795e-06/0.2785, allocations: 4 kB / 432.4 MB, free: 10.94 MB / 350.1 MB Notification: Performance of matching and sorting (n=73): time 0.004449/0.2829, allocations: 2.259 MB / 434.7 MB, free: 8.633 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.508e-05/0.283, allocations: 64.05 kB / 434.7 MB, free: 8.559 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006881/0.2837, allocations: 0.6057 MB / 435.3 MB, free: 7.945 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.379e-05/0.2837, allocations: 41.7 kB / 435.4 MB, free: 7.898 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002708/0.284, allocations: 435.3 kB / 435.8 MB, free: 7.465 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001899/0.2842, allocations: 264.2 kB / 436.1 MB, free: 7.203 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002511/0.2845, allocations: 150.6 kB / 436.2 MB, free: 7.047 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001386/0.2846, allocations: 386.8 kB / 436.6 MB, free: 6.66 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006261/0.2852, allocations: 321.9 kB / 436.9 MB, free: 6.348 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007533/0.286, allocations: 484.4 kB / 437.4 MB, free: 5.824 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001343/0.2873, allocations: 0.8008 MB / 438.2 MB, free: 4.973 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.2874, allocations: 0 / 438.2 MB, free: 4.973 MB / 350.1 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.00211/0.2895, allocations: 1.122 MB / 439.3 MB, free: 3.844 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.031e-05/0.2895, allocations: 8 kB / 439.3 MB, free: 3.836 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.207e-05/0.2895, allocations: 7.984 kB / 439.3 MB, free: 3.828 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005426/0.2901, allocations: 188.7 kB / 439.5 MB, free: 3.641 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008769/0.291, allocations: 199.7 kB / 439.7 MB, free: 3.445 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00363/0.2946, allocations: 2.887 MB / 442.6 MB, free: 436 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006469/0.2953, allocations: 36.03 kB / 442.6 MB, free: 400 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.921e-05/0.2954, allocations: 35.98 kB / 442.6 MB, free: 364 kB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (90): * Single equations (assignments): 89 * 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,13,72.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003432/0.2957, allocations: 241.5 kB / 442.9 MB, free: 112 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000133/0.2958, allocations: 83 kB / 443 MB, free: 28 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002056/0.2961, allocations: 91.27 kB / 443.1 MB, free: 15.93 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.544e-06/0.2961, allocations: 3.984 kB / 443.1 MB, free: 15.93 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/0.2961, allocations: 0 / 443.1 MB, free: 15.93 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001213/0.2962, allocations: 144.2 kB / 443.2 MB, free: 15.77 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001032/0.2963, allocations: 20 kB / 443.2 MB, free: 15.75 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005998/0.2969, allocations: 51.95 kB / 443.3 MB, free: 15.7 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001378/0.2971, allocations: 60.55 kB / 443.3 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002851/0.2999, allocations: 1.091 MB / 444.4 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002284/0.3022, allocations: 1.392 MB / 445.8 MB, free: 13.12 MB / 366.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000626/0.3029, allocations: 361.1 kB / 446.2 MB, free: 12.77 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000488/0.3034, allocations: 427.1 kB / 446.6 MB, free: 12.36 MB / 366.1 MB Notification: Performance of Backend: time 3.6e-07/0.3034, allocations: 0 / 446.6 MB, free: 12.36 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002168/0.3056, allocations: 0.8695 MB / 447.5 MB, free: 11.47 MB / 366.1 MB Notification: Performance of SimCode: time 0.003052/0.3086, allocations: 2.384 MB / 449.8 MB, free: 9.035 MB / 366.1 MB Notification: Performance of Templates: time 0.0216/0.3302, allocations: 13.1 MB / 462.9 MB, free: 12.04 MB / 382.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.makefile (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.DifferenceAmplifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.pipe 2>&1)