Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.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.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.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.01052/0.01052, allocations: 102.6 kB / 15.73 MB, free: 6.492 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.002664/0.002664, allocations: 195 kB / 16.68 MB, free: 6.375 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.919/1.919, allocations: 205.1 MB / 222.6 MB, free: 4.496 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.001226/0.001226, allocations: 43.47 kB / 326.6 MB, free: 14.38 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1453/0.1465, allocations: 46.62 MB / 373.2 MB, free: 1.297 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Differentiator): time 0.004915/0.1515, allocations: 2.587 MB / 375.8 MB, free: 14.69 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001891/0.1534, allocations: 0.7095 MB / 376.5 MB, free: 13.97 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001923/0.1537, allocations: 7.938 kB / 376.5 MB, free: 13.96 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001799/0.1539, allocations: 39.64 kB / 376.5 MB, free: 13.93 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002388/0.1541, allocations: 83.31 kB / 376.6 MB, free: 13.84 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003509/0.1545, allocations: 91.81 kB / 376.7 MB, free: 13.75 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003815/0.1549, allocations: 334.6 kB / 377 MB, free: 13.43 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002188/0.1551, allocations: 84.64 kB / 377.1 MB, free: 13.34 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002333/0.1554, allocations: 139.4 kB / 377.3 MB, free: 13.21 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001864/0.1556, allocations: 139.4 kB / 377.4 MB, free: 13.07 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.819e-05/0.1556, allocations: 28 kB / 377.4 MB, free: 13.04 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.404e-05/0.1557, allocations: 28 kB / 377.5 MB, free: 13.02 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.706e-05/0.1557, allocations: 63.75 kB / 377.5 MB, free: 12.95 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001533/0.1559, allocations: 127.4 kB / 377.6 MB, free: 12.83 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003692/0.1563, allocations: 306.9 kB / 377.9 MB, free: 12.53 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.98e-06/0.1563, allocations: 0 / 377.9 MB, free: 12.53 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.1563, allocations: 0 / 377.9 MB, free: 12.53 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.188e-05/0.1563, allocations: 0 / 377.9 MB, free: 12.53 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.001303/0.1576, allocations: 0.6142 MB / 378.6 MB, free: 11.86 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.915e-05/0.1577, allocations: 12.03 kB / 378.6 MB, free: 11.84 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.168e-05/0.1578, allocations: 28.66 kB / 378.6 MB, free: 11.82 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004703/0.1583, allocations: 259.8 kB / 378.8 MB, free: 11.52 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.959e-05/0.1583, allocations: 28.67 kB / 378.9 MB, free: 11.5 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.331e-05/0.1584, allocations: 16.38 kB / 378.9 MB, free: 11.48 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006003/0.159, allocations: 244.6 kB / 379.1 MB, free: 11.24 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.283e-05/0.159, allocations: 0 / 379.1 MB, free: 11.24 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.865e-05/0.159, allocations: 4 kB / 379.1 MB, free: 11.23 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.041e-05/0.159, allocations: 4 kB / 379.1 MB, free: 11.23 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007482/0.1598, allocations: 251.5 kB / 379.4 MB, free: 10.98 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001515/0.1613, allocations: 0.8092 MB / 380.2 MB, free: 10.11 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007952/0.1621, allocations: 234.5 kB / 380.4 MB, free: 9.867 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002652/0.1624, allocations: 84.8 kB / 380.5 MB, free: 9.781 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.355e-05/0.1625, allocations: 4 kB / 380.5 MB, free: 9.777 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004362/0.1629, allocations: 168.9 kB / 380.7 MB, free: 9.594 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 2.044e-06/0.1629, allocations: 0 / 380.7 MB, free: 9.594 MB / 318.1 MB Notification: Performance of matching and sorting (n=13): time 0.000889/0.1638, allocations: 293.2 kB / 381 MB, free: 9.301 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.584e-05/0.1639, allocations: 81.09 kB / 381 MB, free: 9.203 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002853/0.1642, allocations: 237 kB / 381.3 MB, free: 8.961 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.005e-05/0.1642, allocations: 33.69 kB / 381.3 MB, free: 8.922 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001352/0.1644, allocations: 160 kB / 381.5 MB, free: 8.762 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.411e-05/0.1644, allocations: 47.38 kB / 381.5 MB, free: 8.715 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.746e-05/0.1645, allocations: 49.61 kB / 381.6 MB, free: 8.66 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001729/0.1647, allocations: 330.8 kB / 381.9 MB, free: 8.328 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003019/0.165, allocations: 96.78 kB / 382 MB, free: 8.23 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003124/0.1653, allocations: 142.7 kB / 382.1 MB, free: 8.066 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007488/0.1661, allocations: 244.6 kB / 382.3 MB, free: 7.801 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.839e-06/0.1661, allocations: 0 / 382.3 MB, free: 7.801 MB / 318.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0007668/0.1669, allocations: 322.6 kB / 382.7 MB, free: 7.473 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.224e-05/0.167, allocations: 33.7 kB / 382.7 MB, free: 7.434 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.718e-06/0.167, allocations: 0 / 382.7 MB, free: 7.434 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.729e-05/0.167, allocations: 4.188 kB / 382.7 MB, free: 7.43 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002757/0.1673, allocations: 59.89 kB / 382.8 MB, free: 7.371 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.798e-06/0.1673, allocations: 0 / 382.8 MB, free: 7.371 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002785/0.1676, allocations: 39.81 kB / 382.8 MB, free: 7.332 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.179e-05/0.1676, allocations: 19.97 kB / 382.8 MB, free: 7.312 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003436/0.168, allocations: 172.1 kB / 383 MB, free: 7.141 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002626/0.1683, allocations: 126.8 kB / 383.1 MB, free: 6.992 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004955/0.1688, allocations: 231.5 kB / 383.3 MB, free: 6.738 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.378e-06/0.1688, allocations: 3.938 kB / 383.3 MB, free: 6.734 MB / 318.1 MB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0006871/0.1695, allocations: 282.9 kB / 383.6 MB, free: 6.445 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.016e-05/0.1695, allocations: 41.61 kB / 383.7 MB, free: 6.398 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.1696, allocations: 3.938 kB / 383.7 MB, free: 6.395 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.025e-06/0.1696, allocations: 4 kB / 383.7 MB, free: 6.391 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002277/0.1698, allocations: 60.02 kB / 383.7 MB, free: 6.332 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.987e-06/0.1698, allocations: 4 kB / 383.7 MB, free: 6.328 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002975/0.1701, allocations: 35.81 kB / 383.8 MB, free: 6.293 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.169e-05/0.1702, allocations: 8 kB / 383.8 MB, free: 6.285 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.0002241/0.1704, allocations: 204.1 kB / 384 MB, free: 6.078 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.897e-05/0.1704, allocations: 19.72 kB / 384 MB, free: 6.059 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.387e-05/0.1705, allocations: 29.83 kB / 384 MB, free: 6.027 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-06/0.1706, allocations: 0 / 384 MB, free: 6.027 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.098e-05/0.1706, allocations: 4 kB / 384 MB, free: 6.023 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.079e-06/0.1706, allocations: 0 / 384 MB, free: 6.023 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000435/0.171, allocations: 285.4 kB / 384.3 MB, free: 5.695 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.749e-06/0.171, allocations: 0 / 384.3 MB, free: 5.695 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002297/0.1713, allocations: 39.95 kB / 384.3 MB, free: 5.656 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.129e-06/0.1713, allocations: 4 kB / 384.3 MB, free: 5.652 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.513e-05/0.1713, allocations: 0 / 384.3 MB, free: 5.652 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.647e-06/0.1713, allocations: 0 / 384.3 MB, free: 5.652 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.1713, allocations: 4 kB / 384.3 MB, free: 5.648 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001004/0.1724, allocations: 348.5 kB / 384.7 MB, free: 5.289 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001261/0.1725, allocations: 100.9 kB / 384.8 MB, free: 5.172 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.181e-05/0.1725, allocations: 4 kB / 384.8 MB, free: 5.168 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002032/0.1728, allocations: 23.97 kB / 384.8 MB, free: 5.145 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001036/0.1729, allocations: 15.97 kB / 384.8 MB, free: 5.129 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.68e-05/0.1729, allocations: 8 kB / 384.8 MB, free: 5.121 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002419/0.1731, allocations: 172.5 kB / 385 MB, free: 4.949 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.1731, allocations: 4.062 kB / 385 MB, free: 4.945 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0005211/0.1737, allocations: 99.69 kB / 385.1 MB, free: 4.848 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.0002261/0.1739, allocations: 99.25 kB / 385.2 MB, free: 4.742 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001259/0.1752, allocations: 435 kB / 385.6 MB, free: 4.293 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.899e-06/0.1752, allocations: 0 / 385.6 MB, free: 4.293 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003388/0.1755, allocations: 95.86 kB / 385.7 MB, free: 4.199 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00046/0.176, allocations: 48.98 kB / 385.8 MB, free: 4.152 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001417/0.1774, allocations: 481.3 kB / 386.2 MB, free: 3.656 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004602/0.1779, allocations: 0.744 MB / 387 MB, free: 2.887 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001802/0.1781, allocations: 25.94 kB / 387 MB, free: 2.859 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.416e-05/0.1782, allocations: 19.44 kB / 387 MB, free: 2.84 MB / 318.1 MB Notification: Performance of SimCode: time 1.753e-06/0.1782, allocations: 0 / 387 MB, free: 2.84 MB / 318.1 MB Notification: Performance of Templates: time 0.008479/0.1867, allocations: 3.001 MB / 390 MB, free: 15.83 MB / 334.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.makefile (rm -f Modelica_3.1_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe ; mkfifo Modelica_3.1_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe >> ../files/Modelica_3.1_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.sim & ./Modelica_3.1_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe 2>&1)