Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.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.Differentiator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.Differentiator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00113/0.00113, allocations: 99.94 kB / 15.05 MB, free: 1.105 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.001367/0.001368, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.877/1.877, allocations: 205.4 MB / 222.1 MB, free: 5.652 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.0006804/0.000681, allocations: 8 kB / 278.9 MB, free: 12.83 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4286/0.4293, allocations: 47.59 MB / 326.5 MB, free: 1.609 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Differentiator): time 0.00401/0.4334, allocations: 2.111 MB / 328.6 MB, free: 15.96 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002589/0.4361, allocations: 0.6835 MB / 329.3 MB, free: 15.41 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000339/0.4365, allocations: 10.72 kB / 329.3 MB, free: 15.4 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001096/0.4366, allocations: 22.45 kB / 329.3 MB, free: 15.38 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004106/0.437, allocations: 98.48 kB / 329.4 MB, free: 15.29 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005028/0.4375, allocations: 63.33 kB / 329.4 MB, free: 15.24 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005302/0.4381, allocations: 203.5 kB / 329.6 MB, free: 15.11 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003082/0.4384, allocations: 67.2 kB / 329.7 MB, free: 15.07 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002896/0.4387, allocations: 104.9 kB / 329.8 MB, free: 15.02 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002276/0.4389, allocations: 120.9 kB / 329.9 MB, free: 14.93 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 4.861e-05/0.439, allocations: 17.5 kB / 329.9 MB, free: 14.93 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.33e-05/0.4391, allocations: 14.91 kB / 330 MB, free: 14.93 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 6.715e-05/0.4391, allocations: 45.66 kB / 330 MB, free: 14.89 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 9.938e-05/0.4392, allocations: 74.77 kB / 330.1 MB, free: 14.83 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003479/0.4396, allocations: 219.9 kB / 330.3 MB, free: 14.67 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.149e-06/0.4396, allocations: 0 / 330.3 MB, free: 14.67 MB / 270.1 MB Notification: Performance of FrontEnd: time 5.651e-06/0.4396, allocations: 1 kB / 330.3 MB, free: 14.67 MB / 270.1 MB Notification: Performance of Transformations before backend: time 8.746e-06/0.4396, allocations: 0 / 330.3 MB, free: 14.67 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: 46 * Number of variables: 46 Notification: Performance of Generate backend data structure: time 0.001658/0.4413, allocations: 0.5924 MB / 330.9 MB, free: 14.13 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.507e-05/0.4414, allocations: 9.344 kB / 330.9 MB, free: 14.13 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001338/0.4415, allocations: 29.72 kB / 330.9 MB, free: 14.12 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005257/0.4421, allocations: 260.4 kB / 331.2 MB, free: 13.85 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.327e-05/0.4422, allocations: 16.36 kB / 331.2 MB, free: 13.84 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.303e-05/0.4422, allocations: 16.81 kB / 331.2 MB, free: 13.84 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008054/0.443, allocations: 244 kB / 331.4 MB, free: 13.7 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.384e-05/0.4431, allocations: 1.062 kB / 331.5 MB, free: 13.7 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.708e-05/0.4431, allocations: 6.25 kB / 331.5 MB, free: 13.7 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.723e-05/0.4431, allocations: 4.5 kB / 331.5 MB, free: 13.7 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009581/0.4441, allocations: 284.3 kB / 331.7 MB, free: 13.58 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001939/0.4461, allocations: 0.849 MB / 332.6 MB, free: 12.86 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001027/0.4471, allocations: 270.4 kB / 332.9 MB, free: 12.73 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.218e-05/0.4471, allocations: 2.562 kB / 332.9 MB, free: 12.73 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006186/0.4478, allocations: 179.6 kB / 333 MB, free: 12.61 MB / 270.1 MB Notification: Performance of pre-optimization done (n=13): time 2.735e-06/0.4478, allocations: 1.125 kB / 333 MB, free: 12.61 MB / 270.1 MB Notification: Performance of matching and sorting (n=13): time 0.001229/0.449, allocations: 341.3 kB / 333.4 MB, free: 12.45 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.557e-05/0.4491, allocations: 80.33 kB / 333.4 MB, free: 12.35 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003711/0.4495, allocations: 232.8 kB / 333.7 MB, free: 12.18 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 4.378e-05/0.4496, allocations: 32.02 kB / 333.7 MB, free: 12.15 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001773/0.4498, allocations: 163.1 kB / 333.9 MB, free: 12 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.826e-05/0.4498, allocations: 51.28 kB / 333.9 MB, free: 11.95 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.425e-05/0.4499, allocations: 4 kB / 333.9 MB, free: 11.94 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0002048/0.4501, allocations: 334.8 kB / 334.2 MB, free: 11.61 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003275/0.4504, allocations: 100.1 kB / 334.3 MB, free: 11.51 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003483/0.4508, allocations: 167.1 kB / 334.5 MB, free: 11.32 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003317/0.4511, allocations: 129.7 kB / 334.6 MB, free: 11.19 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.378e-06/0.4511, allocations: 4 kB / 334.6 MB, free: 11.18 MB / 270.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0008572/0.452, allocations: 345.7 kB / 335 MB, free: 10.84 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003933/0.4524, allocations: 0.6373 MB / 335.6 MB, free: 10.14 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.271e-05/0.4524, allocations: 8 kB / 335.6 MB, free: 10.14 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.077e-05/0.4524, allocations: 3.984 kB / 335.6 MB, free: 10.13 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003065/0.4528, allocations: 71.89 kB / 335.7 MB, free: 10.06 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.717e-05/0.4528, allocations: 4 kB / 335.7 MB, free: 10.06 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003485/0.4531, allocations: 47.81 kB / 335.7 MB, free: 10.01 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.755e-05/0.4532, allocations: 8 kB / 335.7 MB, free: 10 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.627e-05/0.4532, allocations: 4 kB / 335.8 MB, free: 10 MB / 270.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007049/0.4539, allocations: 273.5 kB / 336 MB, free: 9.727 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/0.4539, allocations: 4 kB / 336 MB, free: 9.723 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.729e-06/0.454, allocations: 0 / 336 MB, free: 9.723 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002347/0.4542, allocations: 63.94 kB / 336.1 MB, free: 9.66 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.707e-06/0.4542, allocations: 0 / 336.1 MB, free: 9.66 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002902/0.4545, allocations: 47.77 kB / 336.1 MB, free: 9.613 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.842e-05/0.4545, allocations: 4 kB / 336.1 MB, free: 9.609 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 ($whenCondition1,$PRE.vIn.signalSource.T_start,vIn.signalSource.T_start,$PRE.vIn.signalSource.count,vIn.signalSource.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003444/0.4549, allocations: 213.3 kB / 336.3 MB, free: 9.391 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.874e-05/0.455, allocations: 19.81 kB / 336.4 MB, free: 9.371 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.624e-05/0.455, allocations: 33.77 kB / 336.4 MB, free: 9.34 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.881e-06/0.4551, allocations: 0 / 336.4 MB, free: 9.34 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.528e-05/0.4551, allocations: 7.984 kB / 336.4 MB, free: 9.332 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.217e-06/0.4551, allocations: 3.953 kB / 336.4 MB, free: 9.328 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004405/0.4555, allocations: 277.4 kB / 336.7 MB, free: 9.008 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.4556, allocations: 4 kB / 336.7 MB, free: 9.004 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002603/0.4558, allocations: 59.89 kB / 336.7 MB, free: 8.945 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.898e-06/0.4558, allocations: 0 / 336.7 MB, free: 8.945 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.968e-05/0.4559, allocations: 0 / 336.7 MB, free: 8.945 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.864e-06/0.4559, allocations: 0 / 336.7 MB, free: 8.945 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.005e-06/0.4559, allocations: 4 kB / 336.7 MB, free: 8.941 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001146/0.4571, allocations: 381.3 kB / 337.1 MB, free: 8.551 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000119/0.4572, allocations: 108.8 kB / 337.2 MB, free: 8.426 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.342e-05/0.4572, allocations: 4.062 kB / 337.2 MB, free: 8.422 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000226/0.4575, allocations: 35.97 kB / 337.3 MB, free: 8.387 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001198/0.4576, allocations: 15.97 kB / 337.3 MB, free: 8.371 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.538e-05/0.4576, allocations: 4 kB / 337.3 MB, free: 8.367 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0002182/0.4579, allocations: 172.5 kB / 337.5 MB, free: 8.199 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4579, allocations: 0 / 337.5 MB, free: 8.199 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0004983/0.4584, allocations: 107.7 kB / 337.6 MB, free: 8.094 MB / 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 (13): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002189/0.4586, allocations: 107.1 kB / 337.7 MB, free: 7.98 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.00124/0.4598, allocations: 470.8 kB / 338.1 MB, free: 7.496 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 3.656e-06/0.4599, allocations: 0 / 338.1 MB, free: 7.496 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003357/0.4602, allocations: 116.2 kB / 338.2 MB, free: 7.383 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004436/0.4607, allocations: 32.36 kB / 338.3 MB, free: 7.352 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001357/0.462, allocations: 0.5747 MB / 338.8 MB, free: 6.75 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003966/0.4625, allocations: 0.7443 MB / 339.6 MB, free: 5.98 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 0.000144/0.4626, allocations: 25.94 kB / 339.6 MB, free: 5.957 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.876e-05/0.4627, allocations: 23.44 kB / 339.6 MB, free: 5.934 MB / 270.1 MB Notification: Performance of SimCode: time 6.01e-07/0.4627, allocations: 0 / 339.6 MB, free: 5.934 MB / 270.1 MB Notification: Performance of Templates: time 0.007696/0.4704, allocations: 2.62 MB / 342.3 MB, free: 3.316 MB / 270.1 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.makefile Environment - environmentSimulation: (rm -f Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.sim & ./Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe 2>&1) Environment - environmentSimulation: