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.001058/0.001058, allocations: 86.41 kB / 15.06 MB, free: 1.09 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.001074/0.001074, allocations: 168.7 kB / 15.95 MB, free: 204 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.723/1.723, allocations: 205.4 MB / 222.1 MB, free: 5.641 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.0005031/0.0005034, allocations: 12 kB / 278.9 MB, free: 12.8 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3079/0.3084, allocations: 47.59 MB / 326.5 MB, free: 1.395 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LowPass): time 0.003395/0.3118, allocations: 2.403 MB / 328.9 MB, free: 15.5 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.00175/0.3136, allocations: 0.7172 MB / 329.6 MB, free: 14.91 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001831/0.3138, allocations: 3.312 kB / 329.6 MB, free: 14.91 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001613/0.314, allocations: 32.45 kB / 329.6 MB, free: 14.88 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002139/0.3142, allocations: 84.58 kB / 329.7 MB, free: 14.81 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003209/0.3146, allocations: 71.67 kB / 329.8 MB, free: 14.75 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004332/0.315, allocations: 349.4 kB / 330.1 MB, free: 14.54 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002348/0.3153, allocations: 77.55 kB / 330.2 MB, free: 14.5 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000269/0.3155, allocations: 126.1 kB / 330.3 MB, free: 14.43 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002544/0.3158, allocations: 142.5 kB / 330.5 MB, free: 14.33 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 5.512e-05/0.3159, allocations: 17.41 kB / 330.5 MB, free: 14.33 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.522e-05/0.3159, allocations: 16.22 kB / 330.5 MB, free: 14.33 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 6.713e-05/0.316, allocations: 54.78 kB / 330.6 MB, free: 14.29 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001038/0.3161, allocations: 76.58 kB / 330.6 MB, free: 14.23 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000336/0.3165, allocations: 258.2 kB / 330.9 MB, free: 14.04 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.753e-06/0.3165, allocations: 0 / 330.9 MB, free: 14.04 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.3165, allocations: 0 / 330.9 MB, free: 14.04 MB / 270.1 MB Notification: Performance of Transformations before backend: time 8.816e-06/0.3165, allocations: 1.188 kB / 330.9 MB, free: 14.04 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.001368/0.3179, allocations: 0.6402 MB / 331.5 MB, free: 13.48 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.602e-05/0.3179, allocations: 18.5 kB / 331.6 MB, free: 13.47 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.973e-05/0.318, allocations: 31.44 kB / 331.6 MB, free: 13.45 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004011/0.3184, allocations: 270.7 kB / 331.8 MB, free: 13.18 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.448e-05/0.3185, allocations: 17.84 kB / 331.9 MB, free: 13.17 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.47e-05/0.3185, allocations: 22.5 kB / 331.9 MB, free: 13.16 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007004/0.3193, allocations: 280.3 kB / 332.2 MB, free: 13 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.105e-05/0.3193, allocations: 0 / 332.2 MB, free: 13 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.343e-05/0.3193, allocations: 10.94 kB / 332.2 MB, free: 12.99 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.307e-05/0.3193, allocations: 5.344 kB / 332.2 MB, free: 12.99 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008386/0.3202, allocations: 308.9 kB / 332.5 MB, free: 12.86 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001707/0.3219, allocations: 0.9109 MB / 333.4 MB, free: 12.12 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009005/0.3228, allocations: 392.3 kB / 333.8 MB, free: 11.88 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003804/0.3232, allocations: 147 kB / 333.9 MB, free: 11.81 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.125e-05/0.3232, allocations: 2.281 kB / 333.9 MB, free: 11.81 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005466/0.3238, allocations: 199.8 kB / 334.1 MB, free: 11.64 MB / 270.1 MB Notification: Performance of pre-optimization done (n=18): time 2.224e-06/0.3238, allocations: 3.938 kB / 334.1 MB, free: 11.63 MB / 270.1 MB Notification: Performance of matching and sorting (n=18): time 0.001875/0.3257, allocations: 0.697 MB / 334.8 MB, free: 10.91 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001004/0.3258, allocations: 110.8 kB / 334.9 MB, free: 10.78 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003363/0.3262, allocations: 266.5 kB / 335.2 MB, free: 10.51 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 3.413e-05/0.3262, allocations: 33.7 kB / 335.2 MB, free: 10.47 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001696/0.3264, allocations: 172 kB / 335.4 MB, free: 10.3 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.329e-05/0.3265, allocations: 59.11 kB / 335.4 MB, free: 10.24 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.888e-05/0.3265, allocations: 8 kB / 335.4 MB, free: 10.23 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.000189/0.3267, allocations: 342.8 kB / 335.8 MB, free: 9.887 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003187/0.327, allocations: 116.1 kB / 335.9 MB, free: 9.773 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000379/0.3274, allocations: 188.9 kB / 336.1 MB, free: 9.562 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003847/0.3278, allocations: 149.8 kB / 336.2 MB, free: 9.41 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.586e-06/0.3278, allocations: 0 / 336.2 MB, free: 9.41 MB / 270.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001075/0.3289, allocations: 476.5 kB / 336.7 MB, free: 8.93 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001463/0.329, allocations: 164.1 kB / 336.9 MB, free: 8.738 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.017e-05/0.3291, allocations: 7.984 kB / 336.9 MB, free: 8.73 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002877/0.3293, allocations: 56.78 kB / 336.9 MB, free: 8.672 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002655/0.3296, allocations: 67.89 kB / 337 MB, free: 8.605 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001669/0.3313, allocations: 1.499 MB / 338.5 MB, free: 6.973 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003118/0.3316, allocations: 59.72 kB / 338.5 MB, free: 6.914 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.555e-05/0.3317, allocations: 12 kB / 338.6 MB, free: 6.902 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.193e-06/0.3317, allocations: 4 kB / 338.6 MB, free: 6.898 MB / 270.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000701/0.3324, allocations: 327 kB / 338.9 MB, free: 6.57 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.369e-06/0.3324, allocations: 4.188 kB / 338.9 MB, free: 6.566 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.027e-05/0.3325, allocations: 28.84 kB / 338.9 MB, free: 6.535 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000236/0.3327, allocations: 59.89 kB / 339 MB, free: 6.477 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009767/0.3337, allocations: 1.377 MB / 340.3 MB, free: 4.961 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002647/0.334, allocations: 47.72 kB / 340.4 MB, free: 4.914 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.855e-05/0.334, allocations: 16.08 kB / 340.4 MB, free: 4.898 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.0002006/0.3342, allocations: 217 kB / 340.6 MB, free: 4.676 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.741e-05/0.3343, allocations: 27.67 kB / 340.6 MB, free: 4.648 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.644e-05/0.3343, allocations: 30.17 kB / 340.7 MB, free: 4.625 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.3343, allocations: 0 / 340.7 MB, free: 4.625 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.3343, allocations: 4 kB / 340.7 MB, free: 4.621 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.3343, allocations: 0 / 340.7 MB, free: 4.621 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001268/0.3356, allocations: 0.7536 MB / 341.4 MB, free: 3.805 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.3356, allocations: 0 / 341.4 MB, free: 3.805 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002249/0.3359, allocations: 51.89 kB / 341.5 MB, free: 3.754 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001534/0.336, allocations: 56.86 kB / 341.5 MB, free: 3.695 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.543e-05/0.336, allocations: 0 / 341.5 MB, free: 3.695 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001441/0.3375, allocations: 1.507 MB / 343 MB, free: 2.055 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.3375, allocations: 3.938 kB / 343 MB, free: 2.051 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001102/0.3386, allocations: 0.573 MB / 343.6 MB, free: 1.457 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.42e-05/0.3387, allocations: 100.9 kB / 343.7 MB, free: 1.34 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.889e-05/0.3387, allocations: 11.95 kB / 343.7 MB, free: 1.328 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002445/0.339, allocations: 35.95 kB / 343.8 MB, free: 1.293 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.516e-05/0.3391, allocations: 24.03 kB / 343.8 MB, free: 1.27 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.772e-05/0.3391, allocations: 11.94 kB / 343.8 MB, free: 1.258 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0001882/0.3393, allocations: 194 kB / 344 MB, free: 1.07 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3393, allocations: 0 / 344 MB, free: 1.07 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0005692/0.3399, allocations: 127.7 kB / 344.1 MB, free: 0.9453 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.0001371/0.34, allocations: 103.2 kB / 344.2 MB, free: 0.8359 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.001297/0.3413, allocations: 0.7391 MB / 345 MB, free: 48 kB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.3413, allocations: 3.938 kB / 345 MB, free: 44 kB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004435/0.3418, allocations: 247 kB / 345.2 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.0004229/0.3422, allocations: 49.11 kB / 345.2 MB, free: 15.74 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001155/0.3434, allocations: 0.6791 MB / 345.9 MB, free: 15.04 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003441/0.3437, allocations: 0.756 MB / 346.7 MB, free: 14.25 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001526/0.3439, allocations: 34.28 kB / 346.7 MB, free: 14.21 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.302e-05/0.344, allocations: 19.44 kB / 346.7 MB, free: 14.2 MB / 286.1 MB Notification: Performance of SimCode: time 5.81e-07/0.344, allocations: 0 / 346.7 MB, free: 14.2 MB / 286.1 MB Notification: Performance of Templates: time 0.007652/0.3516, allocations: 3.741 MB / 350.5 MB, free: 10.45 MB / 286.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)