Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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="mat",numberOfIntervals=2000,variableFilter="time|c.v|opAmp1.out.v|opAmp1.out.i|opAmp2.out.v|opAmp2.out.i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|c.v|opAmp1.out.v|opAmp1.out.i|opAmp2.out.v|opAmp2.out.i",fileNamePrefix="Modelica_3.2.3_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.001106/0.001106, allocations: 109.7 kB / 18.4 MB, free: 4.676 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.001026/0.001026, allocations: 187 kB / 19.34 MB, free: 3.754 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.359/1.359, allocations: 205.1 MB / 225.2 MB, free: 12.23 MB / 190.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.001214/0.001214, allocations: 52.34 kB / 329.2 MB, free: 3.266 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08156/0.08279, allocations: 46.61 MB / 375.9 MB, free: 4.547 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator): time 0.004361/0.08719, allocations: 2.927 MB / 378.8 MB, free: 1.605 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001441/0.08866, allocations: 0.7758 MB / 379.6 MB, free: 0.8203 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002607/0.08894, allocations: 7.938 kB / 379.6 MB, free: 0.8125 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002167/0.08919, allocations: 67.38 kB / 379.6 MB, free: 0.7461 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003414/0.08954, allocations: 99.16 kB / 379.7 MB, free: 0.6484 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003811/0.08993, allocations: 119.8 kB / 379.8 MB, free: 0.5312 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005451/0.09049, allocations: 410.1 kB / 380.2 MB, free: 132 kB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002666/0.09077, allocations: 131.4 kB / 380.4 MB, free: 0 / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003583/0.2659, allocations: 142.3 kB / 380.5 MB, free: 9.832 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003181/0.2662, allocations: 174.8 kB / 380.7 MB, free: 9.797 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 9.874e-05/0.2663, allocations: 33.88 kB / 380.7 MB, free: 9.797 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.589e-05/0.2664, allocations: 33.22 kB / 380.8 MB, free: 9.797 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.791e-05/0.2665, allocations: 76.73 kB / 380.8 MB, free: 9.785 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002535/0.2668, allocations: 172.6 kB / 381 MB, free: 9.738 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006047/0.2674, allocations: 381.5 kB / 381.4 MB, free: 9.691 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.2674, allocations: 0 / 381.4 MB, free: 9.691 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.2674, allocations: 0 / 381.4 MB, free: 9.691 MB / 318.1 MB Notification: Performance of Transformations before backend: time 2.214e-05/0.2674, allocations: 0.7812 kB / 381.4 MB, free: 9.691 MB / 318.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.00133/0.2688, allocations: 0.635 MB / 382 MB, free: 9.242 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.621e-05/0.2688, allocations: 14.55 kB / 382 MB, free: 9.238 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000106/0.2689, allocations: 38.03 kB / 382.1 MB, free: 9.219 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004734/0.2694, allocations: 298.1 kB / 382.3 MB, free: 8.992 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.728e-05/0.2695, allocations: 23.34 kB / 382.4 MB, free: 8.992 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.641e-05/0.2695, allocations: 26.92 kB / 382.4 MB, free: 8.992 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006525/0.2702, allocations: 305.3 kB / 382.7 MB, free: 8.949 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.516e-05/0.2702, allocations: 3.938 kB / 382.7 MB, free: 8.945 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.561e-05/0.2703, allocations: 16.78 kB / 382.7 MB, free: 8.945 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.101e-05/0.2703, allocations: 9.5 kB / 382.7 MB, free: 8.945 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000788/0.2711, allocations: 294.8 kB / 383 MB, free: 8.945 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00188/0.273, allocations: 1.08 MB / 384.1 MB, free: 8.488 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007815/0.2738, allocations: 287.4 kB / 384.4 MB, free: 8.461 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000424/0.2742, allocations: 177 kB / 384.5 MB, free: 8.445 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.64e-05/0.2742, allocations: 2.844 kB / 384.5 MB, free: 8.445 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.986e-05/0.2743, allocations: 42.92 kB / 384.6 MB, free: 8.402 MB / 318.1 MB Notification: Performance of pre-optimization done (n=20): time 1.694e-06/0.2743, allocations: 5.469 kB / 384.6 MB, free: 8.398 MB / 318.1 MB Notification: Performance of matching and sorting (n=20): time 0.002264/0.2765, allocations: 0.8099 MB / 385.4 MB, free: 8.129 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.934e-05/0.2766, allocations: 61.83 kB / 385.5 MB, free: 8.059 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002757/0.2768, allocations: 271.1 kB / 385.7 MB, free: 7.949 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.939e-05/0.2769, allocations: 35.11 kB / 385.8 MB, free: 7.918 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.375e-05/0.277, allocations: 205.9 kB / 386 MB, free: 7.773 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.621e-05/0.277, allocations: 70.88 kB / 386 MB, free: 7.73 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.299e-05/0.2771, allocations: 58.2 kB / 386.1 MB, free: 7.711 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.708e-05/0.2772, allocations: 336.7 kB / 386.4 MB, free: 7.398 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002194/0.2774, allocations: 94.38 kB / 386.5 MB, free: 7.391 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002412/0.2777, allocations: 178 kB / 386.7 MB, free: 7.285 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004732/0.2782, allocations: 285 kB / 387 MB, free: 7.121 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.927e-06/0.2782, allocations: 4.375 kB / 387 MB, free: 7.121 MB / 318.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001274/0.2794, allocations: 0.5082 MB / 387.5 MB, free: 6.961 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.925e-05/0.2795, allocations: 6.531 kB / 387.5 MB, free: 6.961 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.538e-06/0.2795, allocations: 3.688 kB / 387.5 MB, free: 6.961 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005089/0.28, allocations: 120.1 kB / 387.6 MB, free: 6.926 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001986/0.2802, allocations: 56.27 kB / 387.7 MB, free: 6.922 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003824/0.2841, allocations: 3.655 MB / 391.3 MB, free: 3.805 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002367/0.2843, allocations: 40.53 kB / 391.4 MB, free: 3.785 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.108e-05/0.2843, allocations: 13.72 kB / 391.4 MB, free: 3.781 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001634/0.2845, allocations: 165.1 kB / 391.5 MB, free: 3.664 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001477/0.2847, allocations: 156.6 kB / 391.7 MB, free: 3.527 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002521/0.2849, allocations: 227.6 kB / 391.9 MB, free: 3.355 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.515e-06/0.2849, allocations: 1.062 kB / 391.9 MB, free: 3.355 MB / 318.1 MB Notification: Performance of matching and sorting (n=36) (initialization_lambda0): time 0.0004739/0.2854, allocations: 313.2 kB / 392.2 MB, free: 3.215 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.101e-05/0.2854, allocations: 5.719 kB / 392.2 MB, free: 3.215 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.2854, allocations: 3.766 kB / 392.2 MB, free: 3.215 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001325/0.2856, allocations: 56.19 kB / 392.3 MB, free: 3.191 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002023/0.2858, allocations: 61.27 kB / 392.3 MB, free: 3.188 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00138/0.2872, allocations: 2.967 MB / 395.3 MB, free: 208 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001572/0.2873, allocations: 26.31 kB / 395.3 MB, free: 188 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.937e-05/0.2874, allocations: 22.45 kB / 395.3 MB, free: 180 kB / 318.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.0001174/0.2875, allocations: 198.2 kB / 395.5 MB, free: 15.98 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.532e-05/0.2876, allocations: 24.31 kB / 395.6 MB, free: 15.97 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.303e-05/0.2876, allocations: 35.95 kB / 395.6 MB, free: 15.95 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.2876, allocations: 0.8438 kB / 395.6 MB, free: 15.95 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.2877, allocations: 2.516 kB / 395.6 MB, free: 15.95 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.803e-05/0.2877, allocations: 106.1 kB / 395.7 MB, free: 15.83 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.56e-05/0.2878, allocations: 9.766 kB / 395.7 MB, free: 15.83 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002282/0.288, allocations: 20.73 kB / 395.7 MB, free: 15.83 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.796e-05/0.2881, allocations: 22.39 kB / 395.8 MB, free: 15.82 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001287/0.2894, allocations: 0.4908 MB / 396.2 MB, free: 15.63 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0007379/0.2901, allocations: 491.4 kB / 396.7 MB, free: 15.34 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002039/0.2904, allocations: 77.41 kB / 396.8 MB, free: 15.32 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001831/0.2905, allocations: 190.7 kB / 397 MB, free: 15.21 MB / 334.1 MB Notification: Performance of Backend: time 7.71e-07/0.2906, allocations: 0.6562 kB / 397 MB, free: 15.21 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001584/0.2921, allocations: 0.8833 MB / 397.9 MB, free: 14.6 MB / 334.1 MB Notification: Performance of SimCode: time 0.001258/0.2934, allocations: 1.062 MB / 398.9 MB, free: 13.77 MB / 334.1 MB Notification: Performance of Templates: time 0.0111/0.3045, allocations: 5.016 MB / 404 MB, free: 12.79 MB / 334.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.pipe 2>&1)