Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.1_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.1_Modelica.Electrical.Analog.Examples.OpAmps.HighPass") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.HighPass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.1_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.01079/0.01079, allocations: 100.1 kB / 15.73 MB, free: 6.008 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.001792/0.001793, allocations: 195.9 kB / 16.68 MB, free: 5.93 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.857/1.857, allocations: 205.1 MB / 222.5 MB, free: 4.535 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.001291/0.001291, allocations: 56.27 kB / 326.6 MB, free: 14.38 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1155/0.1168, allocations: 46.62 MB / 373.2 MB, free: 1.289 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.HighPass): time 0.004201/0.1211, allocations: 2.805 MB / 376 MB, free: 14.46 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001692/0.1228, allocations: 0.7602 MB / 376.8 MB, free: 13.7 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002224/0.123, allocations: 4 kB / 376.8 MB, free: 13.69 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002069/0.1233, allocations: 43.52 kB / 376.8 MB, free: 13.65 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002604/0.1236, allocations: 99.16 kB / 376.9 MB, free: 13.55 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004409/0.124, allocations: 99.8 kB / 377 MB, free: 13.45 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000501/0.1245, allocations: 394.3 kB / 377.4 MB, free: 13.07 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002988/0.1248, allocations: 96.86 kB / 377.5 MB, free: 12.97 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002846/0.1251, allocations: 143.4 kB / 377.6 MB, free: 12.83 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002537/0.1254, allocations: 171.2 kB / 377.8 MB, free: 12.66 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.07e-05/0.1255, allocations: 32 kB / 377.8 MB, free: 12.63 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.807e-05/0.1255, allocations: 35.94 kB / 377.9 MB, free: 12.6 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001029/0.1256, allocations: 71.73 kB / 377.9 MB, free: 12.53 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001946/0.1258, allocations: 163.2 kB / 378.1 MB, free: 12.37 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004999/0.1263, allocations: 350.8 kB / 378.4 MB, free: 12.02 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.502e-06/0.1264, allocations: 0 / 378.4 MB, free: 12.02 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.1264, allocations: 0 / 378.4 MB, free: 12.02 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.055e-06/0.1264, allocations: 0 / 378.4 MB, free: 12.02 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: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.001634/0.128, allocations: 0.6614 MB / 379.1 MB, free: 11.3 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.16e-05/0.1281, allocations: 12.03 kB / 379.1 MB, free: 11.29 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.976e-05/0.1282, allocations: 32.56 kB / 379.1 MB, free: 11.26 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005464/0.1288, allocations: 292.5 kB / 379.4 MB, free: 10.93 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.249e-05/0.1288, allocations: 20.94 kB / 379.4 MB, free: 10.91 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.887e-05/0.1289, allocations: 24.38 kB / 379.5 MB, free: 10.89 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000872/0.1297, allocations: 269.1 kB / 379.7 MB, free: 10.62 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.272e-05/0.1298, allocations: 0 / 379.7 MB, free: 10.62 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.156e-05/0.1298, allocations: 8 kB / 379.7 MB, free: 10.61 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.272e-05/0.1298, allocations: 7.984 kB / 379.8 MB, free: 10.61 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007872/0.1306, allocations: 270 kB / 380 MB, free: 10.34 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001819/0.1324, allocations: 0.9016 MB / 380.9 MB, free: 9.371 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009056/0.1334, allocations: 238.5 kB / 381.1 MB, free: 9.129 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003891/0.1338, allocations: 112.7 kB / 381.3 MB, free: 9.016 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.511e-05/0.1338, allocations: 0 / 381.3 MB, free: 9.016 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000538/0.1344, allocations: 181.8 kB / 381.4 MB, free: 8.816 MB / 318.1 MB Notification: Performance of pre-optimization done (n=16): time 4.348e-06/0.1344, allocations: 0 / 381.4 MB, free: 8.816 MB / 318.1 MB Notification: Performance of matching and sorting (n=16): time 0.002491/0.1369, allocations: 0.6197 MB / 382.1 MB, free: 8.168 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001242/0.137, allocations: 110.8 kB / 382.2 MB, free: 8.035 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004251/0.1375, allocations: 266.6 kB / 382.4 MB, free: 7.766 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 5.712e-05/0.1375, allocations: 29.7 kB / 382.5 MB, free: 7.73 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001853/0.1377, allocations: 179.8 kB / 382.6 MB, free: 7.547 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.744e-05/0.1378, allocations: 55.25 kB / 382.7 MB, free: 7.492 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001082/0.1379, allocations: 45.7 kB / 382.7 MB, free: 7.441 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0002122/0.1382, allocations: 334.8 kB / 383.1 MB, free: 7.105 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003741/0.1385, allocations: 105 kB / 383.2 MB, free: 7 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003977/0.1389, allocations: 164 kB / 383.3 MB, free: 6.812 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007332/0.1397, allocations: 267.5 kB / 383.6 MB, free: 6.523 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.829e-06/0.1397, allocations: 0 / 383.6 MB, free: 6.523 MB / 318.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.001305/0.141, allocations: 439.5 kB / 384 MB, free: 6.078 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.22e-05/0.1411, allocations: 34.8 kB / 384 MB, free: 6.039 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.207e-05/0.1411, allocations: 0 / 384 MB, free: 6.039 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006195/0.1418, allocations: 120.7 kB / 384.2 MB, free: 5.918 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002361/0.142, allocations: 47.84 kB / 384.2 MB, free: 5.871 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00273/0.1448, allocations: 1.884 MB / 386.1 MB, free: 3.852 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003797/0.1452, allocations: 55.75 kB / 386.1 MB, free: 3.797 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.852e-05/0.1452, allocations: 12 kB / 386.2 MB, free: 3.785 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003698/0.1456, allocations: 184.3 kB / 386.3 MB, free: 3.602 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004035/0.146, allocations: 148.1 kB / 386.5 MB, free: 3.43 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005732/0.1466, allocations: 243.5 kB / 386.7 MB, free: 3.164 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.308e-06/0.1466, allocations: 3.984 kB / 386.7 MB, free: 3.16 MB / 318.1 MB Notification: Performance of matching and sorting (n=27) (initialization_lambda0): time 0.0009753/0.1476, allocations: 355.7 kB / 387.1 MB, free: 2.797 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.208e-05/0.1476, allocations: 33.7 kB / 387.1 MB, free: 2.758 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.935e-06/0.1477, allocations: 4 kB / 387.1 MB, free: 2.754 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001767/0.1478, allocations: 40.83 kB / 387.1 MB, free: 2.711 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002153/0.1481, allocations: 43.91 kB / 387.2 MB, free: 2.668 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0017/0.1498, allocations: 1.725 MB / 388.9 MB, free: 0.8047 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003358/0.1501, allocations: 43.81 kB / 389 MB, free: 0.7617 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.864e-05/0.1502, allocations: 8 kB / 389 MB, free: 0.7539 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 (21): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0002084/0.1504, allocations: 200.1 kB / 389.2 MB, free: 0.5508 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.214e-05/0.1504, allocations: 23.72 kB / 389.2 MB, free: 0.5273 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.532e-05/0.1505, allocations: 30.23 kB / 389.2 MB, free: 0.5 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-06/0.1505, allocations: 4 kB / 389.2 MB, free: 0.4961 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.1505, allocations: 0 / 389.2 MB, free: 0.4961 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.033e-06/0.1505, allocations: 3.984 kB / 389.2 MB, free: 0.4922 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003604/0.1509, allocations: 313.3 kB / 389.5 MB, free: 140 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.1509, allocations: 0 / 389.5 MB, free: 140 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001902/0.1511, allocations: 27.97 kB / 389.6 MB, free: 112 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002322/0.1514, allocations: 68.81 kB / 389.6 MB, free: 40 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.933e-05/0.1514, allocations: 3.984 kB / 389.6 MB, free: 36 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002076/0.1535, allocations: 1.711 MB / 391.3 MB, free: 14.18 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.1535, allocations: 0 / 391.3 MB, free: 14.18 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001288/0.1548, allocations: 441.4 kB / 391.8 MB, free: 13.73 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001449/0.1549, allocations: 100.8 kB / 391.9 MB, free: 13.61 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.003e-05/0.155, allocations: 8 kB / 391.9 MB, free: 13.6 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002586/0.1552, allocations: 36 kB / 391.9 MB, free: 13.57 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001336/0.1554, allocations: 19.92 kB / 391.9 MB, free: 13.55 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.178e-05/0.1554, allocations: 11.98 kB / 391.9 MB, free: 13.54 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0003175/0.1557, allocations: 190 kB / 392.1 MB, free: 13.35 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1558, allocations: 3.938 kB / 392.1 MB, free: 13.35 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0007123/0.1565, allocations: 135.7 kB / 392.3 MB, free: 13.21 MB / 334.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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002707/0.1568, allocations: 115.1 kB / 392.4 MB, free: 13.09 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001828/0.1586, allocations: 0.7187 MB / 393.1 MB, free: 12.32 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/0.1586, allocations: 4 kB / 393.1 MB, free: 12.32 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005073/0.1591, allocations: 230.6 kB / 393.3 MB, free: 12.08 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005267/0.1597, allocations: 60.75 kB / 393.4 MB, free: 12.02 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001559/0.1612, allocations: 0.5264 MB / 393.9 MB, free: 11.47 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003982/0.1617, allocations: 0.7559 MB / 394.7 MB, free: 10.69 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001409/0.1618, allocations: 26.28 kB / 394.7 MB, free: 10.66 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.827e-05/0.1619, allocations: 23.44 kB / 394.7 MB, free: 10.64 MB / 334.1 MB Notification: Performance of SimCode: time 3.176e-06/0.1619, allocations: 0 / 394.7 MB, free: 10.64 MB / 334.1 MB Notification: Performance of Templates: time 0.0097/0.1716, allocations: 4.548 MB / 399.3 MB, free: 6.078 MB / 334.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.makefile (rm -f Modelica_3.1_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe ; mkfifo Modelica_3.1_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe >> ../files/Modelica_3.1_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.sim & ./Modelica_3.1_Modelica.Electrical.Analog.Examples.OpAmps.HighPass -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe 2>&1)