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.001158/0.001158, allocations: 109.9 kB / 17.06 MB, free: 5.969 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.001312/0.001313, allocations: 200 kB / 18.01 MB, free: 5.055 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.557/1.557, allocations: 205.1 MB / 223.9 MB, free: 12.2 MB / 190.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.001411/0.001411, allocations: 59.91 kB / 327.9 MB, free: 3.258 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1286/0.13, allocations: 46.61 MB / 374.5 MB, free: 4.543 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.DifferenceAmplifier): time 0.3006/0.4307, allocations: 5.699 MB / 380.2 MB, free: 9.719 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003357/0.4341, allocations: 1.447 MB / 381.6 MB, free: 9.621 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005007/0.4346, allocations: 15.12 kB / 381.7 MB, free: 9.621 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003872/0.4351, allocations: 156.1 kB / 381.8 MB, free: 9.535 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005752/0.4356, allocations: 281.5 kB / 382.1 MB, free: 9.391 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001041/0.4367, allocations: 354.3 kB / 382.4 MB, free: 9.375 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001576/0.4383, allocations: 1.242 MB / 383.7 MB, free: 8.934 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006648/0.439, allocations: 418.1 kB / 384.1 MB, free: 8.738 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007099/0.4397, allocations: 456.5 kB / 384.5 MB, free: 8.527 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006992/0.4404, allocations: 0.5285 MB / 385.1 MB, free: 8.258 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002364/0.4406, allocations: 124.7 kB / 385.2 MB, free: 8.258 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003754/0.441, allocations: 162.6 kB / 385.3 MB, free: 8.246 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002297/0.4413, allocations: 246.1 kB / 385.6 MB, free: 8.078 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000539/0.4418, allocations: 0.5426 MB / 386.1 MB, free: 7.742 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002161/0.444, allocations: 1.406 MB / 387.5 MB, free: 7.227 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.225e-05/0.444, allocations: 1.812 kB / 387.5 MB, free: 7.227 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.444, allocations: 0 / 387.5 MB, free: 7.227 MB / 318.1 MB Notification: Performance of Transformations before backend: time 3.204e-05/0.444, allocations: 0 / 387.5 MB, free: 7.227 MB / 318.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.002982/0.447, allocations: 1.287 MB / 388.8 MB, free: 6.402 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.529e-05/0.4471, allocations: 13.61 kB / 388.8 MB, free: 6.398 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002213/0.4473, allocations: 104.5 kB / 388.9 MB, free: 6.348 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008877/0.4482, allocations: 0.5129 MB / 389.4 MB, free: 5.949 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.716e-05/0.4483, allocations: 64.39 kB / 389.5 MB, free: 5.918 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001673/0.4485, allocations: 81.19 kB / 389.6 MB, free: 5.891 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001927/0.4504, allocations: 0.8848 MB / 390.5 MB, free: 5.512 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.441e-05/0.4504, allocations: 1.688 kB / 390.5 MB, free: 5.512 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.894e-05/0.4506, allocations: 36.44 kB / 390.5 MB, free: 5.484 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.44e-05/0.4506, allocations: 18.75 kB / 390.5 MB, free: 5.484 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001892/0.4525, allocations: 0.7852 MB / 391.3 MB, free: 5.207 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00669/0.4592, allocations: 3.022 MB / 394.3 MB, free: 3.48 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00148/0.4607, allocations: 0.65 MB / 395 MB, free: 3.168 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009702/0.4617, allocations: 413.6 kB / 395.4 MB, free: 3 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.974e-05/0.4618, allocations: 13.61 kB / 395.4 MB, free: 2.996 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.745e-05/0.4618, allocations: 44.25 kB / 395.4 MB, free: 2.949 MB / 318.1 MB Notification: Performance of pre-optimization done (n=67): time 3.667e-06/0.4618, allocations: 4 kB / 395.4 MB, free: 2.945 MB / 318.1 MB Notification: Performance of matching and sorting (n=71): time 0.005726/0.4676, allocations: 2.182 MB / 397.6 MB, free: 1.816 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.018e-05/0.4676, allocations: 64.31 kB / 397.7 MB, free: 1.75 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007654/0.4684, allocations: 0.4973 MB / 398.2 MB, free: 1.516 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 6.175e-05/0.4685, allocations: 45.23 kB / 398.2 MB, free: 1.469 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002937/0.4688, allocations: 390.6 kB / 398.6 MB, free: 1.16 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002001/0.469, allocations: 257.1 kB / 398.9 MB, free: 0.9648 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002542/0.4692, allocations: 135 kB / 399 MB, free: 0.8945 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001266/0.4694, allocations: 381.1 kB / 399.4 MB, free: 0.5469 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006565/0.47, allocations: 308.9 kB / 399.7 MB, free: 436 kB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007315/0.4708, allocations: 424.7 kB / 400.1 MB, free: 192 kB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001617/0.4724, allocations: 0.7641 MB / 400.8 MB, free: 15.84 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.139e-06/0.4724, allocations: 2.625 kB / 400.9 MB, free: 15.84 MB / 334.1 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002708/0.4751, allocations: 1.034 MB / 401.9 MB, free: 15.39 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.268e-05/0.4752, allocations: 5.656 kB / 401.9 MB, free: 15.39 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.882e-05/0.4752, allocations: 3.906 kB / 401.9 MB, free: 15.39 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007694/0.476, allocations: 183.5 kB / 402.1 MB, free: 15.33 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009515/0.477, allocations: 182.4 kB / 402.3 MB, free: 15.32 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004233/0.4812, allocations: 2.871 MB / 405.1 MB, free: 12.93 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007947/0.482, allocations: 41.22 kB / 405.2 MB, free: 12.9 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.98e-05/0.4821, allocations: 25.38 kB / 405.2 MB, free: 12.89 MB / 334.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.0005629/0.4827, allocations: 228.7 kB / 405.4 MB, free: 12.7 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002002/0.4829, allocations: 70.97 kB / 405.5 MB, free: 12.66 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002274/0.4831, allocations: 85.36 kB / 405.6 MB, free: 12.59 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.31e-05/0.4831, allocations: 12.25 kB / 405.6 MB, free: 12.59 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.418e-05/0.4832, allocations: 2.594 kB / 405.6 MB, free: 12.59 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.846e-06/0.4832, allocations: 3.984 kB / 405.6 MB, free: 12.59 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001682/0.4849, allocations: 0.8311 MB / 406.4 MB, free: 11.95 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.804e-06/0.4849, allocations: 3.938 kB / 406.4 MB, free: 11.95 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000763/0.4857, allocations: 147.7 kB / 406.6 MB, free: 11.91 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006196/0.4863, allocations: 177.2 kB / 406.7 MB, free: 11.82 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.765e-05/0.4864, allocations: 23.02 kB / 406.8 MB, free: 11.8 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004305/0.4907, allocations: 2.86 MB / 409.6 MB, free: 9.422 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.127e-06/0.4907, allocations: 7.938 kB / 409.6 MB, free: 9.414 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003198/0.4939, allocations: 1.385 MB / 411 MB, free: 8.613 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003175/0.4942, allocations: 136.7 kB / 411.1 MB, free: 8.477 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001399/0.4944, allocations: 17.31 kB / 411.2 MB, free: 8.465 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007209/0.4951, allocations: 52.58 kB / 411.2 MB, free: 8.441 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001728/0.4953, allocations: 55.61 kB / 411.3 MB, free: 8.406 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.772e-05/0.4954, allocations: 23.17 kB / 411.3 MB, free: 8.398 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0005147/0.4959, allocations: 356.5 kB / 411.6 MB, free: 8.188 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.4959, allocations: 0 / 411.6 MB, free: 8.188 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.001163/0.4971, allocations: 223.6 kB / 411.9 MB, free: 8.16 MB / 334.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.0004043/0.4975, allocations: 132.5 kB / 412 MB, free: 8.047 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.002921/0.5004, allocations: 1.006 MB / 413 MB, free: 7.5 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.388e-06/0.5005, allocations: 0 / 413 MB, free: 7.5 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001582/0.502, allocations: 0.6365 MB / 413.6 MB, free: 7.125 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009182/0.503, allocations: 140.4 kB / 413.8 MB, free: 7.047 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004063/0.507, allocations: 1.883 MB / 415.6 MB, free: 5.609 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006076/0.5077, allocations: 0.9539 MB / 416.6 MB, free: 4.629 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0004223/0.5081, allocations: 85.05 kB / 416.7 MB, free: 4.543 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001778/0.5083, allocations: 51.42 kB / 416.7 MB, free: 4.492 MB / 334.1 MB Notification: Performance of SimCode: time 1.102e-06/0.5083, allocations: 3.938 kB / 416.7 MB, free: 4.488 MB / 334.1 MB Notification: Performance of Templates: time 0.02331/0.5316, allocations: 10.82 MB / 427.6 MB, free: 9.664 MB / 350.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.makefile (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)