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.01091/0.01091, allocations: 100.8 kB / 15.73 MB, free: 6.035 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.002199/0.002199, allocations: 197.9 kB / 16.68 MB, free: 5.953 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.769/1.769, allocations: 205.1 MB / 222.5 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.001145/0.001145, allocations: 50.64 kB / 326.6 MB, free: 14.36 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1086/0.1097, 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.004164/0.1139, allocations: 2.808 MB / 376 MB, free: 14.46 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001503/0.1155, allocations: 0.7602 MB / 376.8 MB, free: 13.69 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001695/0.1157, allocations: 7.938 kB / 376.8 MB, free: 13.68 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000176/0.1159, allocations: 47.56 kB / 376.8 MB, free: 13.64 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002286/0.1161, allocations: 103.1 kB / 376.9 MB, free: 13.54 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003327/0.1164, allocations: 99.8 kB / 377 MB, free: 13.44 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004678/0.1169, allocations: 390.3 kB / 377.4 MB, free: 13.05 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002416/0.1172, allocations: 104.9 kB / 377.5 MB, free: 12.95 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003168/0.1175, allocations: 155.4 kB / 377.7 MB, free: 12.8 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002326/0.1177, allocations: 163.2 kB / 377.8 MB, free: 12.64 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.765e-05/0.1178, allocations: 32 kB / 377.8 MB, free: 12.61 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.596e-05/0.1179, allocations: 32 kB / 377.9 MB, free: 12.58 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.633e-05/0.118, allocations: 71.75 kB / 378 MB, free: 12.51 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001721/0.1181, allocations: 159.1 kB / 378.1 MB, free: 12.35 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004305/0.1186, allocations: 358.8 kB / 378.5 MB, free: 12 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.201e-06/0.1186, allocations: 0 / 378.5 MB, free: 12 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.545e-06/0.1186, allocations: 0 / 378.5 MB, free: 12 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.516e-06/0.1186, allocations: 0 / 378.5 MB, free: 12 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.00145/0.1201, allocations: 0.6614 MB / 379.1 MB, free: 11.28 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.082e-05/0.1201, allocations: 8.031 kB / 379.1 MB, free: 11.27 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.518e-05/0.1202, allocations: 32.56 kB / 379.2 MB, free: 11.24 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004677/0.1207, allocations: 292.5 kB / 379.4 MB, free: 10.91 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.291e-05/0.1207, allocations: 36.81 kB / 379.5 MB, free: 10.88 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.956e-05/0.1208, allocations: 20.38 kB / 379.5 MB, free: 10.86 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006563/0.1215, allocations: 269.1 kB / 379.8 MB, free: 10.59 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.26e-05/0.1215, allocations: 0 / 379.8 MB, free: 10.59 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.198e-05/0.1215, allocations: 8 kB / 379.8 MB, free: 10.58 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.176e-05/0.1215, allocations: 4 kB / 379.8 MB, free: 10.58 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007363/0.1223, allocations: 274 kB / 380 MB, free: 10.31 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001614/0.1239, allocations: 0.8791 MB / 380.9 MB, free: 9.367 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008227/0.1247, allocations: 343.8 kB / 381.3 MB, free: 9.004 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000371/0.1251, allocations: 136.8 kB / 381.4 MB, free: 8.867 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.212e-05/0.1252, allocations: 0 / 381.4 MB, free: 8.867 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004884/0.1257, allocations: 197.6 kB / 381.6 MB, free: 8.652 MB / 318.1 MB Notification: Performance of pre-optimization done (n=18): time 1.853e-06/0.1257, allocations: 0 / 381.6 MB, free: 8.652 MB / 318.1 MB Notification: Performance of matching and sorting (n=18): time 0.001878/0.1276, allocations: 0.573 MB / 382.2 MB, free: 8.051 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001189/0.1277, allocations: 114.7 kB / 382.3 MB, free: 7.914 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003503/0.1281, allocations: 262.6 kB / 382.5 MB, free: 7.648 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.326e-05/0.1281, allocations: 33.7 kB / 382.6 MB, free: 7.609 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001748/0.1283, allocations: 175.9 kB / 382.7 MB, free: 7.434 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.402e-05/0.1283, allocations: 59.2 kB / 382.8 MB, free: 7.375 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001041/0.1285, allocations: 49.94 kB / 382.8 MB, free: 7.32 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001761/0.1286, allocations: 338.8 kB / 383.2 MB, free: 6.98 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003243/0.129, allocations: 109.5 kB / 383.3 MB, free: 6.871 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003376/0.1293, allocations: 164.1 kB / 383.4 MB, free: 6.684 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006259/0.13, allocations: 283.3 kB / 383.7 MB, free: 6.379 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.516e-06/0.13, allocations: 0 / 383.7 MB, free: 6.379 MB / 318.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001017/0.131, allocations: 423.6 kB / 384.1 MB, free: 5.949 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.987e-05/0.1311, allocations: 37.69 kB / 384.2 MB, free: 5.906 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.774e-06/0.1311, allocations: 0 / 384.2 MB, free: 5.906 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004546/0.1315, allocations: 104.7 kB / 384.3 MB, free: 5.801 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002657/0.1318, allocations: 59.89 kB / 384.3 MB, free: 5.742 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00177/0.1336, allocations: 1.551 MB / 385.9 MB, free: 4.051 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003047/0.1339, allocations: 51.69 kB / 385.9 MB, free: 4 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.426e-05/0.1339, allocations: 7.984 kB / 385.9 MB, free: 3.992 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003861/0.1343, allocations: 192.3 kB / 386.1 MB, free: 3.801 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002938/0.1346, allocations: 164.4 kB / 386.3 MB, free: 3.613 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000511/0.1352, allocations: 263.1 kB / 386.5 MB, free: 3.328 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.733e-06/0.1352, allocations: 0 / 386.5 MB, free: 3.328 MB / 318.1 MB Notification: Performance of matching and sorting (n=29) (initialization_lambda0): time 0.0007104/0.1359, allocations: 339.6 kB / 386.9 MB, free: 2.98 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.374e-05/0.1359, allocations: 33.7 kB / 386.9 MB, free: 2.941 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.384e-06/0.1359, allocations: 0 / 386.9 MB, free: 2.941 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.994e-05/0.136, allocations: 28.84 kB / 386.9 MB, free: 2.91 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002381/0.1363, allocations: 68.08 kB / 387 MB, free: 2.844 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00113/0.1374, allocations: 1.54 MB / 388.5 MB, free: 1.168 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002914/0.1377, allocations: 39.81 kB / 388.6 MB, free: 1.129 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.299e-05/0.1377, allocations: 12 kB / 388.6 MB, free: 1.117 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.0001945/0.1379, allocations: 204.2 kB / 388.8 MB, free: 0.9102 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.929e-05/0.138, allocations: 31.64 kB / 388.8 MB, free: 0.8789 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.452e-05/0.1381, allocations: 22.19 kB / 388.8 MB, free: 0.8516 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.357e-06/0.1381, allocations: 4 kB / 388.8 MB, free: 0.8477 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.934e-06/0.1381, allocations: 0 / 388.8 MB, free: 0.8477 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.211e-06/0.1381, allocations: 3.984 kB / 388.8 MB, free: 0.8438 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001369/0.1395, allocations: 0.7066 MB / 389.6 MB, free: 76 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.1395, allocations: 0 / 389.6 MB, free: 76 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002291/0.1397, allocations: 43.97 kB / 389.6 MB, free: 32 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002099/0.1399, allocations: 48.92 kB / 389.6 MB, free: 15.98 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.303e-05/0.14, allocations: 4 kB / 389.6 MB, free: 15.97 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001765/0.1417, allocations: 1.555 MB / 391.2 MB, free: 14.29 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.1418, allocations: 0 / 391.2 MB, free: 14.29 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0012/0.143, allocations: 0.5052 MB / 391.7 MB, free: 13.76 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000112/0.1431, allocations: 108.8 kB / 391.8 MB, free: 13.63 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.934e-05/0.1432, allocations: 8 kB / 391.8 MB, free: 13.62 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002663/0.1434, allocations: 36.02 kB / 391.9 MB, free: 13.59 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001049/0.1435, allocations: 15.98 kB / 391.9 MB, free: 13.57 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.979e-05/0.1436, allocations: 7.984 kB / 391.9 MB, free: 13.57 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002474/0.1438, allocations: 201.8 kB / 392.1 MB, free: 13.37 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1438, allocations: 0 / 392.1 MB, free: 13.37 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000659/0.1445, allocations: 131.7 kB / 392.2 MB, free: 13.24 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.0002156/0.1447, allocations: 107.2 kB / 392.3 MB, free: 13.12 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001501/0.1462, allocations: 0.6993 MB / 393 MB, free: 12.37 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.477e-06/0.1462, allocations: 0 / 393 MB, free: 12.37 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004319/0.1467, allocations: 234.6 kB / 393.2 MB, free: 12.13 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004446/0.1471, allocations: 56.83 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.001231/0.1484, allocations: 0.5494 MB / 393.8 MB, free: 11.5 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004014/0.1488, allocations: 0.7559 MB / 394.6 MB, free: 10.72 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001628/0.149, allocations: 30.28 kB / 394.6 MB, free: 10.69 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.208e-05/0.1491, allocations: 27.42 kB / 394.7 MB, free: 10.67 MB / 334.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1491, allocations: 0 / 394.7 MB, free: 10.67 MB / 334.1 MB Notification: Performance of Templates: time 0.01012/0.1592, allocations: 4.276 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)