Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sen.I.1.|sen.I.2.|sen.I.3.|sen.I.4.",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sen.I.1.|sen.I.2.|sen.I.3.|sen.I.4.",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.402/1.402, allocations: 249.3 MB / 261.8 MB, free: 5.938 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009588/0.0009589, allocations: 180.9 kB / 321.3 MB, free: 14.66 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.534/1.534, allocations: 205.2 MB / 0.572 GB, free: 10.72 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001091/0.001092, allocations: 90.42 kB / 0.6764 GB, free: 15.7 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.302e-05/3.304e-05, allocations: 4 kB / 0.7879 GB, free: 97.12 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2152/0.2153, allocations: 106.3 MB / 0.8918 GB, free: 6.699 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8081/1.023, allocations: 174 MB / 1.062 GB, free: 10.73 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002327/1.024, allocations: 95.06 kB / 1.062 GB, free: 10.68 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.2592/1.283, allocations: 111.8 MB / 1.171 GB, free: 0.5195 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.643e-06/1.283, allocations: 0 / 1.171 GB, free: 0.5195 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 0.0001227/1.283, allocations: 67.98 kB / 1.171 GB, free: 464 kB / 0.7761 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 776 * Number of variables: 776 Notification: Performance of Generate backend data structure: time 0.004879/1.288, allocations: 2.417 MB / 1.173 GB, free: 13.98 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 5.84e-05/1.288, allocations: 12.03 kB / 1.173 GB, free: 13.97 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003598/1.292, allocations: 0.6952 MB / 1.174 GB, free: 13.27 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003074/1.295, allocations: 1.609 MB / 1.176 GB, free: 11.62 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001742/1.295, allocations: 217.8 kB / 1.176 GB, free: 11.4 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005248/1.295, allocations: 280 kB / 1.176 GB, free: 11.13 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008164/1.304, allocations: 4.541 MB / 1.181 GB, free: 6.402 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.337e-05/1.304, allocations: 11.84 kB / 1.181 GB, free: 6.391 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003133/1.304, allocations: 124 kB / 1.181 GB, free: 6.266 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002171/1.304, allocations: 180.7 kB / 1.181 GB, free: 6.086 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006052/1.31, allocations: 3.663 MB / 1.184 GB, free: 2.406 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02392/1.334, allocations: 23.06 MB / 1.207 GB, free: 9.207 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002626/1.337, allocations: 1.551 MB / 1.208 GB, free: 7.617 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001024/1.338, allocations: 0.8296 MB / 1.209 GB, free: 6.777 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001485/1.338, allocations: 97.66 kB / 1.209 GB, free: 6.664 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.056e-05/1.338, allocations: 43.06 kB / 1.209 GB, free: 6.609 MB / 0.823 GB Notification: Performance of pre-optimization done (n=72): time 2.715e-06/1.338, allocations: 0 / 1.209 GB, free: 6.609 MB / 0.823 GB Notification: Performance of matching and sorting (n=75): time 0.004268/1.342, allocations: 2.901 MB / 1.212 GB, free: 3.676 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.296e-05/1.343, allocations: 141.1 kB / 1.212 GB, free: 3.508 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001171/1.344, allocations: 0.9223 MB / 1.213 GB, free: 2.582 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 6.7e-05/1.344, allocations: 41.7 kB / 1.213 GB, free: 2.535 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007507/1.345, allocations: 1.196 MB / 1.215 GB, free: 1.32 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002528/1.345, allocations: 276.2 kB / 1.215 GB, free: 1.047 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.06e-05/1.345, allocations: 24 kB / 1.215 GB, free: 1.023 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001867/1.345, allocations: 402.7 kB / 1.215 GB, free: 0.6211 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001034/1.346, allocations: 0.764 MB / 1.216 GB, free: 15.85 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001372/1.347, allocations: 1.252 MB / 1.217 GB, free: 14.38 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0013/1.349, allocations: 0.9662 MB / 1.218 GB, free: 13.41 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.153e-06/1.349, allocations: 4 kB / 1.218 GB, free: 13.41 MB / 0.8386 GB Notification: Performance of matching and sorting (n=156) (initialization): time 0.003041/1.352, allocations: 2.093 MB / 1.22 GB, free: 11.3 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.002522/1.354, allocations: 5.498 MB / 1.226 GB, free: 5.379 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.513e-05/1.354, allocations: 12.09 kB / 1.226 GB, free: 5.367 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.164e-05/1.354, allocations: 27.94 kB / 1.226 GB, free: 5.34 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001643/1.356, allocations: 411.3 kB / 1.226 GB, free: 4.938 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.794e-05/1.356, allocations: 27.92 kB / 1.226 GB, free: 4.91 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001524/1.358, allocations: 263.2 kB / 1.226 GB, free: 4.652 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001159/1.358, allocations: 63.98 kB / 1.226 GB, free: 4.59 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.529e-05/1.358, allocations: 7.938 kB / 1.226 GB, free: 4.582 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002365/1.36, allocations: 1.689 MB / 1.228 GB, free: 2.891 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.494e-05/1.36, allocations: 16 kB / 1.228 GB, free: 2.875 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.594e-05/1.36, allocations: 27.95 kB / 1.228 GB, free: 2.848 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001171/1.361, allocations: 364.1 kB / 1.228 GB, free: 2.492 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.639e-05/1.362, allocations: 35.8 kB / 1.228 GB, free: 2.457 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009981/1.363, allocations: 175.4 kB / 1.229 GB, free: 2.285 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.133e-05/1.363, allocations: 55.98 kB / 1.229 GB, free: 2.23 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 63 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (156): * Single equations (assignments): 156 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002423/1.363, allocations: 180.5 kB / 1.229 GB, free: 2.047 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002428/1.363, allocations: 106.8 kB / 1.229 GB, free: 1.941 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002254/1.365, allocations: 1.456 MB / 1.23 GB, free: 484 kB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.198e-05/1.365, allocations: 15.95 kB / 1.23 GB, free: 468 kB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.145e-06/1.365, allocations: 4 kB / 1.23 GB, free: 464 kB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.147e-06/1.365, allocations: 3.984 kB / 1.23 GB, free: 460 kB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009481/1.375, allocations: 7.23 MB / 1.237 GB, free: 9.012 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.109e-05/1.375, allocations: 8.141 kB / 1.237 GB, free: 9.004 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009913/1.376, allocations: 263.7 kB / 1.238 GB, free: 8.746 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-05/1.376, allocations: 15.98 kB / 1.238 GB, free: 8.73 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.414e-05/1.376, allocations: 31.98 kB / 1.238 GB, free: 8.699 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-05/1.376, allocations: 15.94 kB / 1.238 GB, free: 8.684 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.638e-06/1.376, allocations: 11.94 kB / 1.238 GB, free: 8.672 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002447/1.379, allocations: 2.382 MB / 1.24 GB, free: 5.941 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006168/1.379, allocations: 375.5 kB / 1.24 GB, free: 5.555 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001702/1.379, allocations: 35.98 kB / 1.24 GB, free: 5.52 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008616/1.38, allocations: 139.7 kB / 1.241 GB, free: 5.383 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001531/1.38, allocations: 75.77 kB / 1.241 GB, free: 5.309 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.894e-05/1.38, allocations: 28 kB / 1.241 GB, free: 5.277 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0009209/1.381, allocations: 0.6989 MB / 1.241 GB, free: 4.562 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.81e-07/1.381, allocations: 0 / 1.241 GB, free: 4.562 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.002642/1.384, allocations: 0.8242 MB / 1.242 GB, free: 3.738 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 38 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (78): * Single equations (assignments): 78 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002656/1.384, allocations: 148.6 kB / 1.242 GB, free: 3.582 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.003611/1.388, allocations: 2.593 MB / 1.245 GB, free: 0.9961 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 4.959e-06/1.388, allocations: 0 / 1.245 GB, free: 0.9961 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.000916/1.389, allocations: 0.7085 MB / 1.245 GB, free: 296 kB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001311/1.39, allocations: 254.8 kB / 1.246 GB, free: 48 kB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006954/1.397, allocations: 3.863 MB / 1.25 GB, free: 12.04 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002021/1.399, allocations: 2.168 MB / 1.252 GB, free: 9.832 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.002135/1.401, allocations: 0.789 MB / 1.252 GB, free: 9.039 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002876/1.402, allocations: 71.42 kB / 1.252 GB, free: 8.969 MB / 0.8698 GB Notification: Performance of SimCode: time 9.82e-07/1.402, allocations: 0 / 1.252 GB, free: 8.969 MB / 0.8698 GB Notification: Performance of Templates: time 0.5239/1.926, allocations: 16.19 MB / 1.268 GB, free: 244.1 MB / 0.8698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads_N.csv","../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches