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.001341/0.001342, allocations: 104.6 kB / 16.51 MB, free: 6.652 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.001805/0.001806, allocations: 194.4 kB / 17.42 MB, free: 6.066 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.686/1.686, allocations: 205.1 MB / 223.3 MB, free: 12.46 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.001189/0.001189, allocations: 47.94 kB / 279.3 MB, free: 3.574 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1186/0.1198, allocations: 46.63 MB / 326 MB, free: 4.883 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Differentiator): time 0.004612/0.1245, allocations: 2.655 MB / 328.6 MB, free: 2.203 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001872/0.1264, allocations: 0.7021 MB / 329.3 MB, free: 1.492 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002262/0.1266, allocations: 7.938 kB / 329.3 MB, free: 1.484 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002126/0.1269, allocations: 27.83 kB / 329.4 MB, free: 1.457 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002268/0.1272, allocations: 71.45 kB / 329.4 MB, free: 1.387 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004305/0.1276, allocations: 75.88 kB / 329.5 MB, free: 1.312 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003736/0.128, allocations: 310.7 kB / 329.8 MB, free: 1.008 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002321/0.1282, allocations: 65.16 kB / 329.9 MB, free: 0.9492 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002822/0.1285, allocations: 115.5 kB / 330 MB, free: 0.8359 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001984/0.1287, allocations: 135.3 kB / 330.1 MB, free: 0.7031 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 4.989e-05/0.1288, allocations: 20 kB / 330.1 MB, free: 0.6836 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.761e-05/0.1288, allocations: 16 kB / 330.2 MB, free: 0.668 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 7.144e-05/0.1289, allocations: 59.69 kB / 330.2 MB, free: 0.6094 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001388/0.1291, allocations: 123.3 kB / 330.3 MB, free: 500 kB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003159/0.1294, allocations: 291.2 kB / 330.6 MB, free: 208 kB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.162e-06/0.1294, allocations: 0 / 330.6 MB, free: 208 kB / 270.1 MB Notification: Performance of FrontEnd: time 9.92e-07/0.1294, allocations: 0 / 330.6 MB, free: 208 kB / 270.1 MB Notification: Performance of Transformations before backend: time 5.781e-06/0.1294, allocations: 0 / 330.6 MB, free: 208 kB / 270.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.001397/0.1308, allocations: 0.6143 MB / 331.2 MB, free: 15.53 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.774e-05/0.1309, allocations: 8.031 kB / 331.2 MB, free: 15.52 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.723e-05/0.131, allocations: 28.66 kB / 331.3 MB, free: 15.49 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000316/0.1313, allocations: 271.4 kB / 331.5 MB, free: 15.19 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.497e-05/0.1313, allocations: 12.75 kB / 331.5 MB, free: 15.18 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.651e-05/0.1314, allocations: 20.38 kB / 331.6 MB, free: 15.16 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005826/0.132, allocations: 248.5 kB / 331.8 MB, free: 14.91 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.065e-05/0.132, allocations: 0 / 331.8 MB, free: 14.91 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.572e-05/0.132, allocations: 8 kB / 331.8 MB, free: 14.9 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.955e-06/0.132, allocations: 4 kB / 331.8 MB, free: 14.9 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006858/0.1327, allocations: 243.6 kB / 332.1 MB, free: 14.66 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001505/0.1342, allocations: 0.8286 MB / 332.9 MB, free: 13.76 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007818/0.135, allocations: 226.5 kB / 333.1 MB, free: 13.53 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002679/0.1353, allocations: 96.78 kB / 333.2 MB, free: 13.43 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.078e-05/0.1354, allocations: 4 kB / 333.2 MB, free: 13.43 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005386/0.1359, allocations: 157 kB / 333.4 MB, free: 13.26 MB / 286.1 MB Notification: Performance of pre-optimization done (n=13): time 1.593e-06/0.1359, allocations: 0 / 333.4 MB, free: 13.26 MB / 286.1 MB Notification: Performance of matching and sorting (n=13): time 0.0009366/0.1369, allocations: 289.2 kB / 333.6 MB, free: 12.97 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.197e-05/0.1369, allocations: 81.11 kB / 333.7 MB, free: 12.87 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002845/0.1372, allocations: 244.9 kB / 334 MB, free: 12.62 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.448e-05/0.1373, allocations: 25.7 kB / 334 MB, free: 12.59 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001387/0.1374, allocations: 167.9 kB / 334.1 MB, free: 12.42 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.696e-05/0.1375, allocations: 43.45 kB / 334.2 MB, free: 12.38 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.874e-05/0.1376, allocations: 37.7 kB / 334.2 MB, free: 12.33 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.000135/0.1377, allocations: 338.8 kB / 334.6 MB, free: 11.99 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003383/0.138, allocations: 84.8 kB / 334.6 MB, free: 11.91 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003163/0.1384, allocations: 154.7 kB / 334.8 MB, free: 11.73 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005493/0.1389, allocations: 242.8 kB / 335 MB, free: 11.47 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.467e-06/0.1389, allocations: 0 / 335 MB, free: 11.47 MB / 286.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0007467/0.1397, allocations: 314.8 kB / 335.3 MB, free: 11.15 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.814e-05/0.1398, allocations: 33.69 kB / 335.4 MB, free: 11.11 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.897e-05/0.1398, allocations: 4 kB / 335.4 MB, free: 11.11 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.651e-05/0.1398, allocations: 7.938 kB / 335.4 MB, free: 11.1 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000284/0.1401, allocations: 55.89 kB / 335.4 MB, free: 11.04 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.276e-05/0.1401, allocations: 8.188 kB / 335.4 MB, free: 11.04 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002915/0.1404, allocations: 43.72 kB / 335.5 MB, free: 10.99 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.348e-05/0.1405, allocations: 4 kB / 335.5 MB, free: 10.99 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003364/0.1408, allocations: 172.1 kB / 335.7 MB, free: 10.82 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002697/0.1411, allocations: 134.8 kB / 335.8 MB, free: 10.66 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004965/0.1416, allocations: 227.5 kB / 336 MB, free: 10.41 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.52e-06/0.1416, allocations: 7.938 kB / 336 MB, free: 10.4 MB / 286.1 MB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0006599/0.1423, allocations: 289.9 kB / 336.3 MB, free: 10.11 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.904e-05/0.1423, allocations: 33.69 kB / 336.3 MB, free: 10.07 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.1423, allocations: 4 kB / 336.3 MB, free: 10.07 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.688e-06/0.1424, allocations: 0 / 336.3 MB, free: 10.07 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002185/0.1426, allocations: 55.91 kB / 336.4 MB, free: 10.01 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/0.1426, allocations: 0 / 336.4 MB, free: 10.01 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002531/0.1429, allocations: 40.06 kB / 336.4 MB, free: 9.973 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.859e-05/0.1429, allocations: 11.98 kB / 336.4 MB, free: 9.961 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.0001876/0.1431, allocations: 200.1 kB / 336.6 MB, free: 9.758 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.833e-05/0.1431, allocations: 15.81 kB / 336.7 MB, free: 9.742 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.991e-05/0.1432, allocations: 21.84 kB / 336.7 MB, free: 9.723 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.631e-05/0.1432, allocations: 7.984 kB / 336.7 MB, free: 9.715 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.015e-05/0.1432, allocations: 0 / 336.7 MB, free: 9.715 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/0.1433, allocations: 4 kB / 336.7 MB, free: 9.711 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003653/0.1436, allocations: 285.3 kB / 337 MB, free: 9.383 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.1436, allocations: 0 / 337 MB, free: 9.383 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002247/0.1439, allocations: 43.89 kB / 337 MB, free: 9.34 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.587e-06/0.1439, allocations: 0 / 337 MB, free: 9.34 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.742e-05/0.1439, allocations: 8 kB / 337 MB, free: 9.332 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.1439, allocations: 0 / 337 MB, free: 9.332 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.34e-06/0.1439, allocations: 0 / 337 MB, free: 9.332 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009372/0.1449, allocations: 345.1 kB / 337.4 MB, free: 8.977 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.537e-05/0.145, allocations: 104.8 kB / 337.5 MB, free: 8.855 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.466e-05/0.145, allocations: 8.062 kB / 337.5 MB, free: 8.848 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002019/0.1452, allocations: 23.97 kB / 337.5 MB, free: 8.824 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.426e-05/0.1453, allocations: 19.97 kB / 337.5 MB, free: 8.805 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.525e-05/0.1454, allocations: 4 kB / 337.5 MB, free: 8.801 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001784/0.1455, allocations: 172.5 kB / 337.7 MB, free: 8.633 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1456, allocations: 0 / 337.7 MB, free: 8.633 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004437/0.146, allocations: 99.75 kB / 337.8 MB, free: 8.535 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.0001603/0.1462, allocations: 107.1 kB / 337.9 MB, free: 8.422 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001074/0.1473, allocations: 434.8 kB / 338.3 MB, free: 7.973 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.1473, allocations: 0 / 338.3 MB, free: 7.973 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002784/0.1476, allocations: 91.92 kB / 338.4 MB, free: 7.883 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003479/0.1479, allocations: 36.36 kB / 338.4 MB, free: 7.848 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001132/0.1491, allocations: 0.5539 MB / 339 MB, free: 7.266 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003862/0.1495, allocations: 0.7404 MB / 339.7 MB, free: 6.5 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001394/0.1496, allocations: 25.94 kB / 339.8 MB, free: 6.477 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.938e-05/0.1497, allocations: 19.44 kB / 339.8 MB, free: 6.457 MB / 286.1 MB Notification: Performance of SimCode: time 5.71e-07/0.1497, allocations: 3.938 kB / 339.8 MB, free: 6.453 MB / 286.1 MB Notification: Performance of Templates: time 0.006762/0.1565, allocations: 2.724 MB / 342.5 MB, free: 3.734 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)