Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.2_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.2_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.2_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.001293/0.001293, allocations: 105.5 kB / 17.06 MB, free: 6.098 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.001281/0.001281, allocations: 194.9 kB / 18 MB, free: 5.172 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.66/1.66, 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.001349/0.001349, allocations: 55.91 kB / 327.9 MB, free: 3.258 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1541/0.1554, allocations: 46.61 MB / 374.5 MB, free: 4.543 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Differentiator): time 0.004652/0.1601, allocations: 2.605 MB / 377.1 MB, free: 1.922 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001709/0.1619, allocations: 0.7096 MB / 377.8 MB, free: 1.203 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001707/0.1621, allocations: 4 kB / 377.8 MB, free: 1.199 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001924/0.1623, allocations: 35.58 kB / 377.9 MB, free: 1.164 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001781/0.1625, allocations: 79.33 kB / 377.9 MB, free: 1.086 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003137/0.1628, allocations: 99.81 kB / 378 MB, free: 0.9883 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004209/0.1632, allocations: 330.5 kB / 378.4 MB, free: 0.6641 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002271/0.1635, allocations: 84.69 kB / 378.4 MB, free: 0.582 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000211/0.1637, allocations: 127.5 kB / 378.6 MB, free: 468 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001889/0.1639, allocations: 139.4 kB / 378.7 MB, free: 328 kB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.799e-05/0.164, allocations: 28 kB / 378.7 MB, free: 300 kB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.701e-05/0.164, allocations: 28 kB / 378.8 MB, free: 272 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.303e-05/0.1641, allocations: 71.7 kB / 378.8 MB, free: 200 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001493/0.1643, allocations: 127.4 kB / 379 MB, free: 72 kB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.3182/0.4825, allocations: 295.2 kB / 379.2 MB, free: 10.43 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.356e-06/0.4826, allocations: 0 / 379.2 MB, free: 10.43 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.065e-06/0.4826, allocations: 0 / 379.2 MB, free: 10.43 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.816e-06/0.4826, allocations: 0 / 379.2 MB, free: 10.43 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: 46 * Number of variables: 46 Notification: Performance of Generate backend data structure: time 0.001426/0.484, allocations: 0.6299 MB / 379.9 MB, free: 9.957 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.805e-05/0.4841, allocations: 9.219 kB / 379.9 MB, free: 9.957 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.149e-05/0.4842, allocations: 26.52 kB / 379.9 MB, free: 9.945 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000503/0.4847, allocations: 272.3 kB / 380.2 MB, free: 9.723 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.77e-05/0.4848, allocations: 11.69 kB / 380.2 MB, free: 9.723 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.604e-05/0.4848, allocations: 20.91 kB / 380.2 MB, free: 9.723 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006842/0.4855, allocations: 237 kB / 380.4 MB, free: 9.688 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.466e-05/0.4856, allocations: 7.406 kB / 380.4 MB, free: 9.684 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.228e-05/0.4856, allocations: 8.969 kB / 380.5 MB, free: 9.684 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.437e-05/0.4856, allocations: 7.5 kB / 380.5 MB, free: 9.684 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007881/0.4864, allocations: 243 kB / 380.7 MB, free: 9.68 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001508/0.4879, allocations: 0.8132 MB / 381.5 MB, free: 9.281 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009655/0.4889, allocations: 235.2 kB / 381.7 MB, free: 9.258 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003141/0.4892, allocations: 96.31 kB / 381.8 MB, free: 9.25 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.116e-05/0.4893, allocations: 1.094 kB / 381.8 MB, free: 9.25 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004944/0.4898, allocations: 163.5 kB / 382 MB, free: 9.188 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 1.673e-06/0.4898, allocations: 0.5312 kB / 382 MB, free: 9.188 MB / 318.1 MB Notification: Performance of matching and sorting (n=13): time 0.001146/0.4909, allocations: 292.1 kB / 382.3 MB, free: 9.141 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.416e-05/0.491, allocations: 82.7 kB / 382.4 MB, free: 9.047 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003252/0.4913, allocations: 240.2 kB / 382.6 MB, free: 8.941 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.098e-05/0.4914, allocations: 30.64 kB / 382.6 MB, free: 8.91 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001072/0.4915, allocations: 159.2 kB / 382.8 MB, free: 8.797 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.108e-05/0.4915, allocations: 53.28 kB / 382.8 MB, free: 8.766 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.154e-05/0.4916, allocations: 39.31 kB / 382.9 MB, free: 8.75 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 9.245e-05/0.4917, allocations: 333 kB / 383.2 MB, free: 8.438 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003114/0.492, allocations: 90.75 kB / 383.3 MB, free: 8.43 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003369/0.4924, allocations: 156.5 kB / 383.4 MB, free: 8.359 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006029/0.493, allocations: 241.8 kB / 383.7 MB, free: 8.27 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.877e-06/0.493, allocations: 1.094 kB / 383.7 MB, free: 8.27 MB / 318.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0007666/0.4938, allocations: 312.7 kB / 384 MB, free: 8.188 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.684e-05/0.4938, allocations: 33.91 kB / 384 MB, free: 8.156 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.117e-06/0.4938, allocations: 4.266 kB / 384 MB, free: 8.156 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.895e-05/0.4939, allocations: 6.875 kB / 384 MB, free: 8.152 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002561/0.4941, allocations: 54.86 kB / 384.1 MB, free: 8.152 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.588e-06/0.4942, allocations: 3.125 kB / 384.1 MB, free: 8.152 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002583/0.4944, allocations: 38.47 kB / 384.1 MB, free: 8.145 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.941e-05/0.4945, allocations: 10.8 kB / 384.1 MB, free: 8.145 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003316/0.4948, allocations: 173.8 kB / 384.3 MB, free: 8.062 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002865/0.4951, allocations: 139.3 kB / 384.4 MB, free: 7.992 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005458/0.4956, allocations: 221.3 kB / 384.6 MB, free: 7.902 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.625e-06/0.4957, allocations: 4.328 kB / 384.7 MB, free: 7.902 MB / 318.1 MB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0006885/0.4963, allocations: 294.1 kB / 384.9 MB, free: 7.816 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.199e-05/0.4964, allocations: 36.81 kB / 385 MB, free: 7.781 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.777e-06/0.4964, allocations: 1.312 kB / 385 MB, free: 7.781 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.362e-06/0.4964, allocations: 3.469 kB / 385 MB, free: 7.781 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002287/0.4966, allocations: 57.81 kB / 385 MB, free: 7.777 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.244e-06/0.4967, allocations: 3.5 kB / 385 MB, free: 7.777 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00026/0.4969, allocations: 36.48 kB / 385.1 MB, free: 7.77 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.884e-05/0.497, allocations: 6.844 kB / 385.1 MB, free: 7.77 MB / 318.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 (22): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001383/0.4971, allocations: 202 kB / 385.3 MB, free: 7.582 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.663e-05/0.4971, allocations: 22.83 kB / 385.3 MB, free: 7.57 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.9e-05/0.4972, allocations: 28.55 kB / 385.3 MB, free: 7.559 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.127e-06/0.4972, allocations: 1.375 kB / 385.3 MB, free: 7.559 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.067e-06/0.4972, allocations: 0 / 385.3 MB, free: 7.559 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.803e-06/0.4972, allocations: 5.062 kB / 385.3 MB, free: 7.555 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003226/0.4976, allocations: 287.6 kB / 385.6 MB, free: 7.359 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-06/0.4976, allocations: 0.875 kB / 385.6 MB, free: 7.359 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002151/0.4978, allocations: 46.56 kB / 385.7 MB, free: 7.359 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.876e-06/0.4978, allocations: 3.094 kB / 385.7 MB, free: 7.359 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.728e-05/0.4978, allocations: 0.7031 kB / 385.7 MB, free: 7.359 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.4978, allocations: 4.562 kB / 385.7 MB, free: 7.355 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.4979, allocations: 0 / 385.7 MB, free: 7.355 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009347/0.4988, allocations: 352.9 kB / 386 MB, free: 7.27 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.202e-05/0.4989, allocations: 94.89 kB / 386.1 MB, free: 7.164 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.842e-05/0.4989, allocations: 6.844 kB / 386.1 MB, free: 7.164 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002027/0.4991, allocations: 22.81 kB / 386.1 MB, free: 7.164 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.483e-05/0.4992, allocations: 18.91 kB / 386.2 MB, free: 7.164 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.431e-05/0.4992, allocations: 3.844 kB / 386.2 MB, free: 7.164 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001701/0.4994, allocations: 179.7 kB / 386.3 MB, free: 7.074 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.4994, allocations: 3.172 kB / 386.3 MB, free: 7.074 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003972/0.4998, allocations: 99.03 kB / 386.4 MB, free: 7.055 MB / 318.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001283/0.5, allocations: 105.6 kB / 386.5 MB, free: 6.961 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001036/0.501, allocations: 432.2 kB / 387 MB, free: 6.766 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.501, allocations: 0 / 387 MB, free: 6.766 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002984/0.5013, allocations: 92.23 kB / 387.1 MB, free: 6.746 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003132/0.5016, allocations: 47.59 kB / 387.1 MB, free: 6.723 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000997/0.5026, allocations: 493.3 kB / 387.6 MB, free: 6.422 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001804/0.5028, allocations: 0.7392 MB / 388.3 MB, free: 5.723 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001245/0.503, allocations: 26.27 kB / 388.3 MB, free: 5.719 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.794e-05/0.503, allocations: 21.42 kB / 388.4 MB, free: 5.715 MB / 318.1 MB Notification: Performance of SimCode: time 2.2e-07/0.503, allocations: 3.938 kB / 388.4 MB, free: 5.711 MB / 318.1 MB Notification: Performance of Templates: time 0.007787/0.5108, allocations: 2.991 MB / 391.4 MB, free: 5.504 MB / 318.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.sim & ./Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe 2>&1)