Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.Digital.Examples.DLATREGSRH.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Digital.Examples.DLATREGSRH,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Digital.Examples.DLATREGSRH") translateModel(Modelica.Electrical.Digital.Examples.DLATREGSRH,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Digital.Examples.DLATREGSRH") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.00405/0.00405, allocations: 181.3 kB / 7.458 MB, free: 2.508 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.329/1.329, allocations: 170.6 MB / 178.4 MB, free: 15.39 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001725/0.001725, allocations: 105 kB / 217.7 MB, free: 8.148 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 8.526e-06/8.556e-06, allocations: 0 / 261.7 MB, free: 26.64 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0757/0.07572, allocations: 38.75 MB / 300.5 MB, free: 3.887 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2534/0.3292, allocations: 71.97 MB / 372.5 MB, free: 12.46 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001732/0.3294, allocations: 65.47 kB / 372.5 MB, free: 12.43 MB / 266.7 MB Notification: Performance of FrontEnd: time 0.05784/0.3872, allocations: 29.37 MB / 401.9 MB, free: 4.531 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.064e-05/0.3874, allocations: 16 kB / 401.9 MB, free: 4.516 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 43 * Number of variables: 43 Notification: Performance of Generate backend data structure: time 0.002279/0.3896, allocations: 1.3 MB / 403.2 MB, free: 3.195 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.652e-05/0.3897, allocations: 11.97 kB / 403.2 MB, free: 3.184 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003573/0.3901, allocations: 138.4 kB / 403.4 MB, free: 3.047 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001076/0.3912, allocations: 0.5177 MB / 403.9 MB, free: 2.516 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.976e-05/0.3912, allocations: 23.67 kB / 403.9 MB, free: 2.496 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000113/0.3914, allocations: 24 kB / 403.9 MB, free: 2.473 MB / 282.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000741/0.3921, allocations: 461.7 kB / 404.4 MB, free: 2.16 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009726/0.3931, allocations: 0.5945 MB / 405 MB, free: 1.699 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.062e-05/0.3931, allocations: 0 / 405 MB, free: 1.699 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.017e-05/0.3932, allocations: 11 kB / 405 MB, free: 1.691 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.157e-06/0.3932, allocations: 4 kB / 405 MB, free: 1.688 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002644/0.3959, allocations: 1.108 MB / 406.1 MB, free: 0.7852 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001138/0.397, allocations: 0.6845 MB / 406.8 MB, free: 400 kB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001121/0.3982, allocations: 0.6745 MB / 407.5 MB, free: 15.87 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.151e-05/0.3982, allocations: 0 / 407.5 MB, free: 15.87 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001012/0.3992, allocations: 0.694 MB / 408.2 MB, free: 15.13 MB / 298.7 MB Notification: Performance of pre-optimization done (n=33): time 2.836e-06/0.3992, allocations: 0 / 408.2 MB, free: 15.13 MB / 298.7 MB Notification: Performance of matching and sorting (n=33): time 0.00143/0.4007, allocations: 0.9401 MB / 409.1 MB, free: 14.19 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002223/0.4009, allocations: 337 kB / 409.4 MB, free: 13.8 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002243/0.4032, allocations: 1.414 MB / 410.8 MB, free: 12.37 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 7.666e-05/0.4032, allocations: 37.7 kB / 410.9 MB, free: 12.33 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001073/0.4034, allocations: 142.5 kB / 411 MB, free: 12.18 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000108/0.4035, allocations: 79.11 kB / 411.1 MB, free: 12.11 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.942e-05/0.4035, allocations: 12 kB / 411.1 MB, free: 12.09 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001733/0.4037, allocations: 366.8 kB / 411.5 MB, free: 11.73 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000589/0.4043, allocations: 443.8 kB / 411.9 MB, free: 11.29 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006607/0.405, allocations: 443.8 kB / 412.3 MB, free: 10.86 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003803/0.4054, allocations: 296.5 kB / 412.6 MB, free: 10.57 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.167e-06/0.4054, allocations: 4.109 kB / 412.6 MB, free: 10.57 MB / 298.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001282/0.4067, allocations: 0.8868 MB / 413.5 MB, free: 9.672 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.691e-05/0.4067, allocations: 4 kB / 413.5 MB, free: 9.668 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.805e-06/0.4067, allocations: 3.984 kB / 413.5 MB, free: 9.664 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.688e-05/0.4067, allocations: 4 kB / 413.5 MB, free: 9.66 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.705e-05/0.4068, allocations: 0 / 413.5 MB, free: 9.66 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.959e-06/0.4068, allocations: 0 / 413.5 MB, free: 9.66 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004042/0.4072, allocations: 47.81 kB / 413.6 MB, free: 9.613 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001699/0.4074, allocations: 128.2 kB / 413.7 MB, free: 9.488 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 37 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,enable.y,data_0.y,reset.y,data_1.y,set.y,$PRE.dLATREGSRH.delay.inertialDelaySensitive[1].x,dLATREGSRH.delay.inertialDelaySensitive[1].x,$PRE.dLATREGSRH.delay.inertialDelaySensitive[1].y,dLATREGSRH.delay.inertialDelaySensitive[1].y,dLATREGSRH.delay.inertialDelaySensitive[1].delayTime,dLATREGSRH.delay.inertialDelaySensitive[1].y_auxiliary,dLATREGSRH.delay.inertialDelaySensitive[1].y_old,dLATREGSRH.delay.inertialDelaySensitive[1].lh,dLATREGSRH.delay.inertialDelaySensitive[1].t_next,$PRE.dLATREGSRH.delay.inertialDelaySensitive[2].x,dLATREGSRH.delay.inertialDelaySensitive[2].x,$PRE.dLATREGSRH.delay.inertialDelaySensitive[2].y,dLATREGSRH.delay.inertialDelaySensitive[2].y,dLATREGSRH.delay.inertialDelaySensitive[2].delayTime,dLATREGSRH.delay.inertialDelaySensitive[2].y_auxiliary,dLATREGSRH.delay.inertialDelaySensitive[2].y_old,dLATREGSRH.delay.inertialDelaySensitive[2].lh,dLATREGSRH.delay.inertialDelaySensitive[2].t_next,dLATREGSRH.dLATSR.dataIn[1],dLATREGSRH.dLATSR.dataIn[2],dLATREGSRH.dLATSR.dataOut[1],dLATREGSRH.dLATSR.dataOut[2],dLATREGSRH.dLATSR.enable_flag,dLATREGSRH.dLATSR.reset_set_flag,dLATREGSRH.dLATSR.nextstate[1],dLATREGSRH.dLATSR.nextstate[2],dLATREGSRH.dLATSR.next_assign_val[1],dLATREGSRH.dLATSR.next_assign_val[2]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 8 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004632/0.4078, allocations: 443.7 kB / 414.1 MB, free: 9 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001751/0.408, allocations: 134.4 kB / 414.3 MB, free: 8.867 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004855/0.4085, allocations: 204.1 kB / 414.5 MB, free: 8.664 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.421e-06/0.4085, allocations: 4 kB / 414.5 MB, free: 8.66 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.052e-06/0.4085, allocations: 0 / 414.5 MB, free: 8.66 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.691e-06/0.4086, allocations: 0 / 414.5 MB, free: 8.66 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002377/0.4109, allocations: 1.795 MB / 416.3 MB, free: 6.816 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.411, allocations: 0 / 416.3 MB, free: 6.816 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.149e-05/0.411, allocations: 4 kB / 416.3 MB, free: 6.812 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.617e-06/0.411, allocations: 0 / 416.3 MB, free: 6.812 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.002e-05/0.4111, allocations: 35.98 kB / 416.3 MB, free: 6.777 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.4111, allocations: 0 / 416.3 MB, free: 6.777 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/0.4111, allocations: 0 / 416.3 MB, free: 6.777 MB / 298.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001449/0.4125, allocations: 1.132 MB / 417.4 MB, free: 5.625 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001034/0.4136, allocations: 0.6707 MB / 418.1 MB, free: 4.93 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002057/0.4138, allocations: 59.97 kB / 418.2 MB, free: 4.871 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000357/0.4142, allocations: 35.97 kB / 418.2 MB, free: 4.836 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005872/0.4148, allocations: 391.5 kB / 418.6 MB, free: 4.453 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001573/0.4149, allocations: 131.9 kB / 418.7 MB, free: 4.324 MB / 298.7 MB Notification: Performance of sort global known variables: time 0.001489/0.4164, allocations: 1.154 MB / 419.9 MB, free: 3.168 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005332/0.417, allocations: 140 kB / 420 MB, free: 3.031 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 33 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,enable.y,data_0.y,reset.y,data_1.y,set.y,dLATREGSRH.delay.inertialDelaySensitive[1].x,dLATREGSRH.delay.inertialDelaySensitive[1].y,dLATREGSRH.delay.inertialDelaySensitive[1].delayTime,dLATREGSRH.delay.inertialDelaySensitive[1].y_auxiliary,dLATREGSRH.delay.inertialDelaySensitive[1].y_old,dLATREGSRH.delay.inertialDelaySensitive[1].lh,dLATREGSRH.delay.inertialDelaySensitive[1].t_next,dLATREGSRH.delay.inertialDelaySensitive[2].x,dLATREGSRH.delay.inertialDelaySensitive[2].y,dLATREGSRH.delay.inertialDelaySensitive[2].delayTime,dLATREGSRH.delay.inertialDelaySensitive[2].y_auxiliary,dLATREGSRH.delay.inertialDelaySensitive[2].y_old,dLATREGSRH.delay.inertialDelaySensitive[2].lh,dLATREGSRH.delay.inertialDelaySensitive[2].t_next,dLATREGSRH.dLATSR.dataIn[1],dLATREGSRH.dLATSR.dataIn[2],dLATREGSRH.dLATSR.dataOut[1],dLATREGSRH.dLATSR.dataOut[2],dLATREGSRH.dLATSR.enable_flag,dLATREGSRH.dLATSR.reset_set_flag,dLATREGSRH.dLATSR.nextstate[1],dLATREGSRH.dLATSR.nextstate[2],dLATREGSRH.dLATSR.next_assign_val[1],dLATREGSRH.dLATSR.next_assign_val[2]) * Number of discrete states: 31 (enable.y,data_0.y,reset.y,data_1.y,set.y,dLATREGSRH.dLATSR.dataOut[2],dLATREGSRH.dLATSR.dataOut[1],dLATREGSRH.dLATSR.next_assign_val[2],dLATREGSRH.dLATSR.next_assign_val[1],dLATREGSRH.dLATSR.nextstate[2],dLATREGSRH.dLATSR.nextstate[1],dLATREGSRH.dLATSR.reset_set_flag,dLATREGSRH.dLATSR.enable_flag,dLATREGSRH.delay.inertialDelaySensitive[2].y,dLATREGSRH.delay.inertialDelaySensitive[2].y_auxiliary,dLATREGSRH.delay.inertialDelaySensitive[2].t_next,dLATREGSRH.delay.inertialDelaySensitive[2].delayTime,dLATREGSRH.delay.inertialDelaySensitive[2].lh,dLATREGSRH.delay.inertialDelaySensitive[2].y_old,$whenCondition2,$whenCondition1,dLATREGSRH.delay.inertialDelaySensitive[2].x,dLATREGSRH.delay.inertialDelaySensitive[1].y,dLATREGSRH.delay.inertialDelaySensitive[1].y_auxiliary,dLATREGSRH.delay.inertialDelaySensitive[1].t_next,dLATREGSRH.delay.inertialDelaySensitive[1].delayTime,dLATREGSRH.delay.inertialDelaySensitive[1].lh,dLATREGSRH.delay.inertialDelaySensitive[1].y_old,$whenCondition4,$whenCondition3,dLATREGSRH.delay.inertialDelaySensitive[1].x) * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 8 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003066/0.4173, allocations: 181.7 kB / 420.2 MB, free: 2.848 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001876/0.4192, allocations: 1.419 MB / 421.6 MB, free: 1.379 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/0.4192, allocations: 0 / 421.6 MB, free: 1.379 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001225/0.4204, allocations: 1.216 MB / 422.8 MB, free: 116 kB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00123/0.4216, allocations: 290.2 kB / 423.1 MB, free: 15.83 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004235/0.4259, allocations: 2.349 MB / 425.4 MB, free: 13.45 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001226/0.4271, allocations: 1.195 MB / 426.6 MB, free: 12.23 MB / 314.7 MB Notification: Performance of SimCode: time 2.354e-06/0.4272, allocations: 0 / 426.6 MB, free: 12.23 MB / 314.7 MB Notification: Performance of Templates: time 0.02374/0.4509, allocations: 14.16 MB / 440.8 MB, free: 13.68 MB / 330.7 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Digital.Examples.DLATREGSRH.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.Digital.Examples.DLATREGSRH.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.Digital.Examples.DLATREGSRH.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.Digital.Examples.DLATREGSRH.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.Digital.Examples.DLATREGSRH.sim & ./Modelica_3.2.1_Modelica.Electrical.Digital.Examples.DLATREGSRH -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.Digital.Examples.DLATREGSRH.pipe 2>&1)