Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|tur.P|res.P|sen.V|sou.P.real|sou.P.apparent",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|tur.P|res.P|sen.V|sou.P.real|sou.P.apparent",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine") [: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/Buildings 10.0.0-master/package.mo): time 1.664/1.664, allocations: 390.4 MB / 397.7 MB, free: 10.69 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000917/0.0009174, allocations: 180.7 kB / 490.8 MB, free: 11.21 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.038/1.038, allocations: 221.4 MB / 0.7863 GB, free: 13.57 MB / 0.5886 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008086/0.0008086, allocations: 94.89 kB / 0.9264 GB, free: 4.531 MB / 0.6667 GB Notification: Performance of FrontEnd - loaded program: time 7.674e-06/7.754e-06, allocations: 0 / 1.072 GB, free: 15.56 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4469/0.4469, allocations: 143 MB / 1.212 GB, free: 156 MB / 0.8855 GB Notification: Performance of FrontEnd - scodeFlatten: time 2.258/2.705, allocations: 1.766 GB / 2.978 GB, free: 376.6 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002142/2.705, allocations: 105.6 kB / 2.978 GB, free: 376.5 MB / 1.167 GB Notification: Performance of FrontEnd: time 0.1311/2.836, allocations: 69.19 MB / 3.045 GB, free: 307.3 MB / 1.167 GB Notification: Performance of Transformations before backend: time 6.716e-05/2.837, allocations: 35.94 kB / 3.045 GB, free: 307.3 MB / 1.167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 281 * Number of variables: 281 Notification: Performance of Generate backend data structure: time 0.001731/2.838, allocations: 1.446 MB / 3.047 GB, free: 305.8 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 2.77e-05/2.838, allocations: 9.625 kB / 3.047 GB, free: 305.8 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001319/2.84, allocations: 302.6 kB / 3.047 GB, free: 305.5 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001065/2.841, allocations: 0.8417 MB / 3.048 GB, free: 304.6 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.885e-05/2.841, allocations: 36 kB / 3.048 GB, free: 304.6 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001082/2.841, allocations: 60 kB / 3.048 GB, free: 304.5 MB / 1.167 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001464/2.842, allocations: 1.308 MB / 3.049 GB, free: 303.2 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00132/2.844, allocations: 1.139 MB / 3.05 GB, free: 302 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.64e-05/2.844, allocations: 7.938 kB / 3.05 GB, free: 302 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.159e-05/2.844, allocations: 0 / 3.05 GB, free: 302 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.305e-05/2.844, allocations: 57.98 kB / 3.05 GB, free: 301.9 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004178/2.848, allocations: 4.564 MB / 3.055 GB, free: 297.1 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001001/2.849, allocations: 0.9026 MB / 3.056 GB, free: 296.2 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004038/2.849, allocations: 397.8 kB / 3.056 GB, free: 295.8 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001502/2.85, allocations: 117.8 kB / 3.056 GB, free: 295.7 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005167/2.85, allocations: 0.5253 MB / 3.057 GB, free: 295.1 MB / 1.167 GB Notification: Performance of pre-optimization done (n=94): time 1.763e-06/2.85, allocations: 0 / 3.057 GB, free: 295.1 MB / 1.167 GB Notification: Performance of matching and sorting (n=95): time 0.001979/2.852, allocations: 1.351 MB / 3.058 GB, free: 293.7 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.664e-05/2.852, allocations: 303.4 kB / 3.058 GB, free: 293.4 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007209/2.853, allocations: 0.7859 MB / 3.059 GB, free: 292.6 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 5.69e-05/2.853, allocations: 29.7 kB / 3.059 GB, free: 292.6 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.000152/2.853, allocations: 419.8 kB / 3.06 GB, free: 292.1 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001427/2.853, allocations: 311.5 kB / 3.06 GB, free: 291.8 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.869e-05/2.853, allocations: 0 / 3.06 GB, free: 291.8 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 4.682e-05/2.853, allocations: 338 kB / 3.06 GB, free: 291.5 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000363/2.854, allocations: 317.9 kB / 3.06 GB, free: 291.2 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004404/2.854, allocations: 0.5041 MB / 3.061 GB, free: 290.6 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005819/2.855, allocations: 433.9 kB / 3.061 GB, free: 290.2 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.073e-06/2.855, allocations: 1.031 kB / 3.061 GB, free: 290.2 MB / 1.167 GB Notification: Performance of matching and sorting (n=110) (initialization): time 0.001655/2.856, allocations: 1.049 MB / 3.062 GB, free: 289.1 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001409/2.857, allocations: 1.141 MB / 3.063 GB, free: 287.9 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.925e-06/2.857, allocations: 4 kB / 3.064 GB, free: 287.9 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005676/2.857, allocations: 100.8 kB / 3.064 GB, free: 287.8 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007376/2.858, allocations: 207.7 kB / 3.064 GB, free: 287.6 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000445/2.858, allocations: 0.6625 MB / 3.064 GB, free: 286.9 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006338/2.859, allocations: 79.45 kB / 3.065 GB, free: 286.8 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.641e-05/2.859, allocations: 39.98 kB / 3.065 GB, free: 286.8 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 5.921e-06/2.859, allocations: 7.125 kB / 3.065 GB, free: 286.8 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00109/2.86, allocations: 0.7975 MB / 3.065 GB, free: 286 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.017e-06/2.86, allocations: 9.422 kB / 3.065 GB, free: 286 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.033e-06/2.86, allocations: 8 kB / 3.065 GB, free: 286 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007322/2.861, allocations: 208.8 kB / 3.066 GB, free: 285.8 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.68e-06/2.861, allocations: 11.94 kB / 3.066 GB, free: 285.8 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005613/2.862, allocations: 83.33 kB / 3.066 GB, free: 285.7 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.967e-05/2.862, allocations: 35.98 kB / 3.066 GB, free: 285.6 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (107): * Single equations (assignments): 106 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 2} Notification: Performance of prepare postOptimizeDAE: time 0.0001452/2.862, allocations: 120.8 kB / 3.066 GB, free: 285.5 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001229/2.862, allocations: 106.7 kB / 3.066 GB, free: 285.4 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002299/2.864, allocations: 1.331 MB / 3.067 GB, free: 284.1 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.425e-06/2.864, allocations: 12 kB / 3.067 GB, free: 284.1 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.91e-06/2.864, allocations: 1.312 kB / 3.067 GB, free: 284.1 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.177e-06/2.864, allocations: 3.984 kB / 3.067 GB, free: 284.1 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002945/2.867, allocations: 2.505 MB / 3.07 GB, free: 281.5 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.337e-06/2.867, allocations: 0 / 3.07 GB, free: 281.5 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006904/2.868, allocations: 187.9 kB / 3.07 GB, free: 281.3 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007102/2.869, allocations: 192.7 kB / 3.07 GB, free: 281.1 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.262e-05/2.869, allocations: 17.11 kB / 3.07 GB, free: 281.1 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001339/2.87, allocations: 1.679 MB / 3.072 GB, free: 279.3 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.015e-06/2.87, allocations: 4 kB / 3.072 GB, free: 279.3 MB / 1.167 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001712/2.872, allocations: 1.39 MB / 3.073 GB, free: 277.8 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003744/2.872, allocations: 359.2 kB / 3.073 GB, free: 277.5 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001524/2.872, allocations: 7.984 kB / 3.073 GB, free: 277.5 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007217/2.873, allocations: 73.67 kB / 3.073 GB, free: 277.4 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001037/2.873, allocations: 60.91 kB / 3.074 GB, free: 277.3 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.054e-05/2.873, allocations: 39.98 kB / 3.074 GB, free: 277.3 MB / 1.167 GB Notification: Performance of sort global known variables: time 0.0005319/2.874, allocations: 0.624 MB / 3.074 GB, free: 276.7 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.001092/2.875, allocations: 483.7 kB / 3.075 GB, free: 276.2 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (105): * Single equations (assignments): 102 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.000916/2.876, allocations: 0.552 MB / 3.075 GB, free: 275.8 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.001582/2.877, allocations: 1.336 MB / 3.076 GB, free: 274.5 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/2.877, allocations: 4 kB / 3.076 GB, free: 274.5 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0006834/2.878, allocations: 0.6047 MB / 3.077 GB, free: 273.9 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001011/2.879, allocations: 261.4 kB / 3.077 GB, free: 273.6 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002614/2.882, allocations: 1.819 MB / 3.079 GB, free: 271.8 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007806/2.883, allocations: 1.349 MB / 3.08 GB, free: 270.4 MB / 1.167 GB Notification: Performance of SimCode: time 2.51e-07/2.883, allocations: 0 / 3.08 GB, free: 270.4 MB / 1.167 GB Notification: Performance of Templates: time 0.0267/2.909, allocations: 22.88 MB / 3.103 GB, free: 247.8 MB / 1.167 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesBalanced_Sources_Examples_WindTurbine.csv","../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches