Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.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.HighPass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.HighPass") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.HighPass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.HighPass") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001185/0.001184, allocations: 92.53 kB / 16.3 MB, free: 5.625 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.001353/0.001353, allocations: 182.8 kB / 17.2 MB, free: 5.559 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.816/1.816, allocations: 205.4 MB / 223.3 MB, free: 13.18 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.000489/0.0004891, allocations: 12 kB / 280.1 MB, free: 3.746 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1224/0.1229, allocations: 47.58 MB / 327.7 MB, free: 4.098 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.HighPass): time 0.003157/0.1261, allocations: 2.287 MB / 330 MB, free: 1.793 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001442/0.1276, allocations: 0.7299 MB / 330.7 MB, free: 1.055 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000156/0.1278, allocations: 7.938 kB / 330.7 MB, free: 1.047 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 8.042e-05/0.1279, allocations: 27.77 kB / 330.8 MB, free: 1.02 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002824/0.1282, allocations: 115.7 kB / 330.9 MB, free: 0.9062 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002993/0.1285, allocations: 71.86 kB / 330.9 MB, free: 0.8359 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003498/0.1288, allocations: 251.4 kB / 331.2 MB, free: 0.5898 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002258/0.1291, allocations: 81.03 kB / 331.3 MB, free: 0.5156 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002271/0.1293, allocations: 119.5 kB / 331.4 MB, free: 408 kB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001981/0.1295, allocations: 147.3 kB / 331.5 MB, free: 260 kB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 4.35e-05/0.1296, allocations: 20 kB / 331.5 MB, free: 240 kB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.128e-05/0.1296, allocations: 16 kB / 331.6 MB, free: 224 kB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 5.421e-05/0.1297, allocations: 47.81 kB / 331.6 MB, free: 176 kB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001011/0.1298, allocations: 77.58 kB / 331.7 MB, free: 92 kB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003336/0.1301, allocations: 259.4 kB / 331.9 MB, free: 15.84 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.1301, allocations: 3.938 kB / 331.9 MB, free: 15.83 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.735e-06/0.1302, allocations: 0 / 331.9 MB, free: 15.83 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.945e-06/0.1302, allocations: 0 / 331.9 MB, free: 15.83 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: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.001349/0.1315, allocations: 0.634 MB / 332.6 MB, free: 15.14 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.603e-05/0.1316, allocations: 11.97 kB / 332.6 MB, free: 15.13 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.412e-05/0.1317, allocations: 31.62 kB / 332.6 MB, free: 15.1 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003751/0.1321, allocations: 283.5 kB / 332.9 MB, free: 14.78 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.657e-05/0.1321, allocations: 12.56 kB / 332.9 MB, free: 14.77 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.692e-05/0.1321, allocations: 24 kB / 332.9 MB, free: 14.74 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000636/0.1328, allocations: 276.8 kB / 333.2 MB, free: 14.46 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.246e-05/0.1328, allocations: 0 / 333.2 MB, free: 14.46 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.586e-05/0.1329, allocations: 19.92 kB / 333.2 MB, free: 14.44 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.255e-06/0.1329, allocations: 4 kB / 333.2 MB, free: 14.44 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008002/0.1337, allocations: 302.1 kB / 333.5 MB, free: 14.14 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001583/0.1353, allocations: 0.9367 MB / 334.5 MB, free: 13.14 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008165/0.1361, allocations: 282.5 kB / 334.7 MB, free: 12.85 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.741e-05/0.1361, allocations: 0 / 334.7 MB, free: 12.85 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005482/0.1367, allocations: 197.5 kB / 334.9 MB, free: 12.64 MB / 286.1 MB Notification: Performance of pre-optimization done (n=16): time 1.773e-06/0.1367, allocations: 0 / 334.9 MB, free: 12.64 MB / 286.1 MB Notification: Performance of matching and sorting (n=16): time 0.002293/0.139, allocations: 0.745 MB / 335.7 MB, free: 11.87 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.802e-05/0.1391, allocations: 106.8 kB / 335.8 MB, free: 11.74 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003293/0.1394, allocations: 258.6 kB / 336 MB, free: 11.48 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.256e-05/0.1395, allocations: 33.7 kB / 336.1 MB, free: 11.44 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001342/0.1396, allocations: 179.8 kB / 336.2 MB, free: 11.26 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.878e-05/0.1397, allocations: 51.2 kB / 336.3 MB, free: 11.21 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.553e-05/0.1397, allocations: 8 kB / 336.3 MB, free: 11.2 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.000134/0.1398, allocations: 334.8 kB / 336.6 MB, free: 10.87 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003184/0.1402, allocations: 112.2 kB / 336.7 MB, free: 10.76 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003593/0.1405, allocations: 180.1 kB / 336.9 MB, free: 10.55 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003388/0.1409, allocations: 150.4 kB / 337.1 MB, free: 10.4 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.766e-06/0.1409, allocations: 0 / 337.1 MB, free: 10.4 MB / 286.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.00114/0.142, allocations: 482.1 kB / 337.5 MB, free: 9.918 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003287/0.1424, allocations: 0.6451 MB / 338.2 MB, free: 9.219 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.488e-06/0.1424, allocations: 4 kB / 338.2 MB, free: 9.215 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00034/0.1427, allocations: 68.81 kB / 338.2 MB, free: 9.145 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000216/0.143, allocations: 59.89 kB / 338.3 MB, free: 9.086 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002142/0.1451, allocations: 1.772 MB / 340.1 MB, free: 7.176 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003466/0.1455, allocations: 59.89 kB / 340.1 MB, free: 7.117 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.743e-05/0.1455, allocations: 12 kB / 340.1 MB, free: 7.105 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.115e-05/0.1455, allocations: 4 kB / 340.1 MB, free: 7.102 MB / 286.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007576/0.1463, allocations: 334.5 kB / 340.5 MB, free: 6.766 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.07e-06/0.1463, allocations: 4 kB / 340.5 MB, free: 6.762 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001006/0.1464, allocations: 41.02 kB / 340.5 MB, free: 6.719 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002058/0.1467, allocations: 59.78 kB / 340.6 MB, free: 6.66 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001326/0.148, allocations: 1.55 MB / 342.1 MB, free: 4.973 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003063/0.1483, allocations: 47.88 kB / 342.2 MB, free: 4.926 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.9e-05/0.1483, allocations: 12 kB / 342.2 MB, free: 4.914 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 ($whenCondition1,$PRE.vIn.signalSource.T_start,vIn.signalSource.T_start,$PRE.vIn.signalSource.count,vIn.signalSource.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of prepare postOptimizeDAE: time 0.0002317/0.1486, allocations: 209.1 kB / 342.4 MB, free: 4.699 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.639e-05/0.1486, allocations: 27.72 kB / 342.4 MB, free: 4.672 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.173e-05/0.1487, allocations: 30.12 kB / 342.4 MB, free: 4.641 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.1487, allocations: 0 / 342.4 MB, free: 4.641 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.995e-06/0.1487, allocations: 0 / 342.4 MB, free: 4.641 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.678e-06/0.1487, allocations: 4 kB / 342.4 MB, free: 4.637 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002884/0.149, allocations: 317.3 kB / 342.8 MB, free: 4.277 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.149, allocations: 4 kB / 342.8 MB, free: 4.273 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001838/0.1492, allocations: 31.97 kB / 342.8 MB, free: 4.242 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002265/0.1494, allocations: 76.75 kB / 342.9 MB, free: 4.164 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.576e-05/0.1495, allocations: 8 kB / 342.9 MB, free: 4.156 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001879/0.1514, allocations: 1.672 MB / 344.5 MB, free: 2.355 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.1514, allocations: 0 / 344.5 MB, free: 2.355 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001326/0.1527, allocations: 0.4935 MB / 345 MB, free: 1.84 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.81e-05/0.1528, allocations: 108.8 kB / 345.1 MB, free: 1.715 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.698e-05/0.1528, allocations: 4 kB / 345.1 MB, free: 1.711 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002333/0.1531, allocations: 31.97 kB / 345.2 MB, free: 1.68 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.137e-05/0.1532, allocations: 23.97 kB / 345.2 MB, free: 1.656 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.651e-05/0.1532, allocations: 16.05 kB / 345.2 MB, free: 1.641 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0002234/0.1534, allocations: 186 kB / 345.4 MB, free: 1.461 MB / 286.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.1535, allocations: 0 / 345.4 MB, free: 1.461 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0006357/0.1541, allocations: 139.6 kB / 345.5 MB, free: 1.324 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 (11): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001818/0.1543, allocations: 103.2 kB / 345.6 MB, free: 1.211 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001599/0.1559, allocations: 0.7479 MB / 346.4 MB, free: 424 kB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 7.514e-06/0.1559, allocations: 4 kB / 346.4 MB, free: 420 kB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005219/0.1564, allocations: 254.9 kB / 346.6 MB, free: 152 kB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003958/0.1568, allocations: 48.45 kB / 346.7 MB, free: 104 kB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001431/0.1583, allocations: 0.6477 MB / 347.3 MB, free: 15.43 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005061/0.1588, allocations: 0.7599 MB / 348.1 MB, free: 14.64 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.000167/0.159, allocations: 30.28 kB / 348.1 MB, free: 14.61 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.206e-05/0.1591, allocations: 19.44 kB / 348.1 MB, free: 14.59 MB / 302.1 MB Notification: Performance of SimCode: time 1.353e-06/0.1591, allocations: 0 / 348.1 MB, free: 14.59 MB / 302.1 MB Notification: Performance of Templates: time 0.009131/0.1682, allocations: 3.986 MB / 352.1 MB, free: 10.61 MB / 302.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.makefile Environment - environmentSimulation: (rm -f Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.sim & ./Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.HighPass -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe 2>&1) Environment - environmentSimulation: