Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.DemoSignalCharacteristic.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.Blocks.Examples.DemoSignalCharacteristic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_trunk_Modelica.Blocks.Examples.DemoSignalCharacteristic") translateModel(Modelica.Blocks.Examples.DemoSignalCharacteristic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_trunk_Modelica.Blocks.Examples.DemoSignalCharacteristic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001205/0.001205, allocations: 111 kB / 18.46 MB, free: 4.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001233/0.001233, allocations: 211.9 kB / 19.41 MB, free: 3.668 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.389/1.389, allocations: 227.4 MB / 247.6 MB, free: 10.5 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001339/0.001339, allocations: 67.86 kB / 359.4 MB, free: 12.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2572/0.2586, allocations: 50.54 MB / 409.9 MB, free: 1.613 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.DemoSignalCharacteristic): time 0.003212/0.2618, allocations: 2.282 MB / 412.2 MB, free: 15.32 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00162/0.2635, allocations: 0.9425 MB / 413.2 MB, free: 14.38 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001527/0.2636, allocations: 7.938 kB / 413.2 MB, free: 14.37 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000139/0.2638, allocations: 31.55 kB / 413.2 MB, free: 14.34 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003332/0.2641, allocations: 115.2 kB / 413.3 MB, free: 14.22 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003557/0.2645, allocations: 167.6 kB / 413.5 MB, free: 14.05 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004115/0.2649, allocations: 430.8 kB / 413.9 MB, free: 13.63 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000218/0.2652, allocations: 119.5 kB / 414 MB, free: 13.51 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002903/0.2655, allocations: 179.3 kB / 414.2 MB, free: 13.34 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002516/0.2657, allocations: 187.1 kB / 414.4 MB, free: 13.15 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.324e-05/0.2658, allocations: 40 kB / 414.4 MB, free: 13.11 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001053/0.2659, allocations: 55.98 kB / 414.5 MB, free: 13.06 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001007/0.266, allocations: 95.61 kB / 414.6 MB, free: 12.96 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001665/0.2662, allocations: 187 kB / 414.7 MB, free: 12.78 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004249/0.2666, allocations: 415.7 kB / 415.1 MB, free: 12.38 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.2666, allocations: 0 / 415.1 MB, free: 12.38 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.2666, allocations: 0 / 415.1 MB, free: 12.38 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.131e-06/0.2667, allocations: 0 / 415.1 MB, free: 12.38 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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.001515/0.2682, allocations: 0.721 MB / 415.9 MB, free: 11.61 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.884e-05/0.2682, allocations: 8.031 kB / 415.9 MB, free: 11.6 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003199/0.2686, allocations: 64.44 kB / 415.9 MB, free: 11.54 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00063/0.2692, allocations: 384.3 kB / 416.3 MB, free: 11.12 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.129e-05/0.2692, allocations: 24.81 kB / 416.3 MB, free: 11.09 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.086e-05/0.2693, allocations: 32.36 kB / 416.4 MB, free: 11.06 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005613/0.2699, allocations: 259.4 kB / 416.6 MB, free: 10.81 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.983e-05/0.2699, allocations: 3.906 kB / 416.6 MB, free: 10.8 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.497e-05/0.2699, allocations: 12 kB / 416.6 MB, free: 10.79 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.038e-05/0.27, allocations: 7.938 kB / 416.6 MB, free: 10.79 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005106/0.2705, allocations: 185.6 kB / 416.8 MB, free: 10.6 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001351/0.2718, allocations: 0.7789 MB / 417.6 MB, free: 9.773 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004925/0.2723, allocations: 190.7 kB / 417.8 MB, free: 9.578 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002444/0.2726, allocations: 96.8 kB / 417.9 MB, free: 9.48 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.804e-05/0.2726, allocations: 0 / 417.9 MB, free: 9.48 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000467/0.2731, allocations: 245 kB / 418.1 MB, free: 9.227 MB / 334.1 MB Notification: Performance of pre-optimization done (n=28): time 1.944e-06/0.2731, allocations: 0 / 418.1 MB, free: 9.227 MB / 334.1 MB Notification: Performance of matching and sorting (n=28): time 0.0009689/0.2741, allocations: 375.2 kB / 418.5 MB, free: 8.855 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.919e-05/0.2742, allocations: 63.41 kB / 418.6 MB, free: 8.781 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003633/0.2745, allocations: 320.5 kB / 418.9 MB, free: 8.465 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.681e-05/0.2746, allocations: 37.7 kB / 418.9 MB, free: 8.422 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000144/0.2747, allocations: 196.5 kB / 419.1 MB, free: 8.227 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.599e-05/0.2748, allocations: 78.83 kB / 419.2 MB, free: 8.148 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000118/0.2749, allocations: 78.05 kB / 419.3 MB, free: 8.062 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001619/0.2751, allocations: 342.8 kB / 419.6 MB, free: 7.719 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003164/0.2754, allocations: 104.7 kB / 419.7 MB, free: 7.617 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000427/0.2759, allocations: 238.5 kB / 419.9 MB, free: 7.324 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006201/0.2765, allocations: 370.5 kB / 420.3 MB, free: 6.895 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.2765, allocations: 0 / 420.3 MB, free: 6.895 MB / 334.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0009547/0.2775, allocations: 428.6 kB / 420.7 MB, free: 6.465 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.625e-05/0.2775, allocations: 38.23 kB / 420.7 MB, free: 6.422 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.069e-05/0.2775, allocations: 4 kB / 420.7 MB, free: 6.418 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.846e-05/0.2776, allocations: 12 kB / 420.8 MB, free: 6.406 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002918/0.2779, allocations: 67.89 kB / 420.8 MB, free: 6.34 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.003e-05/0.2779, allocations: 11.94 kB / 420.8 MB, free: 6.328 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002837/0.2782, allocations: 47.66 kB / 420.9 MB, free: 6.281 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.635e-05/0.2782, allocations: 16 kB / 420.9 MB, free: 6.266 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 20 (rectifiedMean.mean.y_last,$PRE.rectifiedMean.mean.y_last,mean.y_last,$PRE.mean.y_last,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,rootMeanSquare.mean.y_last,$PRE.rootMeanSquare.mean.y_last,harmonic.mean2.y_last,$PRE.harmonic.mean2.y_last,harmonic.mean1.y_last,$PRE.harmonic.mean1.y_last,pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001783/0.2784, allocations: 167.5 kB / 421.1 MB, free: 6.09 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.408e-05/0.2785, allocations: 43.5 kB / 421.1 MB, free: 6.047 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000714/0.2792, allocations: 302.2 kB / 421.4 MB, free: 5.742 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.342e-06/0.2792, allocations: 0 / 421.4 MB, free: 5.742 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.2792, allocations: 0 / 421.4 MB, free: 5.742 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.931e-05/0.2793, allocations: 112.7 kB / 421.5 MB, free: 5.613 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.588e-05/0.2794, allocations: 15.94 kB / 421.5 MB, free: 5.598 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002341/0.2796, allocations: 23.97 kB / 421.5 MB, free: 5.574 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.129e-05/0.2797, allocations: 27.91 kB / 421.6 MB, free: 5.547 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0009036/0.2806, allocations: 416.7 kB / 422 MB, free: 5.133 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001087/0.2817, allocations: 0.5965 MB / 422.6 MB, free: 4.516 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002857/0.282, allocations: 120 kB / 422.7 MB, free: 4.398 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000255/0.2823, allocations: 235 kB / 422.9 MB, free: 4.168 MB / 334.1 MB Notification: Performance of Backend: time 4.81e-07/0.2823, allocations: 0 / 422.9 MB, free: 4.168 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000903/0.2832, allocations: 326.4 kB / 423.2 MB, free: 3.828 MB / 334.1 MB Notification: Performance of SimCode: time 0.001206/0.2844, allocations: 1.045 MB / 424.3 MB, free: 2.738 MB / 334.1 MB Notification: Performance of Templates: time 0.008151/0.2926, allocations: 4.222 MB / 428.5 MB, free: 14.54 MB / 350.1 MB make -j1 -f Modelica_trunk_Modelica.Blocks.Examples.DemoSignalCharacteristic.makefile (rm -f Modelica_trunk_Modelica.Blocks.Examples.DemoSignalCharacteristic.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.DemoSignalCharacteristic.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.DemoSignalCharacteristic.pipe >> ../files/Modelica_trunk_Modelica.Blocks.Examples.DemoSignalCharacteristic.sim & ./Modelica_trunk_Modelica.Blocks.Examples.DemoSignalCharacteristic -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_trunk_Modelica.Blocks.Examples.DemoSignalCharacteristic.pipe 2>&1)