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.001174/0.001175, allocations: 92.34 kB / 16.3 MB, free: 5.992 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.001274/0.001274, allocations: 182.1 kB / 17.2 MB, free: 5.906 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.801/1.801, allocations: 205.4 MB / 223.4 MB, free: 5.531 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.0005141/0.0005143, allocations: 14.81 kB / 280.1 MB, free: 12.84 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.319/0.3196, allocations: 47.58 MB / 327.7 MB, free: 1.438 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator): time 0.003126/0.3228, allocations: 2.354 MB / 330.1 MB, free: 15.59 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.00154/0.3243, allocations: 0.7611 MB / 330.8 MB, free: 14.97 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001734/0.3245, allocations: 9.75 kB / 330.8 MB, free: 14.97 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 7.64e-05/0.3246, allocations: 36.58 kB / 330.9 MB, free: 14.94 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002984/0.3249, allocations: 129.1 kB / 331 MB, free: 14.82 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002826/0.3252, allocations: 86.98 kB / 331.1 MB, free: 14.75 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004184/0.3256, allocations: 280.5 kB / 331.4 MB, free: 14.57 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002523/0.3259, allocations: 94.31 kB / 331.4 MB, free: 14.52 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001722/0.3261, allocations: 118.8 kB / 331.6 MB, free: 14.46 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002369/0.3263, allocations: 152.6 kB / 331.7 MB, free: 14.36 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 4.923e-05/0.3264, allocations: 17.28 kB / 331.7 MB, free: 14.36 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.673e-05/0.3265, allocations: 18.53 kB / 331.7 MB, free: 14.36 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 6.438e-05/0.3265, allocations: 60.36 kB / 331.8 MB, free: 14.3 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 8.589e-05/0.3266, allocations: 78.36 kB / 331.9 MB, free: 14.25 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003149/0.3269, allocations: 272.7 kB / 332.1 MB, free: 14.05 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.327, allocations: 0 / 332.1 MB, free: 14.05 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.327, allocations: 0 / 332.1 MB, free: 14.05 MB / 270.1 MB Notification: Performance of Transformations before backend: time 6.652e-06/0.327, allocations: 1.156 kB / 332.1 MB, free: 14.05 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.001137/0.3281, allocations: 0.5967 MB / 332.7 MB, free: 13.52 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.728e-05/0.3282, allocations: 9 kB / 332.8 MB, free: 13.52 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.702e-05/0.3283, allocations: 37.78 kB / 332.8 MB, free: 13.5 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003983/0.3287, allocations: 284.2 kB / 333.1 MB, free: 13.22 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.108e-05/0.3287, allocations: 20.84 kB / 333.1 MB, free: 13.21 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.463e-05/0.3288, allocations: 32.64 kB / 333.1 MB, free: 13.2 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008126/0.3296, allocations: 304.5 kB / 333.4 MB, free: 13.02 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.419e-05/0.3297, allocations: 1.25 kB / 333.4 MB, free: 13.02 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.489e-05/0.3297, allocations: 14.5 kB / 333.4 MB, free: 13.01 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.795e-05/0.3297, allocations: 7.656 kB / 333.4 MB, free: 13.01 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008375/0.3306, allocations: 305.1 kB / 333.7 MB, free: 12.88 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002154/0.3327, allocations: 1.108 MB / 334.8 MB, free: 11.99 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000908/0.3337, allocations: 311.7 kB / 335.2 MB, free: 11.85 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.997e-05/0.3337, allocations: 10.02 kB / 335.2 MB, free: 11.84 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.676e-05/0.3337, allocations: 32.75 kB / 335.2 MB, free: 11.8 MB / 270.1 MB Notification: Performance of pre-optimization done (n=20): time 1.643e-06/0.3338, allocations: 0 / 335.2 MB, free: 11.8 MB / 270.1 MB Notification: Performance of matching and sorting (n=20): time 0.002498/0.3363, allocations: 0.8849 MB / 336.1 MB, free: 10.92 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.459e-05/0.3363, allocations: 55.39 kB / 336.1 MB, free: 10.85 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002946/0.3366, allocations: 266.7 kB / 336.4 MB, free: 10.58 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 2.856e-05/0.3367, allocations: 33.64 kB / 336.4 MB, free: 10.54 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001533/0.3368, allocations: 203.8 kB / 336.6 MB, free: 10.34 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.18e-05/0.3369, allocations: 74.98 kB / 336.7 MB, free: 10.26 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.271e-05/0.3369, allocations: 8 kB / 336.7 MB, free: 10.25 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001671/0.3371, allocations: 334.8 kB / 337 MB, free: 9.918 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000227/0.3373, allocations: 91.94 kB / 337.1 MB, free: 9.828 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002895/0.3376, allocations: 184.3 kB / 337.3 MB, free: 9.609 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002598/0.3379, allocations: 115.9 kB / 337.4 MB, free: 9.496 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.3379, allocations: 0 / 337.4 MB, free: 9.496 MB / 270.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001331/0.3393, allocations: 0.5416 MB / 338 MB, free: 8.941 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005322/0.3398, allocations: 1.13 MB / 339.1 MB, free: 7.723 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.04e-05/0.3398, allocations: 4 kB / 339.1 MB, free: 7.719 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005506/0.3404, allocations: 149.6 kB / 339.2 MB, free: 7.566 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001928/0.3406, allocations: 51.92 kB / 339.3 MB, free: 7.516 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004082/0.3447, allocations: 3.333 MB / 342.6 MB, free: 3.914 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003012/0.345, allocations: 39.67 kB / 342.7 MB, free: 3.875 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.137e-05/0.345, allocations: 12 kB / 342.7 MB, free: 3.863 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.039e-05/0.345, allocations: 4 kB / 342.7 MB, free: 3.859 MB / 270.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004637/0.3455, allocations: 273.2 kB / 342.9 MB, free: 3.586 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.386e-06/0.3455, allocations: 0 / 342.9 MB, free: 3.586 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001248/0.3457, allocations: 53.69 kB / 343 MB, free: 3.527 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001849/0.3459, allocations: 55.91 kB / 343 MB, free: 3.473 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002078/0.348, allocations: 2.825 MB / 345.9 MB, free: 392 kB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001726/0.3481, allocations: 19.75 kB / 345.9 MB, free: 372 kB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.394e-05/0.3482, allocations: 16.33 kB / 345.9 MB, free: 356 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 (30): * Single equations (assignments): 28 * 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 4,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0002449/0.3484, allocations: 225 kB / 346.1 MB, free: 120 kB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.119e-05/0.3485, allocations: 31.67 kB / 346.2 MB, free: 88 kB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.394e-05/0.3486, allocations: 30.17 kB / 346.2 MB, free: 52 kB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.963e-06/0.3486, allocations: 7.984 kB / 346.2 MB, free: 44 kB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/0.3486, allocations: 0 / 346.2 MB, free: 44 kB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/0.3486, allocations: 3.938 kB / 346.2 MB, free: 40 kB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004095/0.349, allocations: 325.4 kB / 346.5 MB, free: 15.67 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.349, allocations: 4 kB / 346.5 MB, free: 15.67 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001363/0.3492, allocations: 35.88 kB / 346.6 MB, free: 15.63 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003994/0.3496, allocations: 133.6 kB / 346.7 MB, free: 15.5 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.387e-05/0.3496, allocations: 0 / 346.7 MB, free: 15.5 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003982/0.3536, allocations: 3.194 MB / 349.9 MB, free: 12.04 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.3536, allocations: 0 / 349.9 MB, free: 12.04 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001397/0.355, allocations: 0.5986 MB / 350.5 MB, free: 11.42 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.325e-05/0.3551, allocations: 108.8 kB / 350.6 MB, free: 11.3 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.239e-05/0.3551, allocations: 7.953 kB / 350.6 MB, free: 11.29 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002295/0.3554, allocations: 31.97 kB / 350.6 MB, free: 11.26 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.665e-05/0.3555, allocations: 19.91 kB / 350.6 MB, free: 11.24 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.761e-05/0.3555, allocations: 8 kB / 350.7 MB, free: 11.23 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0002098/0.3557, allocations: 190 kB / 350.8 MB, free: 11.05 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3557, allocations: 3.938 kB / 350.8 MB, free: 11.04 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0007608/0.3565, allocations: 155.7 kB / 351 MB, free: 10.89 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 (14): * Single equations (assignments): 12 * 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 4,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001511/0.3567, allocations: 103.2 kB / 351.1 MB, free: 10.78 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001295/0.358, allocations: 0.8192 MB / 351.9 MB, free: 9.906 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.358, allocations: 0 / 351.9 MB, free: 9.906 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000515/0.3585, allocations: 361.8 kB / 352.3 MB, free: 9.527 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000411/0.3589, allocations: 40.41 kB / 352.3 MB, free: 9.488 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001366/0.3603, allocations: 0.715 MB / 353 MB, free: 8.754 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004209/0.3607, allocations: 0.7762 MB / 353.8 MB, free: 7.953 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001419/0.3609, allocations: 30.97 kB / 353.8 MB, free: 7.922 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.101e-05/0.3609, allocations: 19.44 kB / 353.8 MB, free: 7.902 MB / 286.1 MB Notification: Performance of SimCode: time 5.31e-07/0.3609, allocations: 0 / 353.8 MB, free: 7.902 MB / 286.1 MB Notification: Performance of Templates: time 0.008485/0.3694, allocations: 4.018 MB / 357.9 MB, free: 3.883 MB / 286.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: