Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Digital.Examples.DLATREGL.conf.json 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) Running command: "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.DLATREGL,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Digital_Examples_DLATREGL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.DLATREGL,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Digital_Examples_DLATREGL",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001809/0.001809, allocations: 198.8 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.481/1.481, allocations: 225.6 MB / 234.8 MB, free: 3.266 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008887/0.0008888, allocations: 95.69 kB / 286.7 MB, free: 5.242 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.569e-05/2.561e-05, allocations: 8 kB / 343.8 MB, free: 8.195 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1052/0.1052, allocations: 51.48 MB / 395.3 MB, free: 4.668 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3731/0.4784, allocations: 83.05 MB / 478.3 MB, free: 9.508 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002117/0.4787, allocations: 70.69 kB / 478.4 MB, free: 9.484 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06197/0.5406, allocations: 33.62 MB / 0.5 GB, free: 13.91 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.904e-06/0.5407, allocations: 0 / 0.5 GB, free: 13.91 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.287e-05/0.5408, allocations: 12 kB / 0.5 GB, free: 13.89 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.001653/0.5424, allocations: 1.012 MB / 0.501 GB, free: 12.79 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.823e-05/0.5425, allocations: 12.03 kB / 0.501 GB, free: 12.78 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002751/0.5428, allocations: 90.92 kB / 0.5011 GB, free: 12.69 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007348/0.5435, allocations: 411.6 kB / 0.5015 GB, free: 12.25 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.777e-05/0.5436, allocations: 27.92 kB / 0.5015 GB, free: 12.22 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.211e-05/0.5437, allocations: 20 kB / 0.5015 GB, free: 12.2 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006418/0.5443, allocations: 336.2 kB / 0.5019 GB, free: 11.87 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007478/0.5451, allocations: 482.1 kB / 0.5023 GB, free: 11.39 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.129e-05/0.5451, allocations: 0 / 0.5023 GB, free: 11.39 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.593e-05/0.5452, allocations: 8 kB / 0.5023 GB, free: 11.39 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.104e-05/0.5452, allocations: 7.953 kB / 0.5023 GB, free: 11.38 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001729/0.5469, allocations: 0.8796 MB / 0.5032 GB, free: 10.46 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006849/0.5476, allocations: 498.6 kB / 0.5037 GB, free: 9.961 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005702/0.5482, allocations: 472.9 kB / 0.5041 GB, free: 9.496 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.408e-05/0.5483, allocations: 4 kB / 0.5041 GB, free: 9.492 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008035/0.5491, allocations: 0.6267 MB / 0.5047 GB, free: 8.828 MB / 378.7 MB Notification: Performance of pre-optimization done (n=32): time 2.775e-06/0.5491, allocations: 0 / 0.5047 GB, free: 8.828 MB / 378.7 MB Notification: Performance of matching and sorting (n=32): time 0.001436/0.5505, allocations: 0.8819 MB / 0.5056 GB, free: 7.941 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000188/0.5507, allocations: 283.4 kB / 0.5059 GB, free: 7.609 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001667/0.5524, allocations: 0.98 MB / 0.5068 GB, free: 6.621 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 7.169e-05/0.5525, allocations: 37.69 kB / 0.5069 GB, free: 6.578 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001271/0.5526, allocations: 145.9 kB / 0.507 GB, free: 6.434 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001115/0.5527, allocations: 67.27 kB / 0.5071 GB, free: 6.367 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.605e-05/0.5528, allocations: 11.98 kB / 0.5071 GB, free: 6.355 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001443/0.5529, allocations: 338.8 kB / 0.5074 GB, free: 6.016 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004701/0.5534, allocations: 335.8 kB / 0.5077 GB, free: 5.688 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004313/0.5539, allocations: 327.8 kB / 0.508 GB, free: 5.367 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003193/0.5542, allocations: 235.8 kB / 0.5082 GB, free: 5.137 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.5542, allocations: 0 / 0.5082 GB, free: 5.137 MB / 378.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001294/0.5555, allocations: 0.8458 MB / 0.5091 GB, free: 4.285 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002261/0.5557, allocations: 247.9 kB / 0.5093 GB, free: 4 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/0.5558, allocations: 0 / 0.5093 GB, free: 4 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.826e-05/0.5558, allocations: 0 / 0.5093 GB, free: 4 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.101e-05/0.5558, allocations: 0 / 0.5093 GB, free: 4 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.065e-06/0.5558, allocations: 4 kB / 0.5093 GB, free: 3.996 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003859/0.5562, allocations: 39.88 kB / 0.5094 GB, free: 3.957 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001754/0.5564, allocations: 122.9 kB / 0.5095 GB, free: 3.84 MB / 378.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: 36 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,enable.y,data_0.y,reset.y,data_1.y,$PRE.dLATREGL.delay.inertialDelaySensitive[1].x,dLATREGL.delay.inertialDelaySensitive[1].x,$PRE.dLATREGL.delay.inertialDelaySensitive[1].y,dLATREGL.delay.inertialDelaySensitive[1].y,dLATREGL.delay.inertialDelaySensitive[1].delayTime,dLATREGL.delay.inertialDelaySensitive[1].y_auxiliary,dLATREGL.delay.inertialDelaySensitive[1].y_old,dLATREGL.delay.inertialDelaySensitive[1].lh,dLATREGL.delay.inertialDelaySensitive[1].t_next,$PRE.dLATREGL.delay.inertialDelaySensitive[2].x,dLATREGL.delay.inertialDelaySensitive[2].x,$PRE.dLATREGL.delay.inertialDelaySensitive[2].y,dLATREGL.delay.inertialDelaySensitive[2].y,dLATREGL.delay.inertialDelaySensitive[2].delayTime,dLATREGL.delay.inertialDelaySensitive[2].y_auxiliary,dLATREGL.delay.inertialDelaySensitive[2].y_old,dLATREGL.delay.inertialDelaySensitive[2].lh,dLATREGL.delay.inertialDelaySensitive[2].t_next,dLATREGL.dLATR.dataIn[1],dLATREGL.dLATR.dataIn[2],dLATREGL.dLATR.dataOut[1],dLATREGL.dLATR.dataOut[2],dLATREGL.dLATR.enable_flag,dLATREGL.dLATR.reset_flag,dLATREGL.dLATR.nextstate[1],dLATREGL.dLATR.nextstate[2],dLATREGL.dLATR.next_assign_val[1],dLATREGL.dLATR.next_assign_val[2]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 7 * 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.0004383/0.5569, allocations: 414 kB / 0.5099 GB, free: 3.387 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001436/0.5583, allocations: 0.9611 MB / 0.5108 GB, free: 2.418 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000124/0.5584, allocations: 87.06 kB / 0.5109 GB, free: 2.332 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003653/0.5588, allocations: 144 kB / 0.511 GB, free: 2.184 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.839e-06/0.5588, allocations: 4 kB / 0.511 GB, free: 2.18 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.191e-06/0.5588, allocations: 0 / 0.511 GB, free: 2.18 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.017e-06/0.5588, allocations: 0 / 0.511 GB, free: 2.18 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0025/0.5613, allocations: 1.595 MB / 0.5126 GB, free: 0.5391 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.39e-06/0.5614, allocations: 8 kB / 0.5126 GB, free: 0.5312 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.48e-05/0.5614, allocations: 3.938 kB / 0.5126 GB, free: 0.5273 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.839e-06/0.5614, allocations: 0 / 0.5126 GB, free: 0.5273 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.309e-05/0.5615, allocations: 31.98 kB / 0.5126 GB, free: 0.4961 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.354e-06/0.5615, allocations: 0 / 0.5126 GB, free: 0.4961 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.5615, allocations: 0 / 0.5126 GB, free: 0.4961 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001459/0.563, allocations: 1.061 MB / 0.5137 GB, free: 15.42 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00099/0.564, allocations: 0.5698 MB / 0.5142 GB, free: 14.83 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001862/0.5642, allocations: 55.97 kB / 0.5143 GB, free: 14.77 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003617/0.5645, allocations: 35.97 kB / 0.5143 GB, free: 14.74 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003967/0.5649, allocations: 231.7 kB / 0.5145 GB, free: 14.51 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001498/0.5651, allocations: 128.5 kB / 0.5147 GB, free: 14.39 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001339/0.5664, allocations: 0.8109 MB / 0.5154 GB, free: 13.58 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5665, allocations: 0 / 0.5154 GB, free: 13.58 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0005401/0.567, allocations: 120 kB / 0.5156 GB, free: 13.46 MB / 394.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: 32 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,enable.y,data_0.y,reset.y,data_1.y,dLATREGL.delay.inertialDelaySensitive[1].x,dLATREGL.delay.inertialDelaySensitive[1].y,dLATREGL.delay.inertialDelaySensitive[1].delayTime,dLATREGL.delay.inertialDelaySensitive[1].y_auxiliary,dLATREGL.delay.inertialDelaySensitive[1].y_old,dLATREGL.delay.inertialDelaySensitive[1].lh,dLATREGL.delay.inertialDelaySensitive[1].t_next,dLATREGL.delay.inertialDelaySensitive[2].x,dLATREGL.delay.inertialDelaySensitive[2].y,dLATREGL.delay.inertialDelaySensitive[2].delayTime,dLATREGL.delay.inertialDelaySensitive[2].y_auxiliary,dLATREGL.delay.inertialDelaySensitive[2].y_old,dLATREGL.delay.inertialDelaySensitive[2].lh,dLATREGL.delay.inertialDelaySensitive[2].t_next,dLATREGL.dLATR.dataIn[1],dLATREGL.dLATR.dataIn[2],dLATREGL.dLATR.dataOut[1],dLATREGL.dLATR.dataOut[2],dLATREGL.dLATR.enable_flag,dLATREGL.dLATR.reset_flag,dLATREGL.dLATR.nextstate[1],dLATREGL.dLATR.nextstate[2],dLATREGL.dLATR.next_assign_val[1],dLATREGL.dLATR.next_assign_val[2]) * Number of discrete states: 30 (enable.y,data_0.y,reset.y,data_1.y,dLATREGL.dLATR.dataOut[2],dLATREGL.dLATR.dataOut[1],dLATREGL.dLATR.next_assign_val[2],dLATREGL.dLATR.next_assign_val[1],dLATREGL.dLATR.nextstate[2],dLATREGL.dLATR.nextstate[1],dLATREGL.dLATR.reset_flag,dLATREGL.dLATR.enable_flag,dLATREGL.delay.inertialDelaySensitive[1].y,dLATREGL.delay.inertialDelaySensitive[1].y_auxiliary,dLATREGL.delay.inertialDelaySensitive[1].t_next,dLATREGL.delay.inertialDelaySensitive[1].delayTime,dLATREGL.delay.inertialDelaySensitive[1].lh,dLATREGL.delay.inertialDelaySensitive[1].y_old,$whenCondition4,$whenCondition3,dLATREGL.delay.inertialDelaySensitive[1].x,dLATREGL.delay.inertialDelaySensitive[2].y,dLATREGL.delay.inertialDelaySensitive[2].y_auxiliary,dLATREGL.delay.inertialDelaySensitive[2].t_next,dLATREGL.delay.inertialDelaySensitive[2].delayTime,dLATREGL.delay.inertialDelaySensitive[2].lh,dLATREGL.delay.inertialDelaySensitive[2].y_old,$whenCondition2,$whenCondition1,dLATREGL.delay.inertialDelaySensitive[2].x) * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 7 * 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.002022/0.569, allocations: 1.686 MB / 0.5172 GB, free: 11.75 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001634/0.5707, allocations: 1.48 MB / 0.5186 GB, free: 10.18 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.5707, allocations: 0 / 0.5186 GB, free: 10.18 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00103/0.5717, allocations: 1.125 MB / 0.5197 GB, free: 8.973 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001312/0.5731, allocations: 259.8 kB / 0.52 GB, free: 8.723 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004051/0.5771, allocations: 1.855 MB / 0.5218 GB, free: 6.828 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007954/0.578, allocations: 1.031 MB / 0.5228 GB, free: 5.77 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001714/0.5781, allocations: 37.77 kB / 0.5228 GB, free: 5.73 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001032/0.5783, allocations: 75.41 kB / 0.5229 GB, free: 5.656 MB / 394.7 MB Notification: Performance of SimCode: time 1.343e-06/0.5783, allocations: 0 / 0.5229 GB, free: 5.656 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03623/0.6145, allocations: 14.75 MB / 0.5373 GB, free: 6.742 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001914/0.6148, allocations: 127.6 kB / 0.5374 GB, free: 6.555 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.116/2.731, allocations: 0 / 0.5374 GB, free: 6.555 MB / 410.7 MB (rm -f Modelica_trunk_Modelica.Electrical.Digital.Examples.DLATREGL.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Digital.Examples.DLATREGL.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Digital.Examples.DLATREGL.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Digital.Examples.DLATREGL.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Digital.Examples.DLATREGL_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Digital_Examples_DLATREGL_fmu --startTime=0 --stopTime=25 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Digital_Examples_DLATREGL.fmu > Modelica_trunk_Modelica.Electrical.Digital.Examples.DLATREGL.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Electrical.Digital.Examples.DLATREGL_res.mat does not exist to compare? outputFormat=mat