Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001134/0.001134, allocations: 114.3 kB / 18.46 MB, free: 4.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001217/0.001217, allocations: 206.8 kB / 19.41 MB, free: 3.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.328/1.328, allocations: 227.4 MB / 247.6 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001179/0.001179, allocations: 63.89 kB / 359.4 MB, free: 12.89 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2394/0.2406, allocations: 50.55 MB / 410 MB, free: 1.586 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator): time 0.003923/0.2446, allocations: 2.955 MB / 412.9 MB, free: 14.62 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001381/0.246, allocations: 0.7635 MB / 413.7 MB, free: 13.85 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000147/0.2461, allocations: 7.938 kB / 413.7 MB, free: 13.84 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001845/0.2463, allocations: 59.44 kB / 413.8 MB, free: 13.78 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000214/0.2466, allocations: 103.2 kB / 413.9 MB, free: 13.68 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003081/0.2469, allocations: 115.8 kB / 414 MB, free: 13.57 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004184/0.2473, allocations: 414.3 kB / 414.4 MB, free: 13.16 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000252/0.2476, allocations: 127.4 kB / 414.5 MB, free: 13.03 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001646/0.2477, allocations: 151.4 kB / 414.7 MB, free: 12.88 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001928/0.2479, allocations: 163.2 kB / 414.8 MB, free: 12.72 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.191e-05/0.248, allocations: 40 kB / 414.9 MB, free: 12.68 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.951e-05/0.2481, allocations: 32 kB / 414.9 MB, free: 12.65 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.526e-05/0.2481, allocations: 79.69 kB / 415 MB, free: 12.57 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001543/0.2483, allocations: 171.1 kB / 415.1 MB, free: 12.41 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003437/0.2486, allocations: 371.8 kB / 415.5 MB, free: 12.05 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.2487, allocations: 4 kB / 415.5 MB, free: 12.04 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.2487, allocations: 0 / 415.5 MB, free: 12.04 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.004e-05/0.2487, allocations: 0 / 415.5 MB, free: 12.04 MB / 334.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.001062/0.2497, allocations: 0.6393 MB / 416.1 MB, free: 11.36 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.185e-05/0.2498, allocations: 8.031 kB / 416.1 MB, free: 11.35 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.818e-05/0.2499, allocations: 40.56 kB / 416.2 MB, free: 11.31 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003893/0.2503, allocations: 288.5 kB / 416.5 MB, free: 10.99 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.118e-05/0.2503, allocations: 21.03 kB / 416.5 MB, free: 10.97 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.179e-05/0.2504, allocations: 32.38 kB / 416.5 MB, free: 10.94 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006694/0.251, allocations: 353.3 kB / 416.9 MB, free: 10.58 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.068e-05/0.2511, allocations: 0 / 416.9 MB, free: 10.58 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.265e-05/0.2511, allocations: 12 kB / 416.9 MB, free: 10.57 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.283e-05/0.2511, allocations: 8 kB / 416.9 MB, free: 10.56 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006641/0.2518, allocations: 282.5 kB / 417.2 MB, free: 10.29 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001814/0.2536, allocations: 1.166 MB / 418.3 MB, free: 9.043 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008827/0.2545, allocations: 310.7 kB / 418.6 MB, free: 8.73 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004937/0.255, allocations: 172.7 kB / 418.8 MB, free: 8.559 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.363e-05/0.2551, allocations: 4 kB / 418.8 MB, free: 8.555 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.36e-05/0.2551, allocations: 34.56 kB / 418.8 MB, free: 8.512 MB / 334.1 MB Notification: Performance of pre-optimization done (n=19): time 1.453e-06/0.2551, allocations: 4 kB / 418.8 MB, free: 8.508 MB / 334.1 MB Notification: Performance of matching and sorting (n=19): time 0.002694/0.2578, allocations: 0.8583 MB / 419.7 MB, free: 7.602 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.894e-05/0.2578, allocations: 59.34 kB / 419.8 MB, free: 7.531 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000264/0.2581, allocations: 270.6 kB / 420 MB, free: 7.258 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.008e-05/0.2581, allocations: 33.64 kB / 420.1 MB, free: 7.219 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001147/0.2583, allocations: 207.8 kB / 420.3 MB, free: 7.012 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.066e-05/0.2583, allocations: 71 kB / 420.3 MB, free: 6.941 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.432e-05/0.2584, allocations: 57.7 kB / 420.4 MB, free: 6.879 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001208/0.2586, allocations: 330.8 kB / 420.7 MB, free: 6.547 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002821/0.2588, allocations: 104.7 kB / 420.8 MB, free: 6.441 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003243/0.2592, allocations: 195.8 kB / 421 MB, free: 6.207 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006405/0.2598, allocations: 310.9 kB / 421.3 MB, free: 5.863 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.2598, allocations: 4 kB / 421.3 MB, free: 5.859 MB / 334.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001457/0.2613, allocations: 0.5259 MB / 421.8 MB, free: 5.32 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.738e-05/0.2613, allocations: 4 kB / 421.8 MB, free: 5.316 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.825e-06/0.2613, allocations: 4 kB / 421.8 MB, free: 5.312 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006282/0.262, allocations: 141.7 kB / 422 MB, free: 5.168 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001932/0.2622, allocations: 59.91 kB / 422 MB, free: 5.109 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005107/0.2673, allocations: 3.7 MB / 425.7 MB, free: 1.125 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002756/0.2676, allocations: 47.66 kB / 425.8 MB, free: 1.078 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.352e-05/0.2676, allocations: 12.19 kB / 425.8 MB, free: 1.066 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002759/0.2679, allocations: 176.1 kB / 426 MB, free: 0.8906 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002461/0.2682, allocations: 172 kB / 426.1 MB, free: 0.6797 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004253/0.2686, allocations: 268.9 kB / 426.4 MB, free: 384 kB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.975e-06/0.2686, allocations: 4 kB / 426.4 MB, free: 380 kB / 334.1 MB Notification: Performance of matching and sorting (n=36) (initialization_lambda0): time 0.001008/0.2696, allocations: 414.7 kB / 426.8 MB, free: 15.95 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.335e-05/0.2697, allocations: 4 kB / 426.8 MB, free: 15.95 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.715e-06/0.2697, allocations: 7.984 kB / 426.8 MB, free: 15.94 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003228/0.27, allocations: 93.69 kB / 426.9 MB, free: 15.84 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002101/0.2702, allocations: 59.91 kB / 427 MB, free: 15.79 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003063/0.2733, allocations: 3.013 MB / 430 MB, free: 12.49 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002506/0.2736, allocations: 31.73 kB / 430 MB, free: 12.46 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.105e-05/0.2736, allocations: 15.94 kB / 430 MB, free: 12.45 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (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,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001652/0.2738, allocations: 201.2 kB / 430.2 MB, free: 12.24 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.79e-05/0.2739, allocations: 23.72 kB / 430.2 MB, free: 12.22 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.25e-05/0.2739, allocations: 34.17 kB / 430.3 MB, free: 12.18 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.274, allocations: 4.062 kB / 430.3 MB, free: 12.18 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.274, allocations: 0 / 430.3 MB, free: 12.18 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.118e-05/0.2741, allocations: 104.8 kB / 430.4 MB, free: 12.06 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.757e-05/0.2741, allocations: 11.88 kB / 430.4 MB, free: 12.05 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002531/0.2744, allocations: 23.98 kB / 430.4 MB, free: 12.02 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.558e-05/0.2745, allocations: 19.97 kB / 430.4 MB, free: 12 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00166/0.2761, allocations: 0.5371 MB / 431 MB, free: 11.45 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0008378/0.277, allocations: 0.4893 MB / 431.5 MB, free: 10.95 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002363/0.2772, allocations: 79.94 kB / 431.5 MB, free: 10.87 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001841/0.2774, allocations: 197.9 kB / 431.7 MB, free: 10.67 MB / 350.1 MB Notification: Performance of Backend: time 6.32e-07/0.2774, allocations: 4 kB / 431.7 MB, free: 10.67 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001885/0.2793, allocations: 0.899 MB / 432.6 MB, free: 9.715 MB / 350.1 MB Notification: Performance of SimCode: time 0.001329/0.2807, allocations: 1.059 MB / 433.7 MB, free: 8.605 MB / 350.1 MB Notification: Performance of Templates: time 0.009605/0.2903, allocations: 5.024 MB / 438.7 MB, free: 3.605 MB / 350.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.makefile (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.pipe 2>&1)