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.01076/0.01075, allocations: 103.8 kB / 15.73 MB, free: 6.051 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.002153/0.002152, allocations: 191.5 kB / 16.67 MB, free: 5.984 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.87/1.87, allocations: 205.1 MB / 222.5 MB, free: 4.523 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.001236/0.001236, allocations: 47.17 kB / 326.6 MB, free: 14.33 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1254/0.1266, allocations: 46.63 MB / 373.2 MB, free: 1.305 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Differentiator): time 0.00461/0.1312, allocations: 2.583 MB / 375.8 MB, free: 14.7 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001885/0.1332, allocations: 0.7251 MB / 376.5 MB, free: 13.97 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001707/0.1334, allocations: 0 / 376.5 MB, free: 13.97 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001802/0.1336, allocations: 39.58 kB / 376.5 MB, free: 13.93 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002218/0.1338, allocations: 79.33 kB / 376.6 MB, free: 13.85 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003346/0.1342, allocations: 95.75 kB / 376.7 MB, free: 13.76 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004444/0.1346, allocations: 330.6 kB / 377 MB, free: 13.43 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000287/0.1349, allocations: 88.62 kB / 377.1 MB, free: 13.35 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002782/0.1352, allocations: 131.4 kB / 377.3 MB, free: 13.22 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000208/0.1355, allocations: 143.4 kB / 377.4 MB, free: 13.08 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.255e-05/0.1355, allocations: 28 kB / 377.4 MB, free: 13.05 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.553e-05/0.1356, allocations: 28 kB / 377.5 MB, free: 13.02 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001186/0.1357, allocations: 55.83 kB / 377.5 MB, free: 12.97 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001558/0.1359, allocations: 135.3 kB / 377.6 MB, free: 12.84 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003696/0.1362, allocations: 303 kB / 377.9 MB, free: 12.54 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.1362, allocations: 0 / 377.9 MB, free: 12.54 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.502e-06/0.1363, allocations: 0 / 377.9 MB, free: 12.54 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.394e-06/0.1363, allocations: 0 / 377.9 MB, free: 12.54 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.001344/0.1376, allocations: 0.6181 MB / 378.6 MB, free: 11.86 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.145e-05/0.1377, allocations: 15.97 kB / 378.6 MB, free: 11.85 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.114e-05/0.1378, allocations: 28.64 kB / 378.6 MB, free: 11.82 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004479/0.1382, allocations: 263.8 kB / 378.9 MB, free: 11.52 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.082e-05/0.1382, allocations: 12.75 kB / 378.9 MB, free: 11.51 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.625e-05/0.1383, allocations: 20.38 kB / 378.9 MB, free: 11.49 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006022/0.1389, allocations: 240.6 kB / 379.1 MB, free: 11.25 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.22e-05/0.1389, allocations: 0 / 379.1 MB, free: 11.25 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.088e-05/0.139, allocations: 8 kB / 379.1 MB, free: 11.25 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.977e-06/0.139, allocations: 4 kB / 379.1 MB, free: 11.24 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007826/0.1398, allocations: 247.5 kB / 379.4 MB, free: 11 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00164/0.1414, allocations: 0.8131 MB / 380.2 MB, free: 10.12 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008803/0.1423, allocations: 234.5 kB / 380.4 MB, free: 9.879 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003051/0.1426, allocations: 88.8 kB / 380.5 MB, free: 9.789 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.248e-05/0.1427, allocations: 4 kB / 380.5 MB, free: 9.785 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005084/0.1432, allocations: 160.9 kB / 380.7 MB, free: 9.609 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 1.583e-06/0.1432, allocations: 0 / 380.7 MB, free: 9.609 MB / 318.1 MB Notification: Performance of matching and sorting (n=13): time 0.001069/0.1443, allocations: 297.1 kB / 381 MB, free: 9.312 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001021/0.1444, allocations: 77.11 kB / 381 MB, free: 9.219 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003261/0.1447, allocations: 245 kB / 381.3 MB, free: 8.969 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.186e-05/0.1448, allocations: 25.7 kB / 381.3 MB, free: 8.938 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001655/0.1449, allocations: 168 kB / 381.5 MB, free: 8.77 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.873e-05/0.145, allocations: 35.45 kB / 381.5 MB, free: 8.734 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001011/0.1451, allocations: 53.61 kB / 381.5 MB, free: 8.676 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0002019/0.1453, allocations: 330.8 kB / 381.9 MB, free: 8.344 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003364/0.1457, allocations: 92.78 kB / 382 MB, free: 8.25 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003742/0.146, allocations: 150.6 kB / 382.1 MB, free: 8.078 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006565/0.1467, allocations: 239.5 kB / 382.3 MB, free: 7.816 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.004e-06/0.1467, allocations: 7.938 kB / 382.3 MB, free: 7.809 MB / 318.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0008214/0.1476, allocations: 318.6 kB / 382.7 MB, free: 7.484 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001441/0.1477, allocations: 33.7 kB / 382.7 MB, free: 7.445 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.566e-06/0.1477, allocations: 0 / 382.7 MB, free: 7.445 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.99e-05/0.1478, allocations: 4 kB / 382.7 MB, free: 7.441 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002864/0.1481, allocations: 60.14 kB / 382.8 MB, free: 7.383 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.488e-05/0.1481, allocations: 3.938 kB / 382.8 MB, free: 7.379 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003035/0.1484, allocations: 39.8 kB / 382.8 MB, free: 7.34 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.045e-05/0.1484, allocations: 12 kB / 382.8 MB, free: 7.328 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003828/0.1488, allocations: 168.1 kB / 383 MB, free: 7.16 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002903/0.1491, allocations: 134.8 kB / 383.1 MB, free: 7.004 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005423/0.1497, allocations: 223.6 kB / 383.3 MB, free: 6.758 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.496e-06/0.1497, allocations: 3.938 kB / 383.3 MB, free: 6.754 MB / 318.1 MB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.000682/0.1504, allocations: 294.7 kB / 383.6 MB, free: 6.453 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.05e-05/0.1504, allocations: 37.64 kB / 383.6 MB, free: 6.41 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.595e-06/0.1504, allocations: 0 / 383.6 MB, free: 6.41 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.332e-06/0.1505, allocations: 4 kB / 383.7 MB, free: 6.406 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002153/0.1507, allocations: 56.08 kB / 383.7 MB, free: 6.352 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.471e-06/0.1507, allocations: 4 kB / 383.7 MB, free: 6.348 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002635/0.151, allocations: 35.81 kB / 383.7 MB, free: 6.312 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.069e-05/0.151, allocations: 15.98 kB / 383.8 MB, free: 6.297 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.0001743/0.1512, allocations: 196.1 kB / 384 MB, free: 6.098 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.153e-05/0.1512, allocations: 19.72 kB / 384 MB, free: 6.078 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.935e-05/0.1513, allocations: 25.83 kB / 384 MB, free: 6.051 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.1513, allocations: 4 kB / 384 MB, free: 6.047 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.909e-06/0.1513, allocations: 0 / 384 MB, free: 6.047 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.488e-06/0.1513, allocations: 0 / 384 MB, free: 6.047 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003535/0.1517, allocations: 285.4 kB / 384.3 MB, free: 5.719 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.198e-06/0.1517, allocations: 4 kB / 384.3 MB, free: 5.715 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002286/0.152, allocations: 39.95 kB / 384.3 MB, free: 5.676 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.149e-06/0.152, allocations: 4 kB / 384.3 MB, free: 5.672 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.835e-05/0.152, allocations: 4 kB / 384.3 MB, free: 5.668 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.152, allocations: 0 / 384.3 MB, free: 5.668 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.526e-06/0.152, allocations: 7.984 kB / 384.3 MB, free: 5.66 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009638/0.153, allocations: 348.5 kB / 384.7 MB, free: 5.301 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.881e-05/0.1531, allocations: 96.89 kB / 384.8 MB, free: 5.188 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.809e-05/0.1531, allocations: 4 kB / 384.8 MB, free: 5.184 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002084/0.1533, allocations: 27.95 kB / 384.8 MB, free: 5.156 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.601e-05/0.1534, allocations: 15.98 kB / 384.8 MB, free: 5.141 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.17e-05/0.1534, allocations: 4 kB / 384.8 MB, free: 5.137 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001732/0.1536, allocations: 172.5 kB / 385 MB, free: 4.965 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1536, allocations: 4.062 kB / 385 MB, free: 4.961 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004446/0.1541, allocations: 107.6 kB / 385.1 MB, free: 4.855 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.0002142/0.1543, allocations: 99.23 kB / 385.2 MB, free: 4.75 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001167/0.1555, allocations: 439.1 kB / 385.6 MB, free: 4.297 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/0.1555, allocations: 0 / 385.6 MB, free: 4.297 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003217/0.1558, allocations: 95.86 kB / 385.7 MB, free: 4.203 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003718/0.1562, allocations: 41.3 kB / 385.8 MB, free: 4.164 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001226/0.1574, allocations: 489.2 kB / 386.2 MB, free: 3.66 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004111/0.1579, allocations: 0.744 MB / 387 MB, free: 2.891 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001393/0.158, allocations: 25.94 kB / 387 MB, free: 2.863 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.048e-05/0.1581, allocations: 19.44 kB / 387 MB, free: 2.844 MB / 318.1 MB Notification: Performance of SimCode: time 7.11e-07/0.1581, allocations: 0 / 387 MB, free: 2.844 MB / 318.1 MB Notification: Performance of Templates: time 0.007101/0.1652, allocations: 2.985 MB / 390 MB, free: 15.85 MB / 334.1 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.makefile (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)