Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.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.HighPass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.HighPass") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.HighPass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.HighPass") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009649/0.0009648, allocations: 91.53 kB / 15.06 MB, free: 1.098 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.0008943/0.0008946, allocations: 172.7 kB / 15.95 MB, free: 208 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.673/1.673, allocations: 205.4 MB / 222.1 MB, free: 5.652 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.0004764/0.0004766, allocations: 15.98 kB / 278.9 MB, free: 12.8 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2814/0.2819, allocations: 47.58 MB / 326.5 MB, free: 1.379 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.HighPass): time 0.002425/0.2844, allocations: 2.394 MB / 328.9 MB, free: 15.49 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001127/0.2855, allocations: 0.7182 MB / 329.6 MB, free: 14.9 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001192/0.2856, allocations: 7.688 kB / 329.6 MB, free: 14.9 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001185/0.2858, allocations: 32.08 kB / 329.6 MB, free: 14.87 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001634/0.2859, allocations: 88.95 kB / 329.7 MB, free: 14.79 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002398/0.2862, allocations: 72.05 kB / 329.8 MB, free: 14.73 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003794/0.2866, allocations: 352.3 kB / 330.1 MB, free: 14.52 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001792/0.2868, allocations: 72.8 kB / 330.2 MB, free: 14.48 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002014/0.287, allocations: 125.9 kB / 330.3 MB, free: 14.41 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001841/0.2872, allocations: 139 kB / 330.5 MB, free: 14.32 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 4.059e-05/0.2872, allocations: 17.41 kB / 330.5 MB, free: 14.32 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.546e-05/0.2873, allocations: 20.59 kB / 330.5 MB, free: 14.32 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 6.055e-05/0.2873, allocations: 54.86 kB / 330.6 MB, free: 14.27 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 9.098e-05/0.2874, allocations: 79.95 kB / 330.6 MB, free: 14.21 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002565/0.2877, allocations: 257.7 kB / 330.9 MB, free: 14.02 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.399e-06/0.2877, allocations: 0 / 330.9 MB, free: 14.02 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.253e-06/0.2877, allocations: 1.062 kB / 330.9 MB, free: 14.02 MB / 270.1 MB Notification: Performance of Transformations before backend: time 6.062e-06/0.2877, allocations: 0 / 330.9 MB, free: 14.02 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.001173/0.2889, allocations: 0.6327 MB / 331.5 MB, free: 13.46 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.522e-05/0.289, allocations: 10.28 kB / 331.5 MB, free: 13.46 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.939e-05/0.289, allocations: 35.48 kB / 331.6 MB, free: 13.45 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003772/0.2894, allocations: 274.9 kB / 331.8 MB, free: 13.17 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.559e-05/0.2895, allocations: 18.06 kB / 331.9 MB, free: 13.16 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.488e-05/0.2895, allocations: 18.19 kB / 331.9 MB, free: 13.16 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006516/0.2902, allocations: 279.2 kB / 332.1 MB, free: 12.99 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.12e-05/0.2902, allocations: 1.156 kB / 332.1 MB, free: 12.99 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.713e-05/0.2902, allocations: 13.28 kB / 332.2 MB, free: 12.98 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.685e-06/0.2902, allocations: 6 kB / 332.2 MB, free: 12.98 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007803/0.291, allocations: 307.9 kB / 332.5 MB, free: 12.85 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001701/0.2927, allocations: 0.9375 MB / 333.4 MB, free: 12.08 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008005/0.2935, allocations: 282.2 kB / 333.7 MB, free: 11.94 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003091/0.2939, allocations: 128.2 kB / 333.8 MB, free: 11.88 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.616e-05/0.2939, allocations: 2.062 kB / 333.8 MB, free: 11.88 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004775/0.2944, allocations: 196.7 kB / 334 MB, free: 11.74 MB / 270.1 MB Notification: Performance of pre-optimization done (n=16): time 1.633e-06/0.2944, allocations: 0 / 334 MB, free: 11.74 MB / 270.1 MB Notification: Performance of matching and sorting (n=16): time 0.002021/0.2964, allocations: 0.7416 MB / 334.7 MB, free: 10.98 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.858e-05/0.2965, allocations: 106.8 kB / 334.8 MB, free: 10.86 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002617/0.2968, allocations: 266.6 kB / 335.1 MB, free: 10.59 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 2.556e-05/0.2968, allocations: 29.7 kB / 335.1 MB, free: 10.55 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001198/0.2969, allocations: 183.8 kB / 335.3 MB, free: 10.37 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.849e-05/0.297, allocations: 55.2 kB / 335.4 MB, free: 10.32 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.346e-05/0.297, allocations: 4 kB / 335.4 MB, free: 10.31 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001433/0.2972, allocations: 334.8 kB / 335.7 MB, free: 9.977 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003706/0.2975, allocations: 112.2 kB / 335.8 MB, free: 9.867 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000345/0.2979, allocations: 180.8 kB / 336 MB, free: 9.664 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003092/0.2982, allocations: 150.4 kB / 336.1 MB, free: 9.512 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.2982, allocations: 0 / 336.1 MB, free: 9.512 MB / 270.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.001023/0.2993, allocations: 486.1 kB / 336.6 MB, free: 9.023 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000119/0.2994, allocations: 167.8 kB / 336.8 MB, free: 8.828 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.795e-06/0.2994, allocations: 0 / 336.8 MB, free: 8.828 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003187/0.2997, allocations: 68.81 kB / 336.8 MB, free: 8.758 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002211/0.3, allocations: 63.89 kB / 336.9 MB, free: 8.695 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002136/0.3021, allocations: 1.729 MB / 338.6 MB, free: 6.824 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003384/0.3025, allocations: 67.7 kB / 338.7 MB, free: 6.758 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.17e-05/0.3025, allocations: 4 kB / 338.7 MB, free: 6.754 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.644e-06/0.3025, allocations: 4 kB / 338.7 MB, free: 6.75 MB / 270.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007354/0.3032, allocations: 338.5 kB / 339 MB, free: 6.41 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.673e-06/0.3033, allocations: 384 / 339 MB, free: 6.41 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001019/0.3034, allocations: 52.77 kB / 339.1 MB, free: 6.355 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002096/0.3036, allocations: 47.91 kB / 339.1 MB, free: 6.309 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001363/0.305, allocations: 1.538 MB / 340.7 MB, free: 4.637 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002587/0.3052, allocations: 47.88 kB / 340.7 MB, free: 4.59 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.678e-05/0.3053, allocations: 8 kB / 340.7 MB, free: 4.582 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 (21): * Single equations (assignments): 19 * 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 5} Notification: Performance of prepare postOptimizeDAE: time 0.0001957/0.3055, allocations: 217.6 kB / 340.9 MB, free: 4.359 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.789e-05/0.3055, allocations: 27.7 kB / 341 MB, free: 4.332 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.397e-05/0.3056, allocations: 34.12 kB / 341 MB, free: 4.297 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.3056, allocations: 0 / 341 MB, free: 4.297 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.094e-06/0.3056, allocations: 3.938 kB / 341 MB, free: 4.293 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.3056, allocations: 4 kB / 341 MB, free: 4.289 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002974/0.3059, allocations: 305.4 kB / 341.3 MB, free: 3.941 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.3059, allocations: 4 kB / 341.3 MB, free: 3.938 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001771/0.3061, allocations: 32.16 kB / 341.3 MB, free: 3.906 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001949/0.3063, allocations: 84.73 kB / 341.4 MB, free: 3.82 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.729e-05/0.3063, allocations: 4 kB / 341.4 MB, free: 3.816 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001736/0.3081, allocations: 1.644 MB / 343.1 MB, free: 2.043 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.488e-06/0.3081, allocations: 0 / 343.1 MB, free: 2.043 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001162/0.3093, allocations: 0.4973 MB / 343.6 MB, free: 1.523 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.856e-05/0.3093, allocations: 96.86 kB / 343.7 MB, free: 1.41 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.775e-05/0.3094, allocations: 12.06 kB / 343.7 MB, free: 1.398 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002428/0.3096, allocations: 35.95 kB / 343.7 MB, free: 1.363 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.562e-05/0.3097, allocations: 19.97 kB / 343.7 MB, free: 1.344 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.465e-05/0.3097, allocations: 8 kB / 343.7 MB, free: 1.336 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0001782/0.3099, allocations: 194 kB / 343.9 MB, free: 1.148 MB / 270.1 MB Notification: Performance of sort global known variables: time 2.8e-07/0.3099, allocations: 0 / 343.9 MB, free: 1.148 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0005339/0.3105, allocations: 139.7 kB / 344.1 MB, free: 1.012 MB / 270.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (11): * Single equations (assignments): 8 * 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 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001478/0.3106, allocations: 99.25 kB / 344.2 MB, free: 0.9023 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.001362/0.312, allocations: 0.7548 MB / 344.9 MB, free: 100 kB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.312, allocations: 4 kB / 344.9 MB, free: 96 kB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004527/0.3125, allocations: 262.6 kB / 345.2 MB, free: 15.82 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003368/0.3128, allocations: 44.48 kB / 345.2 MB, free: 15.78 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00111/0.3139, allocations: 0.6394 MB / 345.9 MB, free: 15.11 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003543/0.3143, allocations: 0.7561 MB / 346.6 MB, free: 14.33 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001352/0.3144, allocations: 26.28 kB / 346.6 MB, free: 14.3 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.867e-05/0.3145, allocations: 19.44 kB / 346.7 MB, free: 14.29 MB / 286.1 MB Notification: Performance of SimCode: time 3.21e-07/0.3145, allocations: 0 / 346.7 MB, free: 14.29 MB / 286.1 MB Notification: Performance of Templates: time 0.007847/0.3224, allocations: 4.007 MB / 350.7 MB, free: 10.28 MB / 286.1 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.sim & ./Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.HighPass -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe 2>&1)