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.001023/0.001023, allocations: 89.75 kB / 16.65 MB, free: 6.59 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.000912/0.0009119, allocations: 182.1 kB / 17.56 MB, free: 6.203 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.971/1.971, allocations: 205.4 MB / 223.7 MB, free: 13.08 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.0005447/0.0005451, allocations: 12 kB / 280.7 MB, free: 3.41 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1398/0.1404, allocations: 47.57 MB / 328.3 MB, free: 3.762 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Differentiator): time 0.003846/0.1443, allocations: 2.293 MB / 330.6 MB, free: 1.449 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001706/0.1461, allocations: 0.7022 MB / 331.3 MB, free: 0.7383 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001535/0.1463, allocations: 4 kB / 331.3 MB, free: 0.7344 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000137/0.1464, allocations: 31.77 kB / 331.4 MB, free: 0.7031 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000185/0.1466, allocations: 67.47 kB / 331.4 MB, free: 0.6367 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002958/0.1469, allocations: 75.91 kB / 331.5 MB, free: 0.5625 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003357/0.1473, allocations: 306.7 kB / 331.8 MB, free: 268 kB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001954/0.1475, allocations: 69.14 kB / 331.9 MB, free: 204 kB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002039/0.1477, allocations: 103.5 kB / 332 MB, free: 100 kB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002068/0.1479, allocations: 135.4 kB / 332.1 MB, free: 15.96 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.554e-05/0.148, allocations: 12 kB / 332.1 MB, free: 15.95 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.56e-05/0.148, allocations: 16 kB / 332.1 MB, free: 15.94 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 5.988e-05/0.1481, allocations: 43.77 kB / 332.2 MB, free: 15.89 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001539/0.1482, allocations: 141 kB / 332.3 MB, free: 15.75 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003402/0.1486, allocations: 287.1 kB / 332.6 MB, free: 15.47 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.432e-06/0.1486, allocations: 4 kB / 332.6 MB, free: 15.46 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.444e-06/0.1486, allocations: 3.938 kB / 332.6 MB, free: 15.46 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.743e-06/0.1486, allocations: 0 / 332.6 MB, free: 15.46 MB / 286.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.001418/0.15, allocations: 0.591 MB / 333.2 MB, free: 14.81 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.816e-05/0.1501, allocations: 8.031 kB / 333.2 MB, free: 14.8 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.489e-05/0.1502, allocations: 28.56 kB / 333.2 MB, free: 14.77 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004322/0.1506, allocations: 267.5 kB / 333.5 MB, free: 14.47 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.711e-05/0.1507, allocations: 16.75 kB / 333.5 MB, free: 14.46 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001016/0.1508, allocations: 20.31 kB / 333.5 MB, free: 14.44 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008367/0.1516, allocations: 256.6 kB / 333.8 MB, free: 14.18 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.335e-05/0.1517, allocations: 0 / 333.8 MB, free: 14.18 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.016e-05/0.1517, allocations: 8 kB / 333.8 MB, free: 14.18 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.987e-06/0.1517, allocations: 4 kB / 333.8 MB, free: 14.17 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008297/0.1526, allocations: 283.6 kB / 334.1 MB, free: 13.89 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001663/0.1542, allocations: 0.8403 MB / 334.9 MB, free: 12.98 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009106/0.1552, allocations: 278.5 kB / 335.2 MB, free: 12.7 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003248/0.1555, allocations: 104.8 kB / 335.3 MB, free: 12.6 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.324e-05/0.1555, allocations: 8 kB / 335.3 MB, free: 12.59 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005638/0.1561, allocations: 181 kB / 335.5 MB, free: 12.39 MB / 286.1 MB Notification: Performance of pre-optimization done (n=13): time 2.334e-06/0.1561, allocations: 0 / 335.5 MB, free: 12.39 MB / 286.1 MB Notification: Performance of matching and sorting (n=13): time 0.001145/0.1573, allocations: 341.1 kB / 335.8 MB, free: 12.05 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.987e-05/0.1574, allocations: 81.11 kB / 335.9 MB, free: 11.96 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002595/0.1576, allocations: 237 kB / 336.1 MB, free: 11.71 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.389e-05/0.1577, allocations: 29.7 kB / 336.1 MB, free: 11.68 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001151/0.1578, allocations: 163.9 kB / 336.3 MB, free: 11.51 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.159e-05/0.1578, allocations: 51.44 kB / 336.3 MB, free: 11.46 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.793e-05/0.1579, allocations: 17.72 kB / 336.4 MB, free: 11.44 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001355/0.158, allocations: 330.8 kB / 336.7 MB, free: 11.11 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000322/0.1584, allocations: 111.9 kB / 336.8 MB, free: 11 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003465/0.1587, allocations: 158.7 kB / 336.9 MB, free: 10.82 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006643/0.1594, allocations: 282.7 kB / 337.2 MB, free: 10.52 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.43e-06/0.1594, allocations: 0 / 337.2 MB, free: 10.52 MB / 286.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0008181/0.1602, allocations: 346.9 kB / 337.6 MB, free: 10.16 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001512/0.1604, allocations: 163.8 kB / 337.7 MB, free: 9.973 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.122e-05/0.1604, allocations: 3.984 kB / 337.7 MB, free: 9.969 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.928e-05/0.1605, allocations: 4 kB / 337.7 MB, free: 9.965 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002883/0.1608, allocations: 67.95 kB / 337.8 MB, free: 9.898 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.283e-05/0.1608, allocations: 3.938 kB / 337.8 MB, free: 9.895 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00031/0.1611, allocations: 47.81 kB / 337.8 MB, free: 9.848 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.411e-05/0.1611, allocations: 12 kB / 337.9 MB, free: 9.836 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.755e-05/0.1612, allocations: 4 kB / 337.9 MB, free: 9.832 MB / 286.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006935/0.1619, allocations: 277.5 kB / 338.1 MB, free: 9.555 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.976e-06/0.1619, allocations: 3.938 kB / 338.1 MB, free: 9.551 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.29e-06/0.1619, allocations: 7.938 kB / 338.1 MB, free: 9.543 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002252/0.1621, allocations: 59.91 kB / 338.2 MB, free: 9.484 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.231e-06/0.1622, allocations: 3.984 kB / 338.2 MB, free: 9.48 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002467/0.1624, allocations: 35.92 kB / 338.2 MB, free: 9.445 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.633e-05/0.1624, allocations: 8 kB / 338.2 MB, free: 9.438 MB / 286.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.0002722/0.1627, allocations: 217 kB / 338.5 MB, free: 9.215 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.163e-05/0.1628, allocations: 27.7 kB / 338.5 MB, free: 9.188 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.883e-05/0.1629, allocations: 25.78 kB / 338.5 MB, free: 9.164 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.835e-06/0.1629, allocations: 3.984 kB / 338.5 MB, free: 9.16 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.072e-05/0.1629, allocations: 4 kB / 338.5 MB, free: 9.156 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.59e-06/0.1629, allocations: 0 / 338.5 MB, free: 9.156 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003795/0.1633, allocations: 277.5 kB / 338.8 MB, free: 8.836 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.203e-06/0.1633, allocations: 0 / 338.8 MB, free: 8.836 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000236/0.1635, allocations: 51.95 kB / 338.8 MB, free: 8.785 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.444e-06/0.1636, allocations: 4 kB / 338.8 MB, free: 8.781 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.848e-05/0.1636, allocations: 3.938 kB / 338.8 MB, free: 8.777 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.512e-06/0.1636, allocations: 4 kB / 338.8 MB, free: 8.773 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.1636, allocations: 0 / 338.8 MB, free: 8.773 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001078/0.1647, allocations: 388.6 kB / 339.2 MB, free: 8.375 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.495e-05/0.1648, allocations: 104.9 kB / 339.3 MB, free: 8.254 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.058e-05/0.1648, allocations: 3.938 kB / 339.3 MB, free: 8.25 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002359/0.1651, allocations: 40.03 kB / 339.4 MB, free: 8.211 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.012e-05/0.1652, allocations: 19.97 kB / 339.4 MB, free: 8.191 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.083e-05/0.1652, allocations: 0 / 339.4 MB, free: 8.191 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001854/0.1654, allocations: 176.5 kB / 339.6 MB, free: 8.02 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1654, allocations: 3.938 kB / 339.6 MB, free: 8.016 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004096/0.1658, allocations: 95.75 kB / 339.7 MB, free: 7.922 MB / 286.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.0001558/0.166, allocations: 107.2 kB / 339.8 MB, free: 7.809 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001141/0.1671, allocations: 474.5 kB / 340.2 MB, free: 7.324 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.1671, allocations: 0 / 340.2 MB, free: 7.324 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003323/0.1675, allocations: 108.8 kB / 340.3 MB, free: 7.219 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004069/0.1679, allocations: 52.27 kB / 340.4 MB, free: 7.168 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001404/0.1693, allocations: 0.5943 MB / 341 MB, free: 6.547 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005567/0.1699, allocations: 0.7443 MB / 341.7 MB, free: 5.777 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.000151/0.17, allocations: 21.95 kB / 341.7 MB, free: 5.758 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.651e-05/0.1701, allocations: 23.42 kB / 341.8 MB, free: 5.734 MB / 286.1 MB Notification: Performance of SimCode: time 1.513e-06/0.1701, allocations: 0 / 341.8 MB, free: 5.734 MB / 286.1 MB Notification: Performance of Templates: time 0.006772/0.1769, allocations: 2.699 MB / 344.5 MB, free: 3.043 MB / 286.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)