Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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="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_4.0.0_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_4.0.0_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.001528/0.001528, allocations: 108.8 kB / 17.75 MB, free: 5.199 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.001273/0.001273, allocations: 183.1 kB / 18.68 MB, free: 4.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.553/1.553, allocations: 222.9 MB / 242.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001177/0.001177, allocations: 47.94 kB / 352 MB, free: 3.266 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3929/0.3941, allocations: 49.43 MB / 401.4 MB, free: 8.754 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.DifferenceAmplifier): time 0.007762/0.4019, allocations: 6.068 MB / 407.5 MB, free: 2.801 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003819/0.4057, allocations: 1.521 MB / 409 MB, free: 1.27 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008101/0.4066, allocations: 19.94 kB / 409 MB, free: 1.25 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004527/0.407, allocations: 174.3 kB / 409.2 MB, free: 1.078 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007367/0.4078, allocations: 297.2 kB / 409.5 MB, free: 0.7852 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001119/0.409, allocations: 399.4 kB / 409.9 MB, free: 404 kB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001473/0.4104, allocations: 1.391 MB / 411.3 MB, free: 15 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006189/0.4111, allocations: 437.2 kB / 411.7 MB, free: 14.55 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006591/0.4117, allocations: 0.4906 MB / 412.2 MB, free: 14.06 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006513/0.4124, allocations: 0.568 MB / 412.8 MB, free: 13.48 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001884/0.4126, allocations: 136 kB / 412.9 MB, free: 13.35 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003245/0.4129, allocations: 172 kB / 413.1 MB, free: 13.18 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002334/0.4132, allocations: 271.1 kB / 413.3 MB, free: 12.92 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005681/0.4138, allocations: 0.5949 MB / 413.9 MB, free: 12.32 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001622/0.4154, allocations: 1.533 MB / 415.5 MB, free: 10.79 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.371e-06/0.4154, allocations: 4 kB / 415.5 MB, free: 10.78 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.4154, allocations: 0 / 415.5 MB, free: 10.78 MB / 334.1 MB Notification: Performance of Transformations before backend: time 2.172e-05/0.4154, allocations: 0 / 415.5 MB, free: 10.78 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.002765/0.4182, allocations: 1.408 MB / 416.9 MB, free: 9.324 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.16e-05/0.4183, allocations: 12.03 kB / 416.9 MB, free: 9.312 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002252/0.4185, allocations: 116.2 kB / 417 MB, free: 9.199 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009637/0.4195, allocations: 0.5621 MB / 417.6 MB, free: 8.598 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.134e-05/0.4196, allocations: 66.38 kB / 417.6 MB, free: 8.531 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001646/0.4198, allocations: 100.3 kB / 417.7 MB, free: 8.434 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001618/0.4214, allocations: 0.8471 MB / 418.6 MB, free: 7.582 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.141e-05/0.4214, allocations: 0 / 418.6 MB, free: 7.582 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.626e-05/0.4215, allocations: 48 kB / 418.6 MB, free: 7.535 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.051e-05/0.4215, allocations: 20 kB / 418.6 MB, free: 7.516 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001671/0.4232, allocations: 0.8472 MB / 419.5 MB, free: 6.668 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00694/0.4302, allocations: 3.227 MB / 422.7 MB, free: 3.312 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001477/0.4317, allocations: 0.6762 MB / 423.4 MB, free: 2.629 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007582/0.4325, allocations: 427.1 kB / 423.8 MB, free: 2.207 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.889e-05/0.4326, allocations: 16.55 kB / 423.8 MB, free: 2.191 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.415e-05/0.4326, allocations: 39.12 kB / 423.9 MB, free: 2.141 MB / 334.1 MB Notification: Performance of pre-optimization done (n=69): time 3.757e-06/0.4326, allocations: 0 / 423.9 MB, free: 2.141 MB / 334.1 MB Notification: Performance of matching and sorting (n=73): time 0.005052/0.4377, allocations: 2.284 MB / 426.1 MB, free: 15.8 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.734e-05/0.4377, allocations: 64.06 kB / 426.2 MB, free: 15.73 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000801/0.4386, allocations: 0.6057 MB / 426.8 MB, free: 15.12 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.788e-05/0.4386, allocations: 37.7 kB / 426.8 MB, free: 15.07 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003295/0.439, allocations: 452.2 kB / 427.3 MB, free: 14.62 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002196/0.4392, allocations: 277.6 kB / 427.6 MB, free: 14.36 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002597/0.4395, allocations: 146.6 kB / 427.7 MB, free: 14.2 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001734/0.4396, allocations: 382.8 kB / 428.1 MB, free: 13.82 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006656/0.4403, allocations: 329.9 kB / 428.4 MB, free: 13.5 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008081/0.4411, allocations: 476.5 kB / 428.9 MB, free: 12.98 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001423/0.4426, allocations: 0.7969 MB / 429.7 MB, free: 12.14 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.4426, allocations: 0 / 429.7 MB, free: 12.14 MB / 350.1 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.002214/0.4448, allocations: 1.122 MB / 430.8 MB, free: 11.01 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.291e-05/0.4449, allocations: 8 kB / 430.8 MB, free: 11 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.224e-05/0.4449, allocations: 4 kB / 430.8 MB, free: 11 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005736/0.4455, allocations: 187.5 kB / 431 MB, free: 10.81 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008835/0.4464, allocations: 199.7 kB / 431.2 MB, free: 10.62 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003961/0.4503, allocations: 2.887 MB / 434.1 MB, free: 7.59 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007798/0.4511, allocations: 36.11 kB / 434.1 MB, free: 7.555 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.126e-05/0.4512, allocations: 39.98 kB / 434.1 MB, free: 7.516 MB / 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.0004291/0.4517, allocations: 229.7 kB / 434.4 MB, free: 7.281 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000131/0.4518, allocations: 91.42 kB / 434.4 MB, free: 7.191 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001822/0.452, allocations: 99.25 kB / 434.5 MB, free: 7.09 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.516e-06/0.452, allocations: 3.984 kB / 434.5 MB, free: 7.086 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.456e-06/0.452, allocations: 0 / 434.5 MB, free: 7.086 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001308/0.4521, allocations: 148.6 kB / 434.7 MB, free: 6.922 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001113/0.4523, allocations: 19.98 kB / 434.7 MB, free: 6.902 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006097/0.4529, allocations: 51.97 kB / 434.8 MB, free: 6.852 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001431/0.453, allocations: 60.48 kB / 434.8 MB, free: 6.793 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002925/0.456, allocations: 1.094 MB / 435.9 MB, free: 5.691 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002548/0.4585, allocations: 1.4 MB / 437.3 MB, free: 4.27 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006634/0.4592, allocations: 365.1 kB / 437.7 MB, free: 3.91 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0006312/0.4599, allocations: 423.1 kB / 438.1 MB, free: 3.504 MB / 350.1 MB Notification: Performance of Backend: time 9.21e-07/0.4599, allocations: 0 / 438.1 MB, free: 3.504 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002622/0.4625, allocations: 0.8698 MB / 438.9 MB, free: 2.617 MB / 350.1 MB Notification: Performance of SimCode: time 0.003532/0.466, allocations: 2.423 MB / 441.4 MB, free: 140 kB / 350.1 MB Notification: Performance of Templates: time 0.02739/0.4935, allocations: 12.98 MB / 454.4 MB, free: 3.254 MB / 366.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.DifferenceAmplifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.pipe 2>&1)