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.001363/0.001363, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001607/0.001607, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.947/1.947, allocations: 205.4 MB / 222.1 MB, free: 5.648 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.0005294/0.0005297, allocations: 14.66 kB / 278.9 MB, free: 12.83 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3712/0.3718, allocations: 47.59 MB / 326.5 MB, free: 1.617 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LowPass): time 0.003473/0.3753, allocations: 2.283 MB / 328.7 MB, free: 15.83 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001765/0.3771, allocations: 0.7317 MB / 329.5 MB, free: 15.24 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000217/0.3774, allocations: 4.5 kB / 329.5 MB, free: 15.24 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 8.566e-05/0.3775, allocations: 30.88 kB / 329.5 MB, free: 15.21 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003245/0.3778, allocations: 120.8 kB / 329.6 MB, free: 15.11 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003823/0.3782, allocations: 67.75 kB / 329.7 MB, free: 15.05 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004216/0.3786, allocations: 255.6 kB / 329.9 MB, free: 14.89 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002449/0.3789, allocations: 77.41 kB / 330 MB, free: 14.85 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003101/0.3792, allocations: 131.4 kB / 330.1 MB, free: 14.77 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002839/0.3795, allocations: 140 kB / 330.3 MB, free: 14.68 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 6.409e-05/0.3796, allocations: 16.94 kB / 330.3 MB, free: 14.68 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.733e-05/0.3797, allocations: 15.97 kB / 330.3 MB, free: 14.68 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 7.037e-05/0.3798, allocations: 55.69 kB / 330.4 MB, free: 14.63 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001195/0.3799, allocations: 75.64 kB / 330.4 MB, free: 14.57 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004087/0.3803, allocations: 257.7 kB / 330.7 MB, free: 14.38 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.3803, allocations: 0 / 330.7 MB, free: 14.38 MB / 270.1 MB Notification: Performance of FrontEnd: time 4.118e-06/0.3803, allocations: 0 / 330.7 MB, free: 14.38 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.027e-05/0.3803, allocations: 1.188 kB / 330.7 MB, free: 14.38 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.001884/0.3822, allocations: 0.6405 MB / 331.3 MB, free: 13.82 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.893e-05/0.3823, allocations: 8.625 kB / 331.3 MB, free: 13.82 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001502/0.3825, allocations: 33.03 kB / 331.4 MB, free: 13.8 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000477/0.383, allocations: 277.2 kB / 331.6 MB, free: 13.52 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.919e-05/0.383, allocations: 18.27 kB / 331.7 MB, free: 13.52 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.828e-05/0.3831, allocations: 22.94 kB / 331.7 MB, free: 13.51 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008468/0.3839, allocations: 274.8 kB / 332 MB, free: 13.35 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.508e-05/0.384, allocations: 0 / 332 MB, free: 13.35 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.69e-05/0.384, allocations: 10.28 kB / 332 MB, free: 13.34 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.71e-05/0.384, allocations: 5.094 kB / 332 MB, free: 13.34 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009842/0.385, allocations: 309.4 kB / 332.3 MB, free: 13.21 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002157/0.3872, allocations: 0.9195 MB / 333.2 MB, free: 12.46 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001008/0.3882, allocations: 387.3 kB / 333.6 MB, free: 12.22 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.336e-05/0.3883, allocations: 2.188 kB / 333.6 MB, free: 12.22 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005777/0.3889, allocations: 201.8 kB / 333.8 MB, free: 12.07 MB / 270.1 MB Notification: Performance of pre-optimization done (n=18): time 2.195e-06/0.3889, allocations: 1.031 kB / 333.8 MB, free: 12.07 MB / 270.1 MB Notification: Performance of matching and sorting (n=18): time 0.001996/0.3909, allocations: 0.6946 MB / 334.5 MB, free: 11.39 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.861e-05/0.391, allocations: 102.8 kB / 334.6 MB, free: 11.27 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003336/0.3913, allocations: 266.6 kB / 334.8 MB, free: 11 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 3.874e-05/0.3914, allocations: 29.7 kB / 334.9 MB, free: 10.97 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001819/0.3916, allocations: 176 kB / 335 MB, free: 10.79 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.916e-05/0.3917, allocations: 71.09 kB / 335.1 MB, free: 10.72 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.198e-05/0.3917, allocations: 0 / 335.1 MB, free: 10.72 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0002188/0.3919, allocations: 342.8 kB / 335.4 MB, free: 10.38 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003439/0.3923, allocations: 120.1 kB / 335.6 MB, free: 10.26 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004025/0.3927, allocations: 181 kB / 335.7 MB, free: 10.05 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003903/0.3931, allocations: 145.8 kB / 335.9 MB, free: 9.906 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.476e-06/0.3931, allocations: 0 / 335.9 MB, free: 9.906 MB / 270.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.00129/0.3944, allocations: 484.6 kB / 336.3 MB, free: 9.418 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000531/0.3949, allocations: 0.6532 MB / 337 MB, free: 8.711 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.067e-06/0.3949, allocations: 0 / 337 MB, free: 8.711 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003221/0.3953, allocations: 52.78 kB / 337 MB, free: 8.656 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002886/0.3956, allocations: 75.89 kB / 337.1 MB, free: 8.582 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00211/0.3977, allocations: 1.515 MB / 338.6 MB, free: 6.934 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004498/0.3982, allocations: 59.81 kB / 338.7 MB, free: 6.875 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.808e-05/0.3982, allocations: 8 kB / 338.7 MB, free: 6.867 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.098e-05/0.3982, allocations: 4 kB / 338.7 MB, free: 6.863 MB / 270.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008622/0.3991, allocations: 331 kB / 339 MB, free: 6.531 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.677e-06/0.3991, allocations: 0 / 339 MB, free: 6.531 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.537e-05/0.3992, allocations: 29.03 kB / 339.1 MB, free: 6.5 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002821/0.3995, allocations: 63.89 kB / 339.1 MB, free: 6.438 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001543/0.4011, allocations: 1.385 MB / 340.5 MB, free: 4.914 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003954/0.4015, allocations: 51.83 kB / 340.6 MB, free: 4.863 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.701e-05/0.4015, allocations: 8.188 kB / 340.6 MB, free: 4.855 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.0003449/0.4019, allocations: 221 kB / 340.8 MB, free: 4.629 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.621e-05/0.4019, allocations: 27.67 kB / 340.8 MB, free: 4.602 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.423e-05/0.402, allocations: 34.17 kB / 340.8 MB, free: 4.574 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/0.402, allocations: 4 kB / 340.8 MB, free: 4.57 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.049e-06/0.402, allocations: 0 / 340.8 MB, free: 4.57 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.821e-06/0.402, allocations: 0 / 340.8 MB, free: 4.57 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001529/0.4036, allocations: 0.7535 MB / 341.6 MB, free: 3.754 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.4036, allocations: 0 / 341.6 MB, free: 3.754 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002606/0.4039, allocations: 51.95 kB / 341.6 MB, free: 3.703 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002012/0.4041, allocations: 56.8 kB / 341.7 MB, free: 3.645 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.535e-05/0.4041, allocations: 7.984 kB / 341.7 MB, free: 3.637 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001838/0.4059, allocations: 1.499 MB / 343.2 MB, free: 2.004 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.21e-06/0.406, allocations: 3.938 kB / 343.2 MB, free: 2 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001371/0.4073, allocations: 0.5904 MB / 343.8 MB, free: 1.383 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001536/0.4075, allocations: 104.8 kB / 343.9 MB, free: 1.262 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.591e-05/0.4076, allocations: 7.984 kB / 343.9 MB, free: 1.254 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002858/0.4079, allocations: 44.03 kB / 344 MB, free: 1.211 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.625e-05/0.408, allocations: 23.91 kB / 344 MB, free: 1.188 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.655e-05/0.408, allocations: 4 kB / 344 MB, free: 1.184 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0002108/0.4082, allocations: 194 kB / 344.2 MB, free: 0.9961 MB / 270.1 MB Notification: Performance of sort global known variables: time 4.1e-07/0.4082, allocations: 0 / 344.2 MB, free: 0.9961 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0006601/0.4089, allocations: 127.7 kB / 344.3 MB, free: 0.8711 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.0002094/0.4091, allocations: 107.2 kB / 344.4 MB, free: 0.7578 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.001805/0.4109, allocations: 0.743 MB / 345.1 MB, free: 15.96 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 5.039e-06/0.4109, allocations: 3.938 kB / 345.2 MB, free: 15.96 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005118/0.4115, allocations: 258.8 kB / 345.4 MB, free: 15.7 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004528/0.4119, allocations: 41.16 kB / 345.4 MB, free: 15.66 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001525/0.4135, allocations: 0.6673 MB / 346.1 MB, free: 14.96 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000457/0.4139, allocations: 0.7638 MB / 346.9 MB, free: 14.17 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001911/0.4141, allocations: 30.28 kB / 346.9 MB, free: 14.14 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.811e-05/0.4142, allocations: 23.42 kB / 346.9 MB, free: 14.11 MB / 286.1 MB Notification: Performance of SimCode: time 8.72e-07/0.4142, allocations: 0 / 346.9 MB, free: 14.11 MB / 286.1 MB Notification: Performance of Templates: time 0.008771/0.423, allocations: 3.71 MB / 350.6 MB, free: 10.4 MB / 286.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: