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.0008731/0.0008734, allocations: 84.38 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.0008449/0.0008449, 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.678/1.678, 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.0005996/0.0005997, allocations: 12 kB / 278.9 MB, free: 12.81 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3484/0.349, allocations: 47.6 MB / 326.5 MB, free: 1.398 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator): time 0.002831/0.3519, allocations: 2.473 MB / 329 MB, free: 15.45 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001227/0.3532, allocations: 0.7426 MB / 329.7 MB, free: 14.83 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001503/0.3533, allocations: 5.812 kB / 329.7 MB, free: 14.83 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00016/0.3535, allocations: 46.56 kB / 329.8 MB, free: 14.79 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001804/0.3537, allocations: 81.89 kB / 329.8 MB, free: 14.72 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002742/0.354, allocations: 101.6 kB / 329.9 MB, free: 14.64 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004382/0.3544, allocations: 368.3 kB / 330.3 MB, free: 14.42 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002476/0.3547, allocations: 94.8 kB / 330.4 MB, free: 14.37 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000171/0.3549, allocations: 126.9 kB / 330.5 MB, free: 14.3 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002475/0.3551, allocations: 145.5 kB / 330.7 MB, free: 14.2 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 4.097e-05/0.3552, allocations: 17.75 kB / 330.7 MB, free: 14.2 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.013e-05/0.3552, allocations: 21.66 kB / 330.7 MB, free: 14.2 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 5.847e-05/0.3553, allocations: 52.05 kB / 330.7 MB, free: 14.15 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 8.65e-05/0.3554, allocations: 84.02 kB / 330.8 MB, free: 14.09 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002845/0.3557, allocations: 277 kB / 331.1 MB, free: 13.89 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.3557, allocations: 3.938 kB / 331.1 MB, free: 13.88 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.3557, allocations: 0 / 331.1 MB, free: 13.88 MB / 270.1 MB Notification: Performance of Transformations before backend: time 5.871e-06/0.3557, allocations: 0.9688 kB / 331.1 MB, free: 13.88 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.0009828/0.3567, allocations: 0.5855 MB / 331.7 MB, free: 13.37 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.175e-05/0.3567, allocations: 9.406 kB / 331.7 MB, free: 13.37 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.369e-05/0.3568, allocations: 41.61 kB / 331.7 MB, free: 13.35 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004141/0.3573, allocations: 279.9 kB / 332 MB, free: 13.07 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.145e-05/0.3573, allocations: 24.94 kB / 332 MB, free: 13.05 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.158e-05/0.3574, allocations: 31.39 kB / 332.1 MB, free: 13.04 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006688/0.358, allocations: 316.9 kB / 332.4 MB, free: 12.86 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.252e-05/0.3581, allocations: 0 / 332.4 MB, free: 12.86 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.469e-05/0.3581, allocations: 15.06 kB / 332.4 MB, free: 12.85 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.34e-05/0.3581, allocations: 7.531 kB / 332.4 MB, free: 12.85 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007175/0.3589, allocations: 309 kB / 332.7 MB, free: 12.71 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001903/0.3608, allocations: 1.105 MB / 333.8 MB, free: 11.83 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008491/0.3616, allocations: 322.5 kB / 334.1 MB, free: 11.68 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003889/0.362, allocations: 177 kB / 334.3 MB, free: 11.5 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.928e-05/0.3621, allocations: 4 kB / 334.3 MB, free: 11.5 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.319e-05/0.3621, allocations: 34.56 kB / 334.3 MB, free: 11.45 MB / 270.1 MB Notification: Performance of pre-optimization done (n=20): time 2.745e-06/0.3621, allocations: 4 kB / 334.3 MB, free: 11.45 MB / 270.1 MB Notification: Performance of matching and sorting (n=20): time 0.002296/0.3644, allocations: 0.9111 MB / 335.2 MB, free: 10.49 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.625e-05/0.3645, allocations: 63.34 kB / 335.3 MB, free: 10.41 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002724/0.3647, allocations: 266.7 kB / 335.6 MB, free: 10.14 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 2.785e-05/0.3648, allocations: 29.7 kB / 335.6 MB, free: 10.11 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001219/0.3649, allocations: 203.8 kB / 335.8 MB, free: 9.902 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.156e-05/0.365, allocations: 71 kB / 335.9 MB, free: 9.832 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.21e-05/0.365, allocations: 4 kB / 335.9 MB, free: 9.828 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001199/0.3651, allocations: 338.8 kB / 336.2 MB, free: 9.488 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002222/0.3653, allocations: 95.94 kB / 336.3 MB, free: 9.395 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002717/0.3656, allocations: 180.3 kB / 336.5 MB, free: 9.18 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002429/0.3659, allocations: 115.9 kB / 336.6 MB, free: 9.066 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.3659, allocations: 0 / 336.6 MB, free: 9.066 MB / 270.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001184/0.3671, allocations: 0.5533 MB / 337.1 MB, free: 8.5 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001188/0.3672, allocations: 179.5 kB / 337.3 MB, free: 8.281 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.225e-06/0.3672, allocations: 4 kB / 337.3 MB, free: 8.277 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005177/0.3677, allocations: 137.6 kB / 337.5 MB, free: 8.137 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001802/0.3679, allocations: 59.91 kB / 337.5 MB, free: 8.078 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004069/0.372, allocations: 3.447 MB / 341 MB, free: 4.363 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002034/0.3722, allocations: 47.58 kB / 341 MB, free: 4.316 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.888e-05/0.3723, allocations: 8 kB / 341 MB, free: 4.309 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.821e-06/0.3723, allocations: 4 kB / 341 MB, free: 4.305 MB / 270.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004123/0.3727, allocations: 265.1 kB / 341.3 MB, free: 4.039 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.126e-06/0.3727, allocations: 0 / 341.3 MB, free: 4.039 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001095/0.3728, allocations: 58 kB / 341.3 MB, free: 3.977 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001833/0.373, allocations: 55.92 kB / 341.4 MB, free: 3.922 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001774/0.3748, allocations: 2.684 MB / 344.1 MB, free: 0.9727 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001287/0.3749, allocations: 23.75 kB / 344.1 MB, free: 0.9492 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.111e-05/0.375, allocations: 16.22 kB / 344.1 MB, free: 0.9336 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.0001839/0.3752, allocations: 225 kB / 344.3 MB, free: 0.7031 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.082e-05/0.3752, allocations: 31.67 kB / 344.4 MB, free: 0.6719 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.6e-05/0.3753, allocations: 30.36 kB / 344.4 MB, free: 0.6367 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/0.3753, allocations: 7.984 kB / 344.4 MB, free: 0.6289 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.3753, allocations: 0 / 344.4 MB, free: 0.6289 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.3753, allocations: 0 / 344.4 MB, free: 0.6289 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001461/0.3768, allocations: 0.8237 MB / 345.2 MB, free: 15.74 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.3768, allocations: 3.938 kB / 345.2 MB, free: 15.74 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001223/0.3769, allocations: 27.98 kB / 345.3 MB, free: 15.71 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003832/0.3773, allocations: 145.6 kB / 345.4 MB, free: 15.56 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.448e-05/0.3773, allocations: 0 / 345.4 MB, free: 15.56 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003967/0.3813, allocations: 3.419 MB / 348.8 MB, free: 11.88 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.3813, allocations: 0 / 348.8 MB, free: 11.88 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001166/0.3825, allocations: 0.6103 MB / 349.4 MB, free: 11.25 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.476e-05/0.3826, allocations: 108.8 kB / 349.5 MB, free: 11.12 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.753e-05/0.3826, allocations: 0 / 349.5 MB, free: 11.12 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001985/0.3828, allocations: 32.05 kB / 349.6 MB, free: 11.09 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.252e-05/0.3829, allocations: 23.91 kB / 349.6 MB, free: 11.07 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.196e-05/0.3829, allocations: 4 kB / 349.6 MB, free: 11.07 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001763/0.3831, allocations: 194 kB / 349.8 MB, free: 10.88 MB / 286.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.3831, allocations: 0 / 349.8 MB, free: 10.88 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0006658/0.3838, allocations: 155.6 kB / 349.9 MB, free: 10.73 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.0001307/0.3839, allocations: 99.25 kB / 350 MB, free: 10.62 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001391/0.3853, allocations: 0.9005 MB / 350.9 MB, free: 9.664 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.3853, allocations: 1.375 kB / 350.9 MB, free: 9.664 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007056/0.3861, allocations: 433.1 kB / 351.4 MB, free: 9.215 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004521/0.3865, allocations: 48.39 kB / 351.4 MB, free: 9.168 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001168/0.3877, allocations: 0.7162 MB / 352.1 MB, free: 8.43 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003041/0.388, allocations: 0.7684 MB / 352.9 MB, free: 7.637 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001256/0.3881, allocations: 30.97 kB / 352.9 MB, free: 7.605 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.585e-05/0.3882, allocations: 23.38 kB / 352.9 MB, free: 7.582 MB / 286.1 MB Notification: Performance of SimCode: time 3.01e-07/0.3882, allocations: 0 / 352.9 MB, free: 7.582 MB / 286.1 MB Notification: Performance of Templates: time 0.00799/0.3962, allocations: 4.056 MB / 357 MB, free: 3.523 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)