Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.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.2.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.2.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.01227/0.01227, allocations: 102.9 kB / 15.74 MB, free: 6.039 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.002283/0.002283, allocations: 201.1 kB / 16.68 MB, free: 5.965 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.819/1.819, allocations: 205.1 MB / 222.5 MB, free: 4.523 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.00127/0.00127, allocations: 50.5 kB / 326.6 MB, free: 14.33 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1213/0.1225, allocations: 46.62 MB / 373.2 MB, free: 1.301 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LowPass): time 0.004408/0.127, allocations: 2.816 MB / 376 MB, free: 14.46 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001458/0.1285, allocations: 0.7563 MB / 376.8 MB, free: 13.7 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001628/0.1287, allocations: 7.938 kB / 376.8 MB, free: 13.69 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001828/0.1289, allocations: 43.58 kB / 376.8 MB, free: 13.65 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00021/0.1291, allocations: 103.2 kB / 376.9 MB, free: 13.55 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003198/0.1294, allocations: 103.7 kB / 377 MB, free: 13.45 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004416/0.1299, allocations: 394.3 kB / 377.4 MB, free: 13.06 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002276/0.1301, allocations: 100.9 kB / 377.5 MB, free: 12.96 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000235/0.1303, allocations: 151.4 kB / 377.7 MB, free: 12.81 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001973/0.1306, allocations: 163.2 kB / 377.8 MB, free: 12.65 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.129e-05/0.1306, allocations: 32 kB / 377.8 MB, free: 12.62 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.801e-05/0.1307, allocations: 36 kB / 377.9 MB, free: 12.59 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.524e-05/0.1308, allocations: 75.69 kB / 378 MB, free: 12.51 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001724/0.1309, allocations: 155.2 kB / 378.1 MB, free: 12.36 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004192/0.1314, allocations: 354.6 kB / 378.5 MB, free: 12.01 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.638e-06/0.1314, allocations: 0 / 378.5 MB, free: 12.01 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.864e-06/0.1314, allocations: 0 / 378.5 MB, free: 12.01 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.721e-06/0.1314, allocations: 0 / 378.5 MB, free: 12.01 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.001384/0.1328, allocations: 0.6767 MB / 379.1 MB, free: 11.28 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.18e-05/0.1328, allocations: 11.97 kB / 379.1 MB, free: 11.27 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.364e-05/0.1329, allocations: 40.7 kB / 379.2 MB, free: 11.23 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004354/0.1334, allocations: 292.7 kB / 379.5 MB, free: 10.9 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.071e-05/0.1334, allocations: 16.94 kB / 379.5 MB, free: 10.88 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.26e-05/0.1335, allocations: 24.38 kB / 379.5 MB, free: 10.86 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006319/0.1341, allocations: 269.1 kB / 379.8 MB, free: 10.59 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.157e-05/0.1341, allocations: 0 / 379.8 MB, free: 10.59 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.863e-05/0.1342, allocations: 4 kB / 379.8 MB, free: 10.59 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.578e-06/0.1342, allocations: 12 kB / 379.8 MB, free: 10.57 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008128/0.135, allocations: 270 kB / 380 MB, free: 10.31 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001616/0.1366, allocations: 0.8793 MB / 380.9 MB, free: 9.367 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000846/0.1375, allocations: 347.8 kB / 381.3 MB, free: 9 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003739/0.1379, allocations: 128.8 kB / 381.4 MB, free: 8.871 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.028e-05/0.1379, allocations: 11.97 kB / 381.4 MB, free: 8.859 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004595/0.1384, allocations: 197.6 kB / 381.6 MB, free: 8.645 MB / 318.1 MB Notification: Performance of pre-optimization done (n=18): time 1.473e-06/0.1384, allocations: 0 / 381.6 MB, free: 8.645 MB / 318.1 MB Notification: Performance of matching and sorting (n=18): time 0.001836/0.1402, allocations: 0.5771 MB / 382.2 MB, free: 8.039 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.318e-05/0.1403, allocations: 114.8 kB / 382.3 MB, free: 7.902 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002773/0.1406, allocations: 266.6 kB / 382.5 MB, free: 7.633 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.717e-05/0.1406, allocations: 29.7 kB / 382.6 MB, free: 7.598 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001293/0.1408, allocations: 180.3 kB / 382.8 MB, free: 7.418 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.295e-05/0.1408, allocations: 63.44 kB / 382.8 MB, free: 7.355 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001135/0.1409, allocations: 45.94 kB / 382.9 MB, free: 7.305 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001609/0.1411, allocations: 342.8 kB / 383.2 MB, free: 6.961 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003292/0.1414, allocations: 101.5 kB / 383.3 MB, free: 6.859 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003497/0.1418, allocations: 168.1 kB / 383.5 MB, free: 6.668 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000642/0.1425, allocations: 283.3 kB / 383.7 MB, free: 6.363 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.539e-06/0.1425, allocations: 4 kB / 383.7 MB, free: 6.359 MB / 318.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001069/0.1435, allocations: 415.8 kB / 384.1 MB, free: 5.938 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.166e-05/0.1436, allocations: 33.7 kB / 384.2 MB, free: 5.898 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.083e-05/0.1436, allocations: 7.984 kB / 384.2 MB, free: 5.891 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004694/0.1441, allocations: 96.73 kB / 384.3 MB, free: 5.793 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002594/0.1444, allocations: 51.95 kB / 384.3 MB, free: 5.742 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001902/0.1463, allocations: 1.562 MB / 385.9 MB, free: 4.039 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000317/0.1466, allocations: 51.83 kB / 385.9 MB, free: 3.988 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.402e-05/0.1466, allocations: 11.94 kB / 386 MB, free: 3.977 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003924/0.147, allocations: 196.3 kB / 386.1 MB, free: 3.781 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000321/0.1474, allocations: 164.3 kB / 386.3 MB, free: 3.594 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005634/0.148, allocations: 259.2 kB / 386.6 MB, free: 3.312 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.066e-06/0.148, allocations: 3.984 kB / 386.6 MB, free: 3.309 MB / 318.1 MB Notification: Performance of matching and sorting (n=29) (initialization_lambda0): time 0.0007999/0.1488, allocations: 343.7 kB / 386.9 MB, free: 2.957 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.25e-05/0.1488, allocations: 37.69 kB / 386.9 MB, free: 2.914 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.795e-06/0.1488, allocations: 0 / 386.9 MB, free: 2.914 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.554e-05/0.1489, allocations: 29.03 kB / 387 MB, free: 2.883 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002447/0.1492, allocations: 63.89 kB / 387 MB, free: 2.82 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001222/0.1504, allocations: 1.536 MB / 388.6 MB, free: 1.148 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003/0.1507, allocations: 43.86 kB / 388.6 MB, free: 1.105 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.01e-05/0.1507, allocations: 12 kB / 388.6 MB, free: 1.094 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.000168/0.1509, allocations: 200.2 kB / 388.8 MB, free: 0.8906 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.443e-05/0.151, allocations: 27.8 kB / 388.8 MB, free: 0.8633 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.632e-05/0.151, allocations: 30.17 kB / 388.9 MB, free: 0.8281 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.151, allocations: 0 / 388.9 MB, free: 0.8281 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.151, allocations: 0 / 388.9 MB, free: 0.8281 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.891e-06/0.151, allocations: 3.984 kB / 388.9 MB, free: 0.8242 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001357/0.1524, allocations: 0.7028 MB / 389.6 MB, free: 60 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/0.1524, allocations: 3.984 kB / 389.6 MB, free: 56 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002273/0.1527, allocations: 47.94 kB / 389.6 MB, free: 8 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001984/0.1529, allocations: 44.81 kB / 389.7 MB, free: 15.96 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.116e-05/0.1529, allocations: 8 kB / 389.7 MB, free: 15.95 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001607/0.1545, allocations: 1.559 MB / 391.2 MB, free: 14.26 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.1545, allocations: 0 / 391.2 MB, free: 14.26 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001236/0.1558, allocations: 0.5054 MB / 391.7 MB, free: 13.73 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001231/0.1559, allocations: 104.9 kB / 391.8 MB, free: 13.61 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.752e-05/0.156, allocations: 8.062 kB / 391.9 MB, free: 13.6 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002711/0.1562, allocations: 35.91 kB / 391.9 MB, free: 13.57 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.807e-05/0.1563, allocations: 19.97 kB / 391.9 MB, free: 13.55 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.354e-05/0.1563, allocations: 4 kB / 391.9 MB, free: 13.54 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002199/0.1566, allocations: 201.9 kB / 392.1 MB, free: 13.34 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1566, allocations: 0 / 392.1 MB, free: 13.34 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005707/0.1572, allocations: 131.7 kB / 392.2 MB, free: 13.21 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.0001573/0.1573, allocations: 107.2 kB / 392.3 MB, free: 13.1 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001415/0.1587, allocations: 0.7069 MB / 393 MB, free: 12.34 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.736e-06/0.1588, allocations: 0 / 393 MB, free: 12.34 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000468/0.1592, allocations: 239 kB / 393.3 MB, free: 12.09 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004179/0.1597, allocations: 52.67 kB / 393.3 MB, free: 12.04 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00121/0.1609, allocations: 0.5488 MB / 393.9 MB, free: 11.47 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003872/0.1613, allocations: 0.7559 MB / 394.6 MB, free: 10.69 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001367/0.1614, allocations: 34.27 kB / 394.7 MB, free: 10.66 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.573e-05/0.1615, allocations: 27.44 kB / 394.7 MB, free: 10.63 MB / 334.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1615, allocations: 0 / 394.7 MB, free: 10.63 MB / 334.1 MB Notification: Performance of Templates: time 0.009118/0.1706, allocations: 4.276 MB / 399 MB, free: 6.348 MB / 334.1 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.sim & ./Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.LowPass -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe 2>&1)