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.001815/0.001815, allocations: 106.2 kB / 17.06 MB, free: 6.145 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.001991/0.001992, allocations: 195 kB / 18 MB, free: 5.219 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.624/1.624, allocations: 205.1 MB / 223.9 MB, free: 12.24 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.001509/0.00151, allocations: 47.92 kB / 327.9 MB, free: 3.27 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1504/0.1519, allocations: 46.62 MB / 374.5 MB, free: 4.543 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Differentiator): time 0.006073/0.1581, allocations: 2.597 MB / 377.1 MB, free: 1.93 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002255/0.1604, allocations: 0.7096 MB / 377.8 MB, free: 1.211 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003855/0.1608, allocations: 7.938 kB / 377.8 MB, free: 1.203 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002785/0.1612, allocations: 31.64 kB / 377.9 MB, free: 1.172 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004612/0.1616, allocations: 83.33 kB / 377.9 MB, free: 1.09 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005352/0.1622, allocations: 91.83 kB / 378 MB, free: 1 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007785/0.163, allocations: 330.5 kB / 378.4 MB, free: 0.6758 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003104/0.1633, allocations: 92.61 kB / 378.4 MB, free: 0.5859 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004698/0.1638, allocations: 119.6 kB / 378.6 MB, free: 480 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003685/0.1642, allocations: 143.4 kB / 378.7 MB, free: 336 kB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 8.875e-05/0.1643, allocations: 28 kB / 378.7 MB, free: 308 kB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.399e-05/0.1644, allocations: 32 kB / 378.8 MB, free: 276 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001154/0.1645, allocations: 63.7 kB / 378.8 MB, free: 212 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002162/0.1647, allocations: 127.4 kB / 378.9 MB, free: 84 kB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.3537/0.5184, allocations: 306 kB / 379.2 MB, free: 11.05 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.043e-06/0.5185, allocations: 0 / 379.2 MB, free: 11.05 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.375e-06/0.5185, allocations: 0 / 379.2 MB, free: 11.05 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.177e-06/0.5185, allocations: 1.312 kB / 379.2 MB, free: 11.05 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.00138/0.5199, allocations: 0.6134 MB / 379.9 MB, free: 10.59 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.031e-05/0.52, allocations: 8.844 kB / 379.9 MB, free: 10.59 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.123e-05/0.52, allocations: 31.22 kB / 379.9 MB, free: 10.58 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004188/0.5205, allocations: 263.8 kB / 380.2 MB, free: 10.36 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.513e-05/0.5205, allocations: 15.81 kB / 380.2 MB, free: 10.36 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.164e-05/0.5206, allocations: 20.39 kB / 380.2 MB, free: 10.36 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006179/0.5212, allocations: 235.3 kB / 380.4 MB, free: 10.32 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.224e-05/0.5212, allocations: 6.938 kB / 380.4 MB, free: 10.32 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.87e-05/0.5212, allocations: 9.312 kB / 380.4 MB, free: 10.32 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.245e-05/0.5213, allocations: 7.625 kB / 380.4 MB, free: 10.32 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008539/0.5221, allocations: 246.3 kB / 380.7 MB, free: 10.32 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001755/0.5239, allocations: 0.8036 MB / 381.5 MB, free: 9.926 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009049/0.5248, allocations: 230.2 kB / 381.7 MB, free: 9.902 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003083/0.5251, allocations: 97.77 kB / 381.8 MB, free: 9.895 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.939e-05/0.5252, allocations: 4.547 kB / 381.8 MB, free: 9.895 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005019/0.5257, allocations: 165.8 kB / 382 MB, free: 9.832 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 1.974e-06/0.5257, allocations: 0 / 382 MB, free: 9.832 MB / 318.1 MB Notification: Performance of matching and sorting (n=13): time 0.001371/0.5271, allocations: 300.1 kB / 382.3 MB, free: 9.773 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.616e-05/0.5272, allocations: 80.7 kB / 382.3 MB, free: 9.68 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003822/0.5275, allocations: 237.9 kB / 382.6 MB, free: 9.574 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.131e-05/0.5276, allocations: 31.58 kB / 382.6 MB, free: 9.543 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001566/0.5277, allocations: 159 kB / 382.8 MB, free: 9.43 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.6e-05/0.5278, allocations: 43.95 kB / 382.8 MB, free: 9.402 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001108/0.5279, allocations: 45.12 kB / 382.9 MB, free: 9.383 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001135/0.528, allocations: 332.6 kB / 383.2 MB, free: 9.07 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003424/0.5284, allocations: 95.34 kB / 383.3 MB, free: 9.062 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003775/0.5288, allocations: 146.4 kB / 383.4 MB, free: 8.996 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007318/0.5295, allocations: 243.2 kB / 383.7 MB, free: 8.906 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/0.5295, allocations: 0 / 383.7 MB, free: 8.906 MB / 318.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0009607/0.5305, allocations: 314.8 kB / 384 MB, free: 8.805 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.821e-05/0.5306, allocations: 39.62 kB / 384 MB, free: 8.77 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.052e-05/0.5306, allocations: 2.438 kB / 384 MB, free: 8.77 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.758e-05/0.5307, allocations: 6.812 kB / 384 MB, free: 8.766 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003453/0.531, allocations: 55.84 kB / 384.1 MB, free: 8.766 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.869e-05/0.531, allocations: 3.234 kB / 384.1 MB, free: 8.766 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003311/0.5314, allocations: 42.5 kB / 384.1 MB, free: 8.754 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.666e-05/0.5314, allocations: 7.594 kB / 384.1 MB, free: 8.754 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004014/0.5318, allocations: 179.8 kB / 384.3 MB, free: 8.637 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003249/0.5322, allocations: 133.6 kB / 384.4 MB, free: 8.547 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005918/0.5328, allocations: 217.8 kB / 384.6 MB, free: 8.418 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.036e-06/0.5328, allocations: 1.031 kB / 384.6 MB, free: 8.418 MB / 318.1 MB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0007533/0.5335, allocations: 296.4 kB / 384.9 MB, free: 8.281 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.508e-05/0.5336, allocations: 32.81 kB / 385 MB, free: 8.25 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/0.5336, allocations: 1.5 kB / 385 MB, free: 8.25 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.606e-06/0.5336, allocations: 6.75 kB / 385 MB, free: 8.25 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002353/0.5339, allocations: 54.7 kB / 385 MB, free: 8.242 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.951e-06/0.5339, allocations: 5.906 kB / 385 MB, free: 8.242 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002611/0.5341, allocations: 37.88 kB / 385.1 MB, free: 8.23 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.919e-05/0.5342, allocations: 6.562 kB / 385.1 MB, free: 8.23 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.000158/0.5343, allocations: 197.7 kB / 385.3 MB, free: 8.039 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.136e-05/0.5344, allocations: 21.03 kB / 385.3 MB, free: 8.027 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7e-05/0.5345, allocations: 30.83 kB / 385.3 MB, free: 8.004 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.402e-06/0.5345, allocations: 1.375 kB / 385.3 MB, free: 8.004 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.047e-06/0.5345, allocations: 3.938 kB / 385.3 MB, free: 8 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.506e-06/0.5345, allocations: 3.562 kB / 385.3 MB, free: 8 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003374/0.5348, allocations: 285.7 kB / 385.6 MB, free: 7.766 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.5348, allocations: 2.578 kB / 385.6 MB, free: 7.766 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002555/0.5351, allocations: 43.14 kB / 385.6 MB, free: 7.762 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.325e-06/0.5351, allocations: 0 / 385.6 MB, free: 7.762 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.201e-05/0.5352, allocations: 7.562 kB / 385.6 MB, free: 7.758 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.528e-06/0.5352, allocations: 2.984 kB / 385.7 MB, free: 7.758 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.5352, allocations: 0 / 385.7 MB, free: 7.758 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001048/0.5362, allocations: 343 kB / 386 MB, free: 7.609 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.934e-05/0.5363, allocations: 96.12 kB / 386.1 MB, free: 7.504 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.637e-05/0.5363, allocations: 2.844 kB / 386.1 MB, free: 7.504 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000212/0.5366, allocations: 27.03 kB / 386.1 MB, free: 7.5 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.462e-05/0.5366, allocations: 21.86 kB / 386.1 MB, free: 7.496 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.461e-05/0.5367, allocations: 4.031 kB / 386.1 MB, free: 7.496 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001766/0.5368, allocations: 175.5 kB / 386.3 MB, free: 7.387 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.5369, allocations: 1.281 kB / 386.3 MB, free: 7.387 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.000449/0.5373, allocations: 103.2 kB / 386.4 MB, free: 7.363 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.0001857/0.5375, allocations: 105 kB / 386.5 MB, free: 7.27 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001143/0.5386, allocations: 435.8 kB / 386.9 MB, free: 7.07 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.5387, allocations: 1.219 kB / 386.9 MB, free: 7.07 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003837/0.5391, allocations: 95.25 kB / 387 MB, free: 7.051 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003633/0.5394, allocations: 46 kB / 387.1 MB, free: 7.027 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001462/0.5409, allocations: 478.1 kB / 387.5 MB, free: 6.742 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004078/0.5413, allocations: 0.74 MB / 388.3 MB, free: 6.043 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001704/0.5415, allocations: 26.11 kB / 388.3 MB, free: 6.039 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.365e-05/0.5416, allocations: 28.7 kB / 388.3 MB, free: 6.027 MB / 318.1 MB Notification: Performance of SimCode: time 2.8e-07/0.5416, allocations: 0 / 388.3 MB, free: 6.027 MB / 318.1 MB Notification: Performance of Templates: time 0.009321/0.5509, allocations: 3.078 MB / 391.4 MB, free: 5.797 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)