Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.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.OpAmps.HighPass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Electrical.Analog.Examples.OpAmps.HighPass") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.HighPass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Electrical.Analog.Examples.OpAmps.HighPass") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009299/0.00093, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.008976/0.008976, allocations: 170.6 kB / 16.27 MB, free: 6.652 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.924/1.924, allocations: 205.4 MB / 222.4 MB, free: 5.566 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.0005077/0.0005084, allocations: 18.66 kB / 279.5 MB, free: 12.5 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4103/0.4109, allocations: 47.59 MB / 327 MB, free: 1.398 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.HighPass): time 0.004031/0.415, allocations: 2.5 MB / 329.5 MB, free: 15.41 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001943/0.4169, allocations: 0.7425 MB / 330.3 MB, free: 14.8 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000182/0.4172, allocations: 9.062 kB / 330.3 MB, free: 14.8 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001643/0.4173, allocations: 31.03 kB / 330.3 MB, free: 14.77 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002545/0.4176, allocations: 89.5 kB / 330.4 MB, free: 14.7 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003702/0.418, allocations: 91.41 kB / 330.5 MB, free: 14.62 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004865/0.4185, allocations: 360.1 kB / 330.9 MB, free: 14.41 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002575/0.4187, allocations: 82.56 kB / 330.9 MB, free: 14.37 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000387/0.4191, allocations: 128.5 kB / 331.1 MB, free: 14.29 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002763/0.4194, allocations: 148 kB / 331.2 MB, free: 14.19 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 6.428e-05/0.4195, allocations: 16.53 kB / 331.2 MB, free: 14.19 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.297e-05/0.4196, allocations: 16.97 kB / 331.2 MB, free: 14.19 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 7.536e-05/0.4196, allocations: 54.36 kB / 331.3 MB, free: 14.14 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000269/0.4199, allocations: 166.9 kB / 331.5 MB, free: 14.02 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005811/0.4205, allocations: 333.2 kB / 331.8 MB, free: 13.77 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.925e-06/0.4205, allocations: 9.188 kB / 331.8 MB, free: 13.77 MB / 270.1 MB Notification: Performance of FrontEnd: time 4.318e-06/0.4205, allocations: 0 / 331.8 MB, free: 13.77 MB / 270.1 MB Notification: Performance of Transformations before backend: time 7.955e-06/0.4206, allocations: 0 / 331.8 MB, free: 13.77 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: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.001529/0.4221, allocations: 0.6347 MB / 332.4 MB, free: 13.21 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.372e-05/0.4222, allocations: 9.219 kB / 332.4 MB, free: 13.21 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000106/0.4223, allocations: 33.44 kB / 332.5 MB, free: 13.19 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004214/0.4227, allocations: 282.9 kB / 332.7 MB, free: 12.91 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.452e-05/0.4228, allocations: 17.78 kB / 332.8 MB, free: 12.9 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.925e-05/0.4228, allocations: 19.62 kB / 332.8 MB, free: 12.89 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008054/0.4236, allocations: 281.8 kB / 333.1 MB, free: 12.73 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.488e-05/0.4237, allocations: 0 / 333.1 MB, free: 12.73 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.448e-05/0.4237, allocations: 14.05 kB / 333.1 MB, free: 12.72 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.369e-05/0.4237, allocations: 5.469 kB / 333.1 MB, free: 12.72 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009178/0.4247, allocations: 302.2 kB / 333.4 MB, free: 12.6 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001951/0.4266, allocations: 0.945 MB / 334.3 MB, free: 11.82 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009529/0.4276, allocations: 276.2 kB / 334.6 MB, free: 11.63 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003314/0.4279, allocations: 132.7 kB / 334.7 MB, free: 11.5 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.26e-05/0.428, allocations: 4 kB / 334.7 MB, free: 11.5 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005302/0.4285, allocations: 185.9 kB / 334.9 MB, free: 11.29 MB / 270.1 MB Notification: Performance of pre-optimization done (n=16): time 2.174e-06/0.4285, allocations: 0 / 334.9 MB, free: 11.29 MB / 270.1 MB Notification: Performance of matching and sorting (n=16): time 0.002341/0.4309, allocations: 0.7487 MB / 335.6 MB, free: 10.52 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.708e-05/0.431, allocations: 106.8 kB / 335.7 MB, free: 10.39 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003605/0.4314, allocations: 262.6 kB / 336 MB, free: 10.12 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 3.883e-05/0.4314, allocations: 33.7 kB / 336 MB, free: 10.09 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001411/0.4316, allocations: 183.8 kB / 336.2 MB, free: 9.902 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.264e-05/0.4316, allocations: 55.27 kB / 336.3 MB, free: 9.848 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.615e-05/0.4317, allocations: 25.72 kB / 336.3 MB, free: 9.816 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001414/0.4318, allocations: 334.8 kB / 336.6 MB, free: 9.48 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003296/0.4322, allocations: 112.2 kB / 336.7 MB, free: 9.371 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003929/0.4326, allocations: 188.8 kB / 336.9 MB, free: 9.16 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007547/0.4333, allocations: 287.6 kB / 337.2 MB, free: 8.852 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.4333, allocations: 0 / 337.2 MB, free: 8.852 MB / 270.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.001624/0.435, allocations: 487.6 kB / 337.7 MB, free: 8.359 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002407/0.4352, allocations: 167.8 kB / 337.8 MB, free: 8.164 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.191e-05/0.4353, allocations: 0 / 337.8 MB, free: 8.164 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007154/0.436, allocations: 136.7 kB / 338 MB, free: 8.027 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003188/0.4363, allocations: 55.97 kB / 338 MB, free: 7.973 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003077/0.4394, allocations: 1.756 MB / 339.8 MB, free: 6.078 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005477/0.44, allocations: 59.81 kB / 339.8 MB, free: 6.02 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.373e-05/0.4401, allocations: 11.94 kB / 339.9 MB, free: 6.008 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.366e-05/0.4401, allocations: 4 kB / 339.9 MB, free: 6.004 MB / 270.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001062/0.4412, allocations: 350.2 kB / 340.2 MB, free: 5.652 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.4412, allocations: 0 / 340.2 MB, free: 5.652 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001493/0.4413, allocations: 40.78 kB / 340.2 MB, free: 5.609 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002781/0.4416, allocations: 47.91 kB / 340.3 MB, free: 5.562 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001751/0.4434, allocations: 1.538 MB / 341.8 MB, free: 3.891 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004661/0.4439, allocations: 51.91 kB / 341.9 MB, free: 3.84 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.311e-05/0.4439, allocations: 4 kB / 341.9 MB, free: 3.836 MB / 270.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 5 (vIn.signalSource.count,$PRE.vIn.signalSource.count,vIn.signalSource.T_start,$PRE.vIn.signalSource.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 1 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0003617/0.4443, allocations: 221.6 kB / 342.1 MB, free: 3.609 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.864e-05/0.4444, allocations: 23.72 kB / 342.1 MB, free: 3.586 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.72e-05/0.4444, allocations: 26.17 kB / 342.1 MB, free: 3.559 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.889e-06/0.4444, allocations: 4 kB / 342.1 MB, free: 3.555 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.632e-06/0.4445, allocations: 4 kB / 342.1 MB, free: 3.551 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.638e-06/0.4445, allocations: 3.984 kB / 342.2 MB, free: 3.547 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004273/0.4449, allocations: 309.3 kB / 342.5 MB, free: 3.195 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.486e-05/0.4449, allocations: 3.984 kB / 342.5 MB, free: 3.191 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002412/0.4452, allocations: 35.97 kB / 342.5 MB, free: 3.156 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003061/0.4455, allocations: 72.81 kB / 342.6 MB, free: 3.082 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.204e-05/0.4455, allocations: 4 kB / 342.6 MB, free: 3.078 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002358/0.4479, allocations: 1.648 MB / 344.2 MB, free: 1.301 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/0.4479, allocations: 3.938 kB / 344.2 MB, free: 1.297 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00176/0.4497, allocations: 0.5012 MB / 344.7 MB, free: 0.7734 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001334/0.4498, allocations: 104.8 kB / 344.8 MB, free: 0.6523 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.101e-05/0.4499, allocations: 4 kB / 344.8 MB, free: 0.6484 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003309/0.4502, allocations: 35.97 kB / 344.9 MB, free: 0.6133 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001399/0.4504, allocations: 28.03 kB / 344.9 MB, free: 0.5859 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.766e-05/0.4504, allocations: 0 / 344.9 MB, free: 0.5859 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0003223/0.4508, allocations: 198 kB / 345.1 MB, free: 404 kB / 270.1 MB Notification: Performance of sort global known variables: time 4.51e-07/0.4508, allocations: 0 / 345.1 MB, free: 404 kB / 270.1 MB Notification: Performance of remove unused functions: time 0.0009328/0.4517, allocations: 135.7 kB / 345.2 MB, free: 268 kB / 270.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (c.v) * Number of discrete variables: 3 ($whenCondition1,vIn.signalSource.T_start,vIn.signalSource.count) * Number of discrete states: 1 (vIn.signalSource.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002962/0.452, allocations: 103.2 kB / 345.3 MB, free: 152 kB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.002069/0.4541, allocations: 0.7547 MB / 346.1 MB, free: 15.34 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 4.409e-06/0.4541, allocations: 0 / 346.1 MB, free: 15.34 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006493/0.4548, allocations: 262.7 kB / 346.3 MB, free: 15.07 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005753/0.4554, allocations: 48.47 kB / 346.4 MB, free: 15.03 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001733/0.4571, allocations: 0.674 MB / 347 MB, free: 14.33 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004172/0.4576, allocations: 0.7639 MB / 347.8 MB, free: 13.54 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0002018/0.4578, allocations: 30.27 kB / 347.8 MB, free: 13.51 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.025e-05/0.4579, allocations: 19.44 kB / 347.9 MB, free: 13.49 MB / 286.1 MB Notification: Performance of SimCode: time 2.144e-06/0.4579, allocations: 0 / 347.9 MB, free: 13.49 MB / 286.1 MB Notification: Performance of Templates: time 0.0143/0.4722, allocations: 4.113 MB / 352 MB, free: 9.375 MB / 286.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.makefile (rm -f Modelica_3.1_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe ; mkfifo Modelica_3.1_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe >> ../files/Modelica_3.1_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.sim & ./Modelica_3.1_Modelica.Electrical.Analog.Examples.OpAmps.HighPass -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe 2>&1)