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.01183/0.01183, allocations: 95.39 kB / 15.73 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.001957/0.001958, allocations: 197.9 kB / 16.68 MB, free: 5.969 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.859/1.859, 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.001168/0.001168, allocations: 43.31 kB / 326.6 MB, free: 14.41 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1273/0.1285, allocations: 46.63 MB / 373.2 MB, free: 1.305 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LowPass): time 0.004198/0.1327, allocations: 2.809 MB / 376 MB, free: 14.48 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001569/0.1343, allocations: 0.7563 MB / 376.8 MB, free: 13.71 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001505/0.1345, allocations: 7.938 kB / 376.8 MB, free: 13.7 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001584/0.1347, allocations: 43.56 kB / 376.8 MB, free: 13.66 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002012/0.1349, allocations: 91.19 kB / 376.9 MB, free: 13.57 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003114/0.1352, allocations: 111.7 kB / 377 MB, free: 13.46 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004163/0.1356, allocations: 394.3 kB / 377.4 MB, free: 13.07 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002049/0.1359, allocations: 100.8 kB / 377.5 MB, free: 12.98 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002248/0.1361, allocations: 147.4 kB / 377.6 MB, free: 12.83 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002094/0.1363, allocations: 171.2 kB / 377.8 MB, free: 12.66 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.674e-05/0.1364, allocations: 36 kB / 377.8 MB, free: 12.63 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.649e-05/0.1364, allocations: 32 kB / 377.9 MB, free: 12.6 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.99e-05/0.1365, allocations: 67.69 kB / 377.9 MB, free: 12.53 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001658/0.1367, allocations: 167.1 kB / 378.1 MB, free: 12.37 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003789/0.1371, allocations: 354.6 kB / 378.5 MB, free: 12.02 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.1371, allocations: 0 / 378.5 MB, free: 12.02 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.1371, allocations: 0 / 378.5 MB, free: 12.02 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.632e-06/0.1371, allocations: 0 / 378.5 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.0013/0.1384, allocations: 0.6728 MB / 379.1 MB, free: 11.29 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.122e-05/0.1385, allocations: 16.03 kB / 379.1 MB, free: 11.27 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.789e-05/0.1385, allocations: 40.64 kB / 379.2 MB, free: 11.23 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004076/0.139, allocations: 284.7 kB / 379.5 MB, free: 10.91 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.916e-05/0.139, allocations: 12.94 kB / 379.5 MB, free: 10.9 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.934e-05/0.139, allocations: 28.31 kB / 379.5 MB, free: 10.88 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006406/0.1397, allocations: 273.1 kB / 379.8 MB, free: 10.6 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.211e-05/0.1397, allocations: 0 / 379.8 MB, free: 10.6 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.668e-05/0.1397, allocations: 8 kB / 379.8 MB, free: 10.59 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.865e-06/0.1398, allocations: 8 kB / 379.8 MB, free: 10.59 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007604/0.1405, allocations: 270 kB / 380 MB, free: 10.32 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001591/0.1421, allocations: 0.8833 MB / 380.9 MB, free: 9.375 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008736/0.143, allocations: 352.8 kB / 381.3 MB, free: 9.004 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003688/0.1434, allocations: 124.8 kB / 381.4 MB, free: 8.879 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.112e-05/0.1434, allocations: 4 kB / 381.4 MB, free: 8.875 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004854/0.1439, allocations: 193.6 kB / 381.6 MB, free: 8.664 MB / 318.1 MB Notification: Performance of pre-optimization done (n=18): time 1.633e-06/0.1439, allocations: 0 / 381.6 MB, free: 8.664 MB / 318.1 MB Notification: Performance of matching and sorting (n=18): time 0.001881/0.1458, allocations: 0.5809 MB / 382.2 MB, free: 8.055 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.162e-05/0.1459, allocations: 106.8 kB / 382.3 MB, free: 7.926 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002844/0.1462, allocations: 270.6 kB / 382.5 MB, free: 7.652 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 9.289e-05/0.1463, allocations: 29.7 kB / 382.6 MB, free: 7.617 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001273/0.1464, allocations: 176.3 kB / 382.7 MB, free: 7.441 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.605e-05/0.1465, allocations: 71.42 kB / 382.8 MB, free: 7.371 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.923e-05/0.1466, allocations: 45.94 kB / 382.9 MB, free: 7.32 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001271/0.1467, allocations: 338.8 kB / 383.2 MB, free: 6.98 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003288/0.1471, allocations: 109.5 kB / 383.3 MB, free: 6.871 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003456/0.1474, allocations: 164.1 kB / 383.5 MB, free: 6.684 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000636/0.1481, allocations: 279.4 kB / 383.7 MB, free: 6.383 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.1481, allocations: 0 / 383.7 MB, free: 6.383 MB / 318.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001099/0.1492, allocations: 423.9 kB / 384.1 MB, free: 5.953 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.034e-05/0.1493, allocations: 37.64 kB / 384.2 MB, free: 5.91 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.888e-06/0.1493, allocations: 7.938 kB / 384.2 MB, free: 5.902 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004669/0.1498, allocations: 96.77 kB / 384.3 MB, free: 5.805 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002643/0.1501, allocations: 55.95 kB / 384.3 MB, free: 5.75 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001819/0.1519, allocations: 1.555 MB / 385.9 MB, free: 4.055 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003365/0.1522, allocations: 51.72 kB / 385.9 MB, free: 4.004 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.606e-05/0.1523, allocations: 15.94 kB / 386 MB, free: 3.988 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003807/0.1527, allocations: 196.4 kB / 386.1 MB, free: 3.793 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003081/0.153, allocations: 156.3 kB / 386.3 MB, free: 3.613 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005316/0.1535, allocations: 259.2 kB / 386.6 MB, free: 3.332 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.196e-06/0.1535, allocations: 0 / 386.6 MB, free: 3.332 MB / 318.1 MB Notification: Performance of matching and sorting (n=29) (initialization_lambda0): time 0.0008809/0.1544, allocations: 351.8 kB / 386.9 MB, free: 2.973 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.922e-05/0.1545, allocations: 33.7 kB / 386.9 MB, free: 2.934 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.567e-06/0.1545, allocations: 0 / 386.9 MB, free: 2.934 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.301e-05/0.1546, allocations: 24.84 kB / 387 MB, free: 2.906 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002379/0.1548, allocations: 59.89 kB / 387 MB, free: 2.848 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001105/0.1559, allocations: 1.548 MB / 388.6 MB, free: 1.164 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002993/0.1562, allocations: 47.95 kB / 388.6 MB, free: 1.117 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.115e-05/0.1563, allocations: 11.98 kB / 388.6 MB, free: 1.105 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.0001513/0.1564, allocations: 196.1 kB / 388.8 MB, free: 0.9062 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.54e-05/0.1565, allocations: 27.8 kB / 388.8 MB, free: 0.8789 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.305e-05/0.1566, allocations: 30.17 kB / 388.9 MB, free: 0.8438 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.1566, allocations: 0 / 388.9 MB, free: 0.8438 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.006e-06/0.1566, allocations: 0 / 388.9 MB, free: 0.8438 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.553e-06/0.1566, allocations: 4 kB / 388.9 MB, free: 0.8398 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001297/0.1579, allocations: 0.7144 MB / 389.6 MB, free: 64 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.777e-06/0.1579, allocations: 0 / 389.6 MB, free: 64 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002263/0.1581, allocations: 35.97 kB / 389.6 MB, free: 28 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002408/0.1584, allocations: 48.81 kB / 389.7 MB, free: 15.98 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.133e-05/0.1584, allocations: 4 kB / 389.7 MB, free: 15.97 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001989/0.1604, allocations: 1.555 MB / 391.2 MB, free: 14.28 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.1604, allocations: 0 / 391.2 MB, free: 14.28 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001325/0.1618, allocations: 0.5093 MB / 391.7 MB, free: 13.75 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001151/0.1619, allocations: 104.9 kB / 391.8 MB, free: 13.63 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.389e-05/0.1619, allocations: 7.984 kB / 391.8 MB, free: 13.62 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002661/0.1622, allocations: 27.97 kB / 391.9 MB, free: 13.59 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001061/0.1623, allocations: 23.97 kB / 391.9 MB, free: 13.57 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.115e-05/0.1624, allocations: 11.94 kB / 391.9 MB, free: 13.56 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002366/0.1626, allocations: 198 kB / 392.1 MB, free: 13.36 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1626, allocations: 0 / 392.1 MB, free: 13.36 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0007018/0.1633, allocations: 135.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.0002266/0.1636, allocations: 111.1 kB / 392.3 MB, free: 13.11 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.00157/0.1651, allocations: 0.6991 MB / 393 MB, free: 12.36 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.1652, allocations: 0 / 393 MB, free: 12.36 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004474/0.1656, allocations: 251.1 kB / 393.3 MB, free: 12.1 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004364/0.1661, allocations: 36.55 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.001346/0.1674, allocations: 0.5567 MB / 393.9 MB, free: 11.48 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006465/0.1681, allocations: 0.7598 MB / 394.6 MB, free: 10.7 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001661/0.1682, allocations: 30.28 kB / 394.7 MB, free: 10.67 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.293e-05/0.1683, allocations: 23.44 kB / 394.7 MB, free: 10.65 MB / 334.1 MB Notification: Performance of SimCode: time 1.072e-06/0.1683, allocations: 0 / 394.7 MB, free: 10.65 MB / 334.1 MB Notification: Performance of Templates: time 0.01108/0.1794, allocations: 4.287 MB / 399 MB, free: 6.355 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)