Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_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.1_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.1_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.0009661/0.0009664, allocations: 90.36 kB / 15.36 MB, free: 0.7344 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.007862/0.007862, allocations: 170.3 kB / 16.26 MB, free: 6.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.163/2.163, allocations: 205.4 MB / 222.4 MB, free: 5.801 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.0005548/0.000555, allocations: 8 kB / 279.5 MB, free: 12.73 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.357/0.3576, allocations: 47.58 MB / 327 MB, free: 1.383 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator): time 0.003467/0.3611, allocations: 2.595 MB / 329.6 MB, free: 15.31 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001865/0.363, allocations: 0.767 MB / 330.4 MB, free: 14.68 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002097/0.3632, allocations: 4.906 kB / 330.4 MB, free: 14.68 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001559/0.3634, allocations: 50.36 kB / 330.5 MB, free: 14.64 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002513/0.3637, allocations: 85.28 kB / 330.5 MB, free: 14.56 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003577/0.364, allocations: 106.5 kB / 330.6 MB, free: 14.47 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005236/0.3646, allocations: 391.2 kB / 331 MB, free: 14.25 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000297/0.3649, allocations: 116 kB / 331.1 MB, free: 14.18 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002127/0.3651, allocations: 127.8 kB / 331.3 MB, free: 14.11 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002285/0.3653, allocations: 149.2 kB / 331.4 MB, free: 14 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 5.257e-05/0.3654, allocations: 17.41 kB / 331.4 MB, free: 14 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.808e-05/0.3655, allocations: 18.91 kB / 331.4 MB, free: 14 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 7.868e-05/0.3655, allocations: 59.5 kB / 331.5 MB, free: 13.95 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002285/0.3658, allocations: 179.3 kB / 331.7 MB, free: 13.82 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003896/0.3662, allocations: 346.7 kB / 332 MB, free: 13.57 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.615e-06/0.3662, allocations: 5.219 kB / 332 MB, free: 13.56 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.3662, allocations: 0 / 332 MB, free: 13.56 MB / 270.1 MB Notification: Performance of Transformations before backend: time 7.174e-06/0.3662, allocations: 0 / 332 MB, free: 13.56 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.001113/0.3673, allocations: 0.5984 MB / 332.6 MB, free: 13.04 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.112e-05/0.3674, allocations: 9.844 kB / 332.6 MB, free: 13.04 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.432e-05/0.3675, allocations: 39.16 kB / 332.7 MB, free: 13.02 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004331/0.368, allocations: 276.7 kB / 332.9 MB, free: 12.74 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.485e-05/0.368, allocations: 25.88 kB / 333 MB, free: 12.73 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.875e-05/0.3681, allocations: 27.72 kB / 333 MB, free: 12.72 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007672/0.3689, allocations: 314.9 kB / 333.3 MB, free: 12.54 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.267e-05/0.3689, allocations: 0 / 333.3 MB, free: 12.54 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.33e-05/0.3689, allocations: 11.72 kB / 333.3 MB, free: 12.53 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.091e-05/0.3689, allocations: 7.219 kB / 333.3 MB, free: 12.53 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007978/0.3697, allocations: 310.8 kB / 333.6 MB, free: 12.4 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002206/0.372, allocations: 1.11 MB / 334.7 MB, free: 11.51 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009917/0.373, allocations: 316.6 kB / 335 MB, free: 11.2 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000462/0.3735, allocations: 172.8 kB / 335.2 MB, free: 11.02 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.62e-05/0.3735, allocations: 7.984 kB / 335.2 MB, free: 11.02 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.372e-05/0.3736, allocations: 46.52 kB / 335.3 MB, free: 10.96 MB / 270.1 MB Notification: Performance of pre-optimization done (n=20): time 2.194e-06/0.3736, allocations: 0 / 335.3 MB, free: 10.96 MB / 270.1 MB Notification: Performance of matching and sorting (n=20): time 0.002874/0.3765, allocations: 0.9112 MB / 336.2 MB, free: 10 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.085e-05/0.3765, allocations: 55.36 kB / 336.2 MB, free: 9.934 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003618/0.3769, allocations: 274.5 kB / 336.5 MB, free: 9.656 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 4.08e-05/0.3769, allocations: 37.64 kB / 336.5 MB, free: 9.613 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001845/0.3771, allocations: 199.9 kB / 336.7 MB, free: 9.414 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.766e-05/0.3772, allocations: 71 kB / 336.8 MB, free: 9.344 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.377e-05/0.3773, allocations: 29.7 kB / 336.8 MB, free: 9.309 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001806/0.3775, allocations: 338.8 kB / 337.2 MB, free: 8.969 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002531/0.3777, allocations: 91.95 kB / 337.2 MB, free: 8.879 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003541/0.3781, allocations: 192.2 kB / 337.4 MB, free: 8.652 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006295/0.3788, allocations: 291 kB / 337.7 MB, free: 8.328 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.876e-06/0.3788, allocations: 0 / 337.7 MB, free: 8.328 MB / 270.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001399/0.3802, allocations: 0.5571 MB / 338.3 MB, free: 7.758 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001482/0.3803, allocations: 175.3 kB / 338.4 MB, free: 7.543 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.137e-05/0.3804, allocations: 8 kB / 338.5 MB, free: 7.535 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005442/0.3809, allocations: 129.6 kB / 338.6 MB, free: 7.402 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002063/0.3811, allocations: 55.92 kB / 338.6 MB, free: 7.348 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005235/0.3864, allocations: 3.451 MB / 342.1 MB, free: 3.629 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004116/0.3868, allocations: 51.73 kB / 342.1 MB, free: 3.578 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.411e-05/0.3869, allocations: 8 kB / 342.1 MB, free: 3.57 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.271e-05/0.3869, allocations: 4 kB / 342.1 MB, free: 3.566 MB / 270.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004972/0.3874, allocations: 269.4 kB / 342.4 MB, free: 3.297 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.672e-06/0.3874, allocations: 4 kB / 342.4 MB, free: 3.293 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001385/0.3875, allocations: 49.69 kB / 342.5 MB, free: 3.238 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001916/0.3877, allocations: 55.91 kB / 342.5 MB, free: 3.184 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00217/0.3899, allocations: 2.688 MB / 345.2 MB, free: 232 kB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002702/0.3902, allocations: 23.84 kB / 345.2 MB, free: 208 kB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.585e-05/0.3902, allocations: 11.94 kB / 345.2 MB, free: 196 kB / 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,5), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0003826/0.3906, allocations: 229.2 kB / 345.5 MB, free: 15.96 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.417e-05/0.3907, allocations: 31.61 kB / 345.5 MB, free: 15.93 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.971e-05/0.3908, allocations: 34.17 kB / 345.5 MB, free: 15.89 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/0.3908, allocations: 4 kB / 345.5 MB, free: 15.89 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.908e-06/0.3908, allocations: 0 / 345.5 MB, free: 15.89 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.417e-06/0.3908, allocations: 0 / 345.5 MB, free: 15.89 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001844/0.3927, allocations: 0.8277 MB / 346.4 MB, free: 15 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.275e-06/0.3927, allocations: 4 kB / 346.4 MB, free: 14.99 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001381/0.3928, allocations: 23.98 kB / 346.4 MB, free: 14.97 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005317/0.3934, allocations: 145.6 kB / 346.5 MB, free: 14.82 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.965e-05/0.3934, allocations: 4 kB / 346.5 MB, free: 14.82 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004833/0.3983, allocations: 3.419 MB / 350 MB, free: 11.14 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.576e-06/0.3983, allocations: 4 kB / 350 MB, free: 11.13 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001463/0.3998, allocations: 0.6138 MB / 350.6 MB, free: 10.5 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001407/0.3999, allocations: 100.7 kB / 350.7 MB, free: 10.38 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.232e-05/0.4, allocations: 12.06 kB / 350.7 MB, free: 10.37 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000241/0.4002, allocations: 27.97 kB / 350.7 MB, free: 10.34 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001306/0.4004, allocations: 23.91 kB / 350.7 MB, free: 10.32 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.82e-05/0.4004, allocations: 8 kB / 350.7 MB, free: 10.31 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0002353/0.4006, allocations: 186 kB / 350.9 MB, free: 10.12 MB / 286.1 MB Notification: Performance of sort global known variables: time 2e-07/0.4006, allocations: 4 kB / 350.9 MB, free: 10.12 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0008355/0.4015, allocations: 155.6 kB / 351.1 MB, free: 9.969 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,5), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002088/0.4017, allocations: 103.2 kB / 351.2 MB, free: 9.855 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001848/0.4036, allocations: 0.8974 MB / 352.1 MB, free: 8.906 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 5.059e-06/0.4036, allocations: 0 / 352.1 MB, free: 8.906 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008849/0.4045, allocations: 445.7 kB / 352.5 MB, free: 8.445 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005248/0.405, allocations: 52.33 kB / 352.6 MB, free: 8.395 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001504/0.4065, allocations: 0.7472 MB / 353.3 MB, free: 7.625 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004684/0.407, allocations: 0.7683 MB / 354.1 MB, free: 6.832 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001528/0.4072, allocations: 38.97 kB / 354.1 MB, free: 6.793 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.4e-05/0.4072, allocations: 19.44 kB / 354.1 MB, free: 6.773 MB / 286.1 MB Notification: Performance of SimCode: time 1.132e-06/0.4073, allocations: 0 / 354.1 MB, free: 6.773 MB / 286.1 MB Notification: Performance of Templates: time 0.00898/0.4162, allocations: 4.201 MB / 358.3 MB, free: 2.57 MB / 286.1 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.sim & ./Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.pipe 2>&1)