Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.1_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.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.LowPass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Electrical.Analog.Examples.OpAmps.LowPass") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.LowPass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Electrical.Analog.Examples.OpAmps.LowPass") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01036/0.01036, allocations: 101.3 kB / 15.73 MB, free: 5.992 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.001991/0.001991, allocations: 198.8 kB / 16.68 MB, free: 5.918 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.097/2.097, allocations: 205.1 MB / 222.6 MB, free: 4.5 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.001199/0.001199, allocations: 47.09 kB / 326.6 MB, free: 14.4 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.116/0.1172, allocations: 46.62 MB / 373.2 MB, free: 1.289 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LowPass): time 0.005043/0.1223, allocations: 2.808 MB / 376 MB, free: 14.46 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002207/0.1245, allocations: 0.768 MB / 376.8 MB, free: 13.68 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002509/0.1248, allocations: 7.938 kB / 376.8 MB, free: 13.68 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000256/0.1251, allocations: 39.58 kB / 376.8 MB, free: 13.64 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000291/0.1254, allocations: 111.1 kB / 376.9 MB, free: 13.53 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004725/0.1259, allocations: 99.8 kB / 377 MB, free: 13.43 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005547/0.1264, allocations: 386.3 kB / 377.4 MB, free: 13.05 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003193/0.1268, allocations: 100.8 kB / 377.5 MB, free: 12.95 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003021/0.1271, allocations: 159.4 kB / 377.7 MB, free: 12.8 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002729/0.1274, allocations: 167.2 kB / 377.8 MB, free: 12.63 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.852e-05/0.1274, allocations: 32 kB / 377.9 MB, free: 12.6 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.744e-05/0.1275, allocations: 32 kB / 377.9 MB, free: 12.57 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001375/0.1277, allocations: 67.77 kB / 377.9 MB, free: 12.5 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002105/0.1279, allocations: 163.1 kB / 378.1 MB, free: 12.34 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005287/0.1284, allocations: 354.8 kB / 378.5 MB, free: 12 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.588e-06/0.1284, allocations: 4 kB / 378.5 MB, free: 11.99 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.725e-06/0.1284, allocations: 0 / 378.5 MB, free: 11.99 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.718e-05/0.1285, allocations: 0 / 378.5 MB, free: 11.99 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.001745/0.1302, allocations: 0.6653 MB / 379.1 MB, free: 11.27 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.594e-05/0.1303, allocations: 8.031 kB / 379.1 MB, free: 11.26 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001164/0.1304, allocations: 32.56 kB / 379.2 MB, free: 11.23 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006861/0.1311, allocations: 292.5 kB / 379.4 MB, free: 10.9 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.291e-05/0.1312, allocations: 16.88 kB / 379.5 MB, free: 10.89 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.883e-05/0.1312, allocations: 24.38 kB / 379.5 MB, free: 10.86 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006913/0.1319, allocations: 269.1 kB / 379.8 MB, free: 10.59 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.312e-05/0.132, allocations: 0 / 379.8 MB, free: 10.59 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.945e-05/0.132, allocations: 12 kB / 379.8 MB, free: 10.58 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.134e-05/0.132, allocations: 4 kB / 379.8 MB, free: 10.58 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008639/0.1329, allocations: 270 kB / 380 MB, free: 10.32 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001841/0.1347, allocations: 0.883 MB / 380.9 MB, free: 9.367 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009332/0.1357, allocations: 343.8 kB / 381.3 MB, free: 9.004 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003776/0.1361, allocations: 133.8 kB / 381.4 MB, free: 8.871 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.229e-05/0.1361, allocations: 0 / 381.4 MB, free: 8.871 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006262/0.1367, allocations: 197.6 kB / 381.6 MB, free: 8.656 MB / 318.1 MB Notification: Performance of pre-optimization done (n=18): time 1.623e-06/0.1368, allocations: 0 / 381.6 MB, free: 8.656 MB / 318.1 MB Notification: Performance of matching and sorting (n=18): time 0.002011/0.1388, allocations: 0.5808 MB / 382.2 MB, free: 8.047 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.615e-05/0.1389, allocations: 114.7 kB / 382.3 MB, free: 7.91 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002994/0.1392, allocations: 262.6 kB / 382.5 MB, free: 7.645 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.641e-05/0.1392, allocations: 33.7 kB / 382.6 MB, free: 7.605 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001343/0.1394, allocations: 175.9 kB / 382.7 MB, free: 7.43 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.398e-05/0.1394, allocations: 55.2 kB / 382.8 MB, free: 7.375 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.024e-05/0.1395, allocations: 49.94 kB / 382.8 MB, free: 7.32 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001746/0.1397, allocations: 338.8 kB / 383.2 MB, free: 6.98 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000323/0.14, allocations: 113.4 kB / 383.3 MB, free: 6.867 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003606/0.1404, allocations: 168.1 kB / 383.4 MB, free: 6.676 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006492/0.1411, allocations: 283.2 kB / 383.7 MB, free: 6.371 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.1411, allocations: 0 / 383.7 MB, free: 6.371 MB / 318.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001096/0.1422, allocations: 419.6 kB / 384.1 MB, free: 5.945 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.657e-05/0.1422, allocations: 33.7 kB / 384.2 MB, free: 5.906 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.928e-06/0.1423, allocations: 4 kB / 384.2 MB, free: 5.902 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004605/0.1427, allocations: 96.72 kB / 384.3 MB, free: 5.805 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002559/0.143, allocations: 59.89 kB / 384.3 MB, free: 5.746 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001827/0.1448, allocations: 1.555 MB / 385.9 MB, free: 4.051 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003111/0.1451, allocations: 51.69 kB / 385.9 MB, free: 4 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.114e-05/0.1452, allocations: 8.062 kB / 385.9 MB, free: 3.992 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003689/0.1456, allocations: 200.3 kB / 386.1 MB, free: 3.793 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003066/0.1459, allocations: 152.3 kB / 386.3 MB, free: 3.617 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005314/0.1464, allocations: 271.1 kB / 386.5 MB, free: 3.324 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.813e-06/0.1464, allocations: 0 / 386.5 MB, free: 3.324 MB / 318.1 MB Notification: Performance of matching and sorting (n=29) (initialization_lambda0): time 0.0007449/0.1472, allocations: 339.8 kB / 386.9 MB, free: 2.977 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.015e-05/0.1472, allocations: 37.69 kB / 386.9 MB, free: 2.934 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.1472, allocations: 3.984 kB / 386.9 MB, free: 2.93 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.554e-05/0.1473, allocations: 24.98 kB / 386.9 MB, free: 2.902 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002396/0.1475, allocations: 59.89 kB / 387 MB, free: 2.844 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00113/0.1487, allocations: 1.54 MB / 388.5 MB, free: 1.168 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003173/0.149, allocations: 47.94 kB / 388.6 MB, free: 1.121 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.864e-05/0.149, allocations: 8 kB / 388.6 MB, free: 1.113 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 (26): * Single equations (assignments): 24 * 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,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001836/0.1492, allocations: 200.3 kB / 388.8 MB, free: 0.9102 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.502e-05/0.1493, allocations: 27.66 kB / 388.8 MB, free: 0.8828 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.119e-05/0.1494, allocations: 26.17 kB / 388.8 MB, free: 0.8516 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/0.1494, allocations: 4 kB / 388.8 MB, free: 0.8477 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.1494, allocations: 0 / 388.8 MB, free: 0.8477 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/0.1494, allocations: 4 kB / 388.8 MB, free: 0.8438 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001262/0.1507, allocations: 0.7105 MB / 389.6 MB, free: 72 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.886e-06/0.1507, allocations: 0 / 389.6 MB, free: 72 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002161/0.1509, allocations: 43.95 kB / 389.6 MB, free: 28 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001858/0.1511, allocations: 48.91 kB / 389.6 MB, free: 15.98 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.223e-05/0.1511, allocations: 3.984 kB / 389.6 MB, free: 15.97 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001549/0.1527, allocations: 1.558 MB / 391.2 MB, free: 14.28 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.1527, allocations: 0 / 391.2 MB, free: 14.28 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001146/0.1539, allocations: 0.5052 MB / 391.7 MB, free: 13.75 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.551e-05/0.1539, allocations: 108.8 kB / 391.8 MB, free: 13.62 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.972e-05/0.154, allocations: 8 kB / 391.8 MB, free: 13.62 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002602/0.1543, allocations: 27.91 kB / 391.9 MB, free: 13.59 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.297e-05/0.1544, allocations: 23.97 kB / 391.9 MB, free: 13.57 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.514e-05/0.1544, allocations: 4 kB / 391.9 MB, free: 13.56 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001922/0.1546, allocations: 205.9 kB / 392.1 MB, free: 13.36 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1546, allocations: 0 / 392.1 MB, free: 13.36 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005599/0.1551, allocations: 131.7 kB / 392.2 MB, free: 13.23 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (16): * Single equations (assignments): 13 * 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,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001605/0.1553, allocations: 103.2 kB / 392.3 MB, free: 13.12 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001415/0.1567, allocations: 0.699 MB / 393 MB, free: 12.37 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.1568, allocations: 0.6875 kB / 393 MB, free: 12.37 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004396/0.1572, allocations: 242.7 kB / 393.2 MB, free: 12.12 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004225/0.1576, allocations: 48.59 kB / 393.3 MB, free: 12.07 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0012/0.1588, allocations: 0.5455 MB / 393.8 MB, free: 11.5 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003234/0.1592, allocations: 0.7598 MB / 394.6 MB, free: 10.71 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001318/0.1593, allocations: 34.27 kB / 394.6 MB, free: 10.68 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.263e-05/0.1594, allocations: 19.44 kB / 394.7 MB, free: 10.67 MB / 334.1 MB Notification: Performance of SimCode: time 4.31e-07/0.1594, allocations: 4 kB / 394.7 MB, free: 10.66 MB / 334.1 MB Notification: Performance of Templates: time 0.008263/0.1677, allocations: 4.272 MB / 398.9 MB, free: 6.383 MB / 334.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.makefile (rm -f Modelica_3.1_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe ; mkfifo Modelica_3.1_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe >> ../files/Modelica_3.1_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.sim & ./Modelica_3.1_Modelica.Electrical.Analog.Examples.OpAmps.LowPass -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe 2>&1)