Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.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.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.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.0009198/0.0009201, allocations: 91.22 kB / 15.06 MB, free: 1.094 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.001066/0.001066, allocations: 172.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 2.164/2.164, allocations: 205.4 MB / 222.1 MB, free: 5.664 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.0005099/0.00051, allocations: 12 kB / 278.9 MB, free: 12.82 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3285/0.329, allocations: 47.58 MB / 326.5 MB, free: 1.535 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator): time 0.003564/0.3326, allocations: 2.485 MB / 329 MB, free: 15.57 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.00227/0.3349, allocations: 0.7432 MB / 329.7 MB, free: 14.96 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005584/0.3355, allocations: 10.47 kB / 329.7 MB, free: 14.95 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002789/0.3358, allocations: 40.92 kB / 329.8 MB, free: 14.92 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004852/0.3363, allocations: 85.55 kB / 329.8 MB, free: 14.84 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004821/0.3368, allocations: 94.52 kB / 329.9 MB, free: 14.77 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007243/0.3376, allocations: 372.1 kB / 330.3 MB, free: 14.54 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003895/0.338, allocations: 102.6 kB / 330.4 MB, free: 14.48 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003829/0.3384, allocations: 119.7 kB / 330.5 MB, free: 14.42 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003239/0.3387, allocations: 144.6 kB / 330.7 MB, free: 14.32 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 5.423e-05/0.3388, allocations: 17.72 kB / 330.7 MB, free: 14.32 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.306e-05/0.3388, allocations: 22.06 kB / 330.7 MB, free: 14.32 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 6.919e-05/0.3389, allocations: 60.33 kB / 330.8 MB, free: 14.27 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001291/0.339, allocations: 78.95 kB / 330.8 MB, free: 14.21 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003695/0.3394, allocations: 273 kB / 331.1 MB, free: 14.01 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.023e-06/0.3394, allocations: 1.656 kB / 331.1 MB, free: 14.01 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.3394, allocations: 0 / 331.1 MB, free: 14.01 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.756e-05/0.3395, allocations: 0 / 331.1 MB, free: 14.01 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.001441/0.3409, allocations: 0.5977 MB / 331.7 MB, free: 13.49 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.345e-05/0.341, allocations: 8.75 kB / 331.7 MB, free: 13.49 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000152/0.3412, allocations: 37.59 kB / 331.7 MB, free: 13.47 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005087/0.3417, allocations: 288 kB / 332 MB, free: 13.18 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.537e-05/0.3417, allocations: 21.41 kB / 332 MB, free: 13.17 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.498e-05/0.3418, allocations: 27.41 kB / 332.1 MB, free: 13.16 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007388/0.3425, allocations: 304 kB / 332.4 MB, free: 12.99 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.551e-05/0.3426, allocations: 0.9688 kB / 332.4 MB, free: 12.99 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.254e-05/0.3426, allocations: 23.23 kB / 332.4 MB, free: 12.97 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.869e-05/0.3427, allocations: 6.562 kB / 332.4 MB, free: 12.97 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007524/0.3434, allocations: 305.9 kB / 332.7 MB, free: 12.84 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002206/0.3456, allocations: 1.108 MB / 333.8 MB, free: 11.95 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009548/0.3466, allocations: 320.6 kB / 334.1 MB, free: 11.79 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004197/0.347, allocations: 176.8 kB / 334.3 MB, free: 11.61 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.16e-05/0.3471, allocations: 0 / 334.3 MB, free: 11.61 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.04e-05/0.3471, allocations: 34.56 kB / 334.3 MB, free: 11.57 MB / 270.1 MB Notification: Performance of pre-optimization done (n=20): time 2.405e-06/0.3471, allocations: 0 / 334.3 MB, free: 11.57 MB / 270.1 MB Notification: Performance of matching and sorting (n=20): time 0.002572/0.3497, allocations: 0.9189 MB / 335.2 MB, free: 10.6 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.253e-05/0.3498, allocations: 55.41 kB / 335.3 MB, free: 10.54 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000381/0.3502, allocations: 266.7 kB / 335.6 MB, free: 10.26 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 2.715e-05/0.3502, allocations: 29.7 kB / 335.6 MB, free: 10.23 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001579/0.3504, allocations: 203.8 kB / 335.8 MB, free: 10.02 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.871e-05/0.3505, allocations: 74.94 kB / 335.9 MB, free: 9.949 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.243e-05/0.3505, allocations: 4 kB / 335.9 MB, free: 9.945 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001621/0.3506, allocations: 338.8 kB / 336.2 MB, free: 9.605 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002236/0.3509, allocations: 95.95 kB / 336.3 MB, free: 9.512 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003038/0.3512, allocations: 188.2 kB / 336.5 MB, free: 9.289 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002672/0.3515, allocations: 112 kB / 336.6 MB, free: 9.18 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.3515, allocations: 0 / 336.6 MB, free: 9.18 MB / 270.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.00127/0.3527, allocations: 0.5494 MB / 337.1 MB, free: 8.617 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001634/0.3529, allocations: 179.6 kB / 337.3 MB, free: 8.398 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.042e-05/0.3529, allocations: 3.938 kB / 337.3 MB, free: 8.395 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005836/0.3535, allocations: 149.6 kB / 337.5 MB, free: 8.242 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001931/0.3537, allocations: 47.92 kB / 337.5 MB, free: 8.195 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005011/0.3588, allocations: 3.455 MB / 341 MB, free: 4.473 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002871/0.3591, allocations: 43.58 kB / 341 MB, free: 4.43 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.334e-05/0.3591, allocations: 16 kB / 341 MB, free: 4.414 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.945e-06/0.3591, allocations: 4 kB / 341 MB, free: 4.41 MB / 270.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004233/0.3595, allocations: 261 kB / 341.3 MB, free: 4.148 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.702e-06/0.3596, allocations: 4 kB / 341.3 MB, free: 4.145 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000126/0.3597, allocations: 54.06 kB / 341.3 MB, free: 4.086 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001993/0.3599, allocations: 59.91 kB / 341.4 MB, free: 4.027 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001915/0.3618, allocations: 2.681 MB / 344.1 MB, free: 1.082 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001942/0.362, allocations: 27.81 kB / 344.1 MB, free: 1.055 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.828e-05/0.3621, allocations: 8.156 kB / 344.1 MB, free: 1.047 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.0002962/0.3624, allocations: 229 kB / 344.3 MB, free: 0.8125 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.204e-05/0.3625, allocations: 35.66 kB / 344.4 MB, free: 0.7773 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.547e-05/0.3625, allocations: 26.17 kB / 344.4 MB, free: 0.7461 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.068e-06/0.3625, allocations: 4 kB / 344.4 MB, free: 0.7422 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.596e-06/0.3626, allocations: 0 / 344.4 MB, free: 0.7422 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.973e-06/0.3626, allocations: 3.984 kB / 344.4 MB, free: 0.7383 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001672/0.3642, allocations: 0.8199 MB / 345.2 MB, free: 15.86 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.995e-06/0.3643, allocations: 0 / 345.2 MB, free: 15.86 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001228/0.3644, allocations: 23.98 kB / 345.2 MB, free: 15.83 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004086/0.3648, allocations: 141.6 kB / 345.4 MB, free: 15.69 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.01e-05/0.3648, allocations: 8 kB / 345.4 MB, free: 15.68 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004145/0.369, allocations: 3.415 MB / 348.8 MB, free: 12 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/0.369, allocations: 0 / 348.8 MB, free: 12 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001241/0.3703, allocations: 0.6181 MB / 349.4 MB, free: 11.36 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001184/0.3704, allocations: 100.8 kB / 349.5 MB, free: 11.25 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.654e-05/0.3704, allocations: 8 kB / 349.5 MB, free: 11.24 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002203/0.3707, allocations: 32.05 kB / 349.6 MB, free: 11.21 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.577e-05/0.3707, allocations: 15.97 kB / 349.6 MB, free: 11.19 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.641e-05/0.3708, allocations: 8 kB / 349.6 MB, free: 11.18 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0002154/0.371, allocations: 193.9 kB / 349.8 MB, free: 11 MB / 286.1 MB Notification: Performance of sort global known variables: time 2.936e-06/0.371, allocations: 0 / 349.8 MB, free: 11 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0007966/0.3718, allocations: 163.5 kB / 349.9 MB, free: 10.84 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.000166/0.372, allocations: 95.25 kB / 350 MB, free: 10.73 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001637/0.3736, allocations: 0.8966 MB / 350.9 MB, free: 9.781 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 5.841e-06/0.3736, allocations: 5.375 kB / 350.9 MB, free: 9.777 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007675/0.3744, allocations: 437.1 kB / 351.4 MB, free: 9.324 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004773/0.3749, allocations: 48.39 kB / 351.4 MB, free: 9.277 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001344/0.3763, allocations: 0.7161 MB / 352.1 MB, free: 8.539 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000357/0.3766, allocations: 0.7684 MB / 352.9 MB, free: 7.746 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001439/0.3768, allocations: 26.97 kB / 352.9 MB, free: 7.719 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.576e-05/0.3768, allocations: 23.44 kB / 352.9 MB, free: 7.695 MB / 286.1 MB Notification: Performance of SimCode: time 6.71e-07/0.3769, allocations: 0 / 352.9 MB, free: 7.695 MB / 286.1 MB Notification: Performance of Templates: time 0.01034/0.3872, allocations: 4.06 MB / 357 MB, free: 3.633 MB / 286.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.makefile (rm -f Modelica_3.1_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.pipe ; mkfifo Modelica_3.1_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.pipe >> ../files/Modelica_3.1_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.sim & ./Modelica_3.1_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.pipe 2>&1)