Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.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.LowPass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.LowPass") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.LowPass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.LowPass") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008742/0.0008742, allocations: 98.03 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.00689/0.00689, allocations: 169 kB / 16.26 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.551 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.0006104/0.0006106, allocations: 12 kB / 279.5 MB, free: 12.5 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4135/0.4141, allocations: 47.59 MB / 327 MB, free: 1.383 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LowPass): time 0.003895/0.4181, allocations: 2.499 MB / 329.5 MB, free: 15.4 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001948/0.4201, allocations: 0.7393 MB / 330.3 MB, free: 14.79 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002026/0.4203, allocations: 4.406 kB / 330.3 MB, free: 14.79 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002053/0.4205, allocations: 40.06 kB / 330.3 MB, free: 14.76 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003081/0.4208, allocations: 88.11 kB / 330.4 MB, free: 14.68 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00041/0.4213, allocations: 92.31 kB / 330.5 MB, free: 14.6 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005414/0.4218, allocations: 361 kB / 330.9 MB, free: 14.39 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002867/0.4221, allocations: 81.72 kB / 330.9 MB, free: 14.35 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000277/0.4224, allocations: 126.3 kB / 331.1 MB, free: 14.28 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002369/0.4226, allocations: 154.7 kB / 331.2 MB, free: 14.17 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 5.514e-05/0.4227, allocations: 16.88 kB / 331.2 MB, free: 14.17 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.511e-05/0.4228, allocations: 16.5 kB / 331.2 MB, free: 14.17 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 9.878e-05/0.4229, allocations: 55.73 kB / 331.3 MB, free: 14.12 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001948/0.4231, allocations: 161.3 kB / 331.5 MB, free: 14 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004579/0.4235, allocations: 334.6 kB / 331.8 MB, free: 13.76 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.834e-06/0.4236, allocations: 3.938 kB / 331.8 MB, free: 13.75 MB / 270.1 MB Notification: Performance of FrontEnd: time 4.388e-06/0.4236, allocations: 1 kB / 331.8 MB, free: 13.75 MB / 270.1 MB Notification: Performance of Transformations before backend: time 6.582e-06/0.4236, allocations: 0 / 331.8 MB, free: 13.75 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.001538/0.4251, allocations: 0.6345 MB / 332.4 MB, free: 13.2 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.834e-05/0.4252, allocations: 9.938 kB / 332.4 MB, free: 13.2 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001114/0.4253, allocations: 32.56 kB / 332.5 MB, free: 13.18 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005025/0.4258, allocations: 283.5 kB / 332.7 MB, free: 12.89 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.199e-05/0.4259, allocations: 18.56 kB / 332.8 MB, free: 12.89 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.331e-05/0.426, allocations: 19.22 kB / 332.8 MB, free: 12.88 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008946/0.4269, allocations: 285.4 kB / 333.1 MB, free: 12.71 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.359e-05/0.4269, allocations: 1.906 kB / 333.1 MB, free: 12.71 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.103e-05/0.427, allocations: 9.156 kB / 333.1 MB, free: 12.71 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.728e-05/0.427, allocations: 9.375 kB / 333.1 MB, free: 12.7 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009725/0.428, allocations: 302.8 kB / 333.4 MB, free: 12.58 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002087/0.4301, allocations: 0.9158 MB / 334.3 MB, free: 11.84 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001076/0.4312, allocations: 386.1 kB / 334.7 MB, free: 11.52 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004422/0.4316, allocations: 156.7 kB / 334.8 MB, free: 11.36 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.061e-05/0.4317, allocations: 0 / 334.8 MB, free: 11.36 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005943/0.4323, allocations: 205.7 kB / 335 MB, free: 11.14 MB / 270.1 MB Notification: Performance of pre-optimization done (n=18): time 1.884e-06/0.4323, allocations: 0 / 335 MB, free: 11.14 MB / 270.1 MB Notification: Performance of matching and sorting (n=18): time 0.002456/0.4348, allocations: 0.6969 MB / 335.7 MB, free: 10.42 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001382/0.4349, allocations: 106.8 kB / 335.8 MB, free: 10.29 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004085/0.4353, allocations: 270.6 kB / 336.1 MB, free: 10.02 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 3.753e-05/0.4354, allocations: 37.64 kB / 336.1 MB, free: 9.977 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001645/0.4356, allocations: 176 kB / 336.3 MB, free: 9.797 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.165e-05/0.4356, allocations: 71.08 kB / 336.4 MB, free: 9.727 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.418e-05/0.4357, allocations: 21.7 kB / 336.4 MB, free: 9.699 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001783/0.4359, allocations: 342.8 kB / 336.7 MB, free: 9.355 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003462/0.4362, allocations: 116.2 kB / 336.8 MB, free: 9.242 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003863/0.4366, allocations: 180.8 kB / 337 MB, free: 9.039 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006921/0.4373, allocations: 307.5 kB / 337.3 MB, free: 8.711 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.629e-06/0.4373, allocations: 0 / 337.3 MB, free: 8.711 MB / 270.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001185/0.4385, allocations: 479.4 kB / 337.8 MB, free: 8.227 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001516/0.4387, allocations: 167.8 kB / 337.9 MB, free: 8.031 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.309e-05/0.4387, allocations: 4 kB / 337.9 MB, free: 8.027 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005502/0.4393, allocations: 124.7 kB / 338.1 MB, free: 7.902 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002707/0.4396, allocations: 63.95 kB / 338.1 MB, free: 7.84 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002006/0.4416, allocations: 1.495 MB / 339.6 MB, free: 6.211 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003971/0.442, allocations: 59.89 kB / 339.7 MB, free: 6.152 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.049e-05/0.442, allocations: 12 kB / 339.7 MB, free: 6.141 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.037e-06/0.4421, allocations: 7.938 kB / 339.7 MB, free: 6.133 MB / 270.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008905/0.443, allocations: 322.3 kB / 340 MB, free: 5.809 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/0.443, allocations: 4 kB / 340 MB, free: 5.805 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001007/0.4431, allocations: 28.78 kB / 340 MB, free: 5.773 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002524/0.4433, allocations: 63.95 kB / 340.1 MB, free: 5.711 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001241/0.4446, allocations: 1.381 MB / 341.5 MB, free: 4.191 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003622/0.445, allocations: 55.84 kB / 341.5 MB, free: 4.137 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.049e-05/0.445, allocations: 8 kB / 341.5 MB, free: 4.129 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 (26): * Single equations (assignments): 24 * 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,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0003362/0.4453, allocations: 220.9 kB / 341.8 MB, free: 3.902 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.771e-05/0.4454, allocations: 27.7 kB / 341.8 MB, free: 3.875 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.923e-05/0.4455, allocations: 22.19 kB / 341.8 MB, free: 3.859 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.404e-06/0.4455, allocations: 4 kB / 341.8 MB, free: 3.855 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.4455, allocations: 4 kB / 341.8 MB, free: 3.852 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.375e-06/0.4455, allocations: 3.984 kB / 341.8 MB, free: 3.848 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001503/0.447, allocations: 0.7535 MB / 342.6 MB, free: 3.031 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.48e-06/0.447, allocations: 4 kB / 342.6 MB, free: 3.027 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002274/0.4473, allocations: 51.94 kB / 342.6 MB, free: 2.977 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000198/0.4475, allocations: 56.75 kB / 342.7 MB, free: 2.918 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.993e-05/0.4475, allocations: 4 kB / 342.7 MB, free: 2.914 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00162/0.4491, allocations: 1.503 MB / 344.2 MB, free: 1.277 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.4492, allocations: 0 / 344.2 MB, free: 1.277 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001344/0.4505, allocations: 0.5768 MB / 344.8 MB, free: 0.6797 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.971e-05/0.4506, allocations: 100.8 kB / 344.9 MB, free: 0.5625 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.763e-05/0.4507, allocations: 8 kB / 344.9 MB, free: 0.5547 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002947/0.451, allocations: 36.03 kB / 344.9 MB, free: 0.5195 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.578e-05/0.4511, allocations: 27.91 kB / 344.9 MB, free: 0.4922 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.665e-05/0.4511, allocations: 11.98 kB / 345 MB, free: 492 kB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0002058/0.4513, allocations: 186 kB / 345.1 MB, free: 308 kB / 270.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4513, allocations: 0 / 345.1 MB, free: 308 kB / 270.1 MB Notification: Performance of remove unused functions: time 0.0005966/0.4519, allocations: 131.7 kB / 345.3 MB, free: 176 kB / 270.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (16): * Single equations (assignments): 13 * 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,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001839/0.4521, allocations: 115.2 kB / 345.4 MB, free: 52 kB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.001563/0.4537, allocations: 0.7384 MB / 346.1 MB, free: 15.26 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.4537, allocations: 0 / 346.1 MB, free: 15.26 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004854/0.4542, allocations: 246.9 kB / 346.4 MB, free: 15.01 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004981/0.4547, allocations: 57.14 kB / 346.4 MB, free: 14.95 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001385/0.4561, allocations: 0.6907 MB / 347.1 MB, free: 14.23 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004071/0.4565, allocations: 0.7638 MB / 347.9 MB, free: 13.44 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001658/0.4567, allocations: 30.27 kB / 347.9 MB, free: 13.41 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.784e-05/0.4568, allocations: 23.44 kB / 347.9 MB, free: 13.39 MB / 286.1 MB Notification: Performance of SimCode: time 1.022e-06/0.4568, allocations: 0 / 347.9 MB, free: 13.39 MB / 286.1 MB Notification: Performance of Templates: time 0.009028/0.4658, allocations: 3.866 MB / 351.8 MB, free: 9.52 MB / 286.1 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.sim & ./Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.LowPass -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe 2>&1)