Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_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.2_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.2_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.00089/0.00089, allocations: 84.17 kB / 16.31 MB, free: 6.453 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.0009883/0.0009888, allocations: 176.3 kB / 17.21 MB, free: 6.328 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.708/1.708, allocations: 205.4 MB / 223.4 MB, free: 5.547 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.000582/0.0005822, allocations: 16 kB / 280.2 MB, free: 12.82 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3558/0.3564, allocations: 47.59 MB / 327.7 MB, free: 1.41 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LowPass): time 0.003005/0.3594, allocations: 2.394 MB / 330.1 MB, free: 15.52 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001305/0.3608, allocations: 0.7149 MB / 330.9 MB, free: 14.94 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001386/0.3609, allocations: 3.531 kB / 330.9 MB, free: 14.94 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001457/0.3611, allocations: 40.5 kB / 330.9 MB, free: 14.9 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001891/0.3613, allocations: 84.09 kB / 331 MB, free: 14.83 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003072/0.3616, allocations: 76.22 kB / 331.1 MB, free: 14.77 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005215/0.3621, allocations: 345.5 kB / 331.4 MB, free: 14.56 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003009/0.3624, allocations: 77.38 kB / 331.5 MB, free: 14.52 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003146/0.3628, allocations: 125.2 kB / 331.6 MB, free: 14.45 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000319/0.3631, allocations: 139.8 kB / 331.7 MB, free: 14.36 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 6.605e-05/0.3632, allocations: 16.06 kB / 331.7 MB, free: 14.36 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.757e-05/0.3633, allocations: 20.5 kB / 331.8 MB, free: 14.35 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 8.519e-05/0.3633, allocations: 55.5 kB / 331.8 MB, free: 14.3 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001254/0.3635, allocations: 75.92 kB / 331.9 MB, free: 14.25 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003544/0.3638, allocations: 257.8 kB / 332.1 MB, free: 14.06 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.763e-06/0.3639, allocations: 1.344 kB / 332.1 MB, free: 14.06 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.3639, allocations: 0 / 332.1 MB, free: 14.06 MB / 270.1 MB Notification: Performance of Transformations before backend: time 7.464e-06/0.3639, allocations: 0 / 332.1 MB, free: 14.06 MB / 270.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.001341/0.3652, allocations: 0.6409 MB / 332.8 MB, free: 13.5 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.669e-05/0.3653, allocations: 9.812 kB / 332.8 MB, free: 13.5 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.564e-05/0.3654, allocations: 36.12 kB / 332.8 MB, free: 13.48 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003719/0.3658, allocations: 274 kB / 333.1 MB, free: 13.2 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.382e-05/0.3658, allocations: 13.94 kB / 333.1 MB, free: 13.2 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.208e-05/0.3659, allocations: 24.47 kB / 333.1 MB, free: 13.19 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006747/0.3665, allocations: 278.9 kB / 333.4 MB, free: 13.02 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.034e-05/0.3666, allocations: 0 / 333.4 MB, free: 13.02 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.334e-05/0.3666, allocations: 14.8 kB / 333.4 MB, free: 13.01 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.028e-05/0.3666, allocations: 5.094 kB / 333.4 MB, free: 13.01 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000814/0.3674, allocations: 308 kB / 333.7 MB, free: 12.88 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001754/0.3692, allocations: 0.92 MB / 334.7 MB, free: 12.13 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009775/0.3702, allocations: 387.5 kB / 335 MB, free: 11.89 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003688/0.3706, allocations: 143.5 kB / 335.2 MB, free: 11.83 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.773e-05/0.3706, allocations: 2.25 kB / 335.2 MB, free: 11.83 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005237/0.3712, allocations: 202.8 kB / 335.4 MB, free: 11.64 MB / 270.1 MB Notification: Performance of pre-optimization done (n=18): time 1.493e-06/0.3712, allocations: 0 / 335.4 MB, free: 11.64 MB / 270.1 MB Notification: Performance of matching and sorting (n=18): time 0.00191/0.3731, allocations: 0.6969 MB / 336.1 MB, free: 10.92 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001197/0.3732, allocations: 106.8 kB / 336.2 MB, free: 10.79 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003876/0.3736, allocations: 266.5 kB / 336.4 MB, free: 10.52 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 4.23e-05/0.3737, allocations: 33.7 kB / 336.5 MB, free: 10.48 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001813/0.3739, allocations: 172.2 kB / 336.6 MB, free: 10.31 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.793e-05/0.3739, allocations: 67.05 kB / 336.7 MB, free: 10.24 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.256e-05/0.374, allocations: 4 kB / 336.7 MB, free: 10.24 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0002609/0.3742, allocations: 338.8 kB / 337 MB, free: 9.898 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003385/0.3746, allocations: 116.2 kB / 337.1 MB, free: 9.785 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003591/0.3749, allocations: 188.9 kB / 337.3 MB, free: 9.574 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003681/0.3753, allocations: 149.9 kB / 337.5 MB, free: 9.422 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.3753, allocations: 0 / 337.5 MB, free: 9.422 MB / 270.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001147/0.3765, allocations: 480.5 kB / 337.9 MB, free: 8.938 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001809/0.3767, allocations: 164.1 kB / 338.1 MB, free: 8.746 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.256e-05/0.3767, allocations: 0 / 338.1 MB, free: 8.746 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003733/0.3771, allocations: 72.77 kB / 338.2 MB, free: 8.672 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000278/0.3774, allocations: 63.89 kB / 338.2 MB, free: 8.609 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00215/0.3795, allocations: 1.499 MB / 339.7 MB, free: 6.977 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003592/0.3799, allocations: 63.7 kB / 339.8 MB, free: 6.914 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.992e-05/0.38, allocations: 8 kB / 339.8 MB, free: 6.906 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.767e-06/0.38, allocations: 4 kB / 339.8 MB, free: 6.902 MB / 270.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007796/0.3808, allocations: 323.2 kB / 340.1 MB, free: 6.578 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.3808, allocations: 8.031 kB / 340.1 MB, free: 6.57 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.995e-05/0.3809, allocations: 24.84 kB / 340.2 MB, free: 6.543 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002445/0.3811, allocations: 67.89 kB / 340.2 MB, free: 6.477 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001269/0.3824, allocations: 1.369 MB / 341.6 MB, free: 4.969 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003083/0.3827, allocations: 51.81 kB / 341.6 MB, free: 4.918 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.601e-05/0.3828, allocations: 12 kB / 341.7 MB, free: 4.906 MB / 270.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 ($whenCondition1,$PRE.vIn.signalSource.T_start,vIn.signalSource.T_start,$PRE.vIn.signalSource.count,vIn.signalSource.count) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0003245/0.3831, allocations: 217 kB / 341.9 MB, free: 4.684 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.292e-05/0.3832, allocations: 35.66 kB / 341.9 MB, free: 4.648 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.378e-05/0.3832, allocations: 22.28 kB / 341.9 MB, free: 4.633 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.515e-06/0.3832, allocations: 7.984 kB / 341.9 MB, free: 4.625 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.3832, allocations: 0 / 341.9 MB, free: 4.625 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.867e-06/0.3833, allocations: 3.984 kB / 341.9 MB, free: 4.621 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001451/0.3847, allocations: 0.7497 MB / 342.7 MB, free: 3.809 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.937e-06/0.3847, allocations: 4 kB / 342.7 MB, free: 3.805 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000234/0.385, allocations: 51.91 kB / 342.7 MB, free: 3.754 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001931/0.3852, allocations: 56.84 kB / 342.8 MB, free: 3.695 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.677e-05/0.3852, allocations: 4 kB / 342.8 MB, free: 3.691 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001993/0.3872, allocations: 1.491 MB / 344.3 MB, free: 2.066 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/0.3872, allocations: 0 / 344.3 MB, free: 2.066 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00125/0.3885, allocations: 0.577 MB / 344.9 MB, free: 1.469 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000109/0.3886, allocations: 96.81 kB / 345 MB, free: 1.355 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.664e-05/0.3887, allocations: 11.95 kB / 345 MB, free: 1.344 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002678/0.389, allocations: 40.03 kB / 345 MB, free: 1.305 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.871e-05/0.3891, allocations: 31.89 kB / 345 MB, free: 1.273 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.73e-05/0.3891, allocations: 7.938 kB / 345.1 MB, free: 1.266 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0002195/0.3893, allocations: 194 kB / 345.2 MB, free: 1.078 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3893, allocations: 0 / 345.2 MB, free: 1.078 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0006166/0.3899, allocations: 127.7 kB / 345.4 MB, free: 0.9531 MB / 270.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001871/0.3901, allocations: 103.4 kB / 345.5 MB, free: 0.8438 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.001657/0.3918, allocations: 0.7391 MB / 346.2 MB, free: 56 kB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 5.019e-06/0.3918, allocations: 0 / 346.2 MB, free: 56 kB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000465/0.3923, allocations: 254.9 kB / 346.5 MB, free: 15.79 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005245/0.3928, allocations: 41.16 kB / 346.5 MB, free: 15.75 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001377/0.3942, allocations: 0.6751 MB / 347.2 MB, free: 15.05 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004212/0.3946, allocations: 0.7637 MB / 347.9 MB, free: 14.26 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001869/0.3948, allocations: 30.28 kB / 348 MB, free: 14.23 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.619e-05/0.3949, allocations: 19.44 kB / 348 MB, free: 14.21 MB / 286.1 MB Notification: Performance of SimCode: time 6.31e-07/0.3949, allocations: 0 / 348 MB, free: 14.21 MB / 286.1 MB Notification: Performance of Templates: time 0.009428/0.4044, allocations: 3.741 MB / 351.7 MB, free: 10.46 MB / 286.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.sim & ./Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.LowPass -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe 2>&1)