Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.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.SignalGenerator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001246/0.001246, allocations: 88.53 kB / 16.31 MB, free: 6.449 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.001293/0.001293, allocations: 183 kB / 17.21 MB, free: 6.316 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.876/1.876, allocations: 205.4 MB / 223.4 MB, free: 5.289 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.0008263/0.0008265, allocations: 12 kB / 280.2 MB, free: 12.68 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2808/0.2816, allocations: 47.59 MB / 327.7 MB, free: 1.441 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator): time 0.002421/0.2841, allocations: 2.482 MB / 330.2 MB, free: 15.48 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001165/0.2853, allocations: 0.7506 MB / 331 MB, free: 14.86 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001393/0.2854, allocations: 5.219 kB / 331 MB, free: 14.86 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001386/0.2856, allocations: 46.2 kB / 331 MB, free: 14.82 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001646/0.2858, allocations: 85.75 kB / 331.1 MB, free: 14.75 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002323/0.286, allocations: 86.17 kB / 331.2 MB, free: 14.68 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.000374/0.2864, allocations: 380.6 kB / 331.6 MB, free: 14.45 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002144/0.2866, allocations: 93.41 kB / 331.7 MB, free: 14.39 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001445/0.2868, allocations: 119.9 kB / 331.8 MB, free: 14.33 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001794/0.287, allocations: 149.2 kB / 331.9 MB, free: 14.23 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.845e-05/0.287, allocations: 17.97 kB / 331.9 MB, free: 14.23 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.837e-05/0.2871, allocations: 18.31 kB / 332 MB, free: 14.23 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 5.22e-05/0.2871, allocations: 60.08 kB / 332 MB, free: 14.18 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 6.716e-05/0.2872, allocations: 87.25 kB / 332.1 MB, free: 14.12 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002369/0.2874, allocations: 272.1 kB / 332.4 MB, free: 13.91 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.2874, allocations: 0.9062 kB / 332.4 MB, free: 13.91 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.2874, allocations: 0 / 332.4 MB, free: 13.91 MB / 270.1 MB Notification: Performance of Transformations before backend: time 6.141e-06/0.2875, allocations: 0.9688 kB / 332.4 MB, free: 13.91 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: 75 * Number of variables: 75 Notification: Performance of Generate backend data structure: time 0.0008267/0.2883, allocations: 0.5898 MB / 333 MB, free: 13.4 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.044e-05/0.2883, allocations: 8.969 kB / 333 MB, free: 13.4 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.473e-05/0.2884, allocations: 38 kB / 333 MB, free: 13.38 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003123/0.2887, allocations: 283.7 kB / 333.3 MB, free: 13.09 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.705e-05/0.2888, allocations: 21.53 kB / 333.3 MB, free: 13.09 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.577e-05/0.2888, allocations: 27.41 kB / 333.3 MB, free: 13.08 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006057/0.2894, allocations: 312.5 kB / 333.6 MB, free: 12.9 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.166e-05/0.2894, allocations: 3.984 kB / 333.6 MB, free: 12.89 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.226e-05/0.2895, allocations: 14.31 kB / 333.7 MB, free: 12.88 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.949e-06/0.2895, allocations: 8.094 kB / 333.7 MB, free: 12.88 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006579/0.2902, allocations: 305.4 kB / 334 MB, free: 12.75 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001802/0.292, allocations: 1.104 MB / 335.1 MB, free: 11.87 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007973/0.2928, allocations: 325.6 kB / 335.4 MB, free: 11.64 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003781/0.2932, allocations: 168.8 kB / 335.5 MB, free: 11.47 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.975e-05/0.2932, allocations: 4 kB / 335.5 MB, free: 11.47 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.345e-05/0.2932, allocations: 38.5 kB / 335.6 MB, free: 11.42 MB / 270.1 MB Notification: Performance of pre-optimization done (n=20): time 1.182e-06/0.2933, allocations: 0 / 335.6 MB, free: 11.42 MB / 270.1 MB Notification: Performance of matching and sorting (n=20): time 0.002247/0.2955, allocations: 0.915 MB / 336.5 MB, free: 10.46 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.036e-05/0.2956, allocations: 55.41 kB / 336.6 MB, free: 10.39 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002606/0.2958, allocations: 270.6 kB / 336.8 MB, free: 10.11 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 2.062e-05/0.2959, allocations: 29.7 kB / 336.8 MB, free: 10.08 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001374/0.296, allocations: 207.8 kB / 337.1 MB, free: 9.871 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.665e-05/0.2961, allocations: 67 kB / 337.1 MB, free: 9.805 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.17e-05/0.2961, allocations: 8 kB / 337.1 MB, free: 9.797 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001352/0.2962, allocations: 338.8 kB / 337.5 MB, free: 9.457 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002239/0.2965, allocations: 91.95 kB / 337.5 MB, free: 9.367 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002717/0.2967, allocations: 184.3 kB / 337.7 MB, free: 9.148 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002497/0.297, allocations: 119.9 kB / 337.8 MB, free: 9.031 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/0.297, allocations: 0 / 337.8 MB, free: 9.031 MB / 270.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001195/0.2982, allocations: 0.5455 MB / 338.4 MB, free: 8.473 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001162/0.2983, allocations: 175.5 kB / 338.6 MB, free: 8.258 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.202e-06/0.2983, allocations: 4 kB / 338.6 MB, free: 8.254 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004907/0.2988, allocations: 149.6 kB / 338.7 MB, free: 8.102 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000191/0.299, allocations: 51.92 kB / 338.8 MB, free: 8.051 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004287/0.3033, allocations: 3.443 MB / 342.2 MB, free: 4.34 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003031/0.3037, allocations: 47.58 kB / 342.2 MB, free: 4.293 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.898e-05/0.3037, allocations: 20.06 kB / 342.3 MB, free: 4.273 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.145e-06/0.3037, allocations: 4 kB / 342.3 MB, free: 4.27 MB / 270.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004659/0.3042, allocations: 253.4 kB / 342.5 MB, free: 4.016 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/0.3042, allocations: 8.031 kB / 342.5 MB, free: 4.008 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001346/0.3044, allocations: 53.62 kB / 342.6 MB, free: 3.949 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002003/0.3046, allocations: 59.91 kB / 342.6 MB, free: 3.891 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001862/0.3064, allocations: 2.692 MB / 345.3 MB, free: 0.9336 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001795/0.3066, allocations: 23.75 kB / 345.4 MB, free: 0.9102 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.538e-05/0.3067, allocations: 12 kB / 345.4 MB, free: 0.8984 MB / 270.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 5,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0002072/0.3069, allocations: 229 kB / 345.6 MB, free: 0.6641 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.194e-05/0.307, allocations: 27.67 kB / 345.6 MB, free: 0.6367 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.278e-05/0.307, allocations: 26.19 kB / 345.6 MB, free: 0.6055 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.307, allocations: 0 / 345.6 MB, free: 0.6055 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.3071, allocations: 7.984 kB / 345.7 MB, free: 0.5977 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.222e-06/0.3071, allocations: 4.062 kB / 345.7 MB, free: 0.5938 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001466/0.3085, allocations: 0.8201 MB / 346.5 MB, free: 15.71 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.228e-06/0.3086, allocations: 7.938 kB / 346.5 MB, free: 15.7 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001219/0.3087, allocations: 23.98 kB / 346.5 MB, free: 15.68 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004141/0.3091, allocations: 145.6 kB / 346.6 MB, free: 15.53 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.706e-05/0.3091, allocations: 4 kB / 346.7 MB, free: 15.53 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003991/0.3131, allocations: 3.411 MB / 350.1 MB, free: 11.86 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.537e-06/0.3132, allocations: 3.984 kB / 350.1 MB, free: 11.85 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001226/0.3144, allocations: 0.6104 MB / 350.7 MB, free: 11.22 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001344/0.3145, allocations: 100.8 kB / 350.8 MB, free: 11.1 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.576e-05/0.3146, allocations: 8 kB / 350.8 MB, free: 11.09 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002156/0.3148, allocations: 39.97 kB / 350.8 MB, free: 11.05 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.727e-05/0.3149, allocations: 19.91 kB / 350.8 MB, free: 11.04 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.557e-05/0.3149, allocations: 8 kB / 350.8 MB, free: 11.03 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0002106/0.3151, allocations: 186 kB / 351 MB, free: 10.85 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.3151, allocations: 0 / 351 MB, free: 10.85 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0007474/0.3159, allocations: 159.6 kB / 351.2 MB, free: 10.69 MB / 286.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 5,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.000137/0.316, allocations: 99.25 kB / 351.3 MB, free: 10.58 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001517/0.3175, allocations: 0.8938 MB / 352.2 MB, free: 9.637 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.3176, allocations: 4.188 kB / 352.2 MB, free: 9.633 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007588/0.3183, allocations: 433.1 kB / 352.6 MB, free: 9.184 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005037/0.3188, allocations: 55.36 kB / 352.7 MB, free: 9.133 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001456/0.3203, allocations: 0.7122 MB / 353.4 MB, free: 8.398 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004898/0.3208, allocations: 0.7684 MB / 354.1 MB, free: 7.605 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.000164/0.321, allocations: 26.97 kB / 354.2 MB, free: 7.578 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.557e-05/0.3211, allocations: 23.38 kB / 354.2 MB, free: 7.555 MB / 286.1 MB Notification: Performance of SimCode: time 1.273e-06/0.3211, allocations: 7.938 kB / 354.2 MB, free: 7.547 MB / 286.1 MB Notification: Performance of Templates: time 0.01002/0.3311, allocations: 4.049 MB / 358.2 MB, free: 3.492 MB / 286.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.sim & ./Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.pipe 2>&1)