Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001417/0.001417, allocations: 111.3 kB / 15.23 MB, free: 0.6406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001588/0.001588, allocations: 197.9 kB / 16.14 MB, free: 6.695 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.411/1.411, allocations: 222.9 MB / 239.8 MB, free: 4.66 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.765/2.765, allocations: 472.6 MB / 0.7447 GB, free: 5.016 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001298/0.001298, allocations: 62.09 kB / 0.9114 GB, free: 33.57 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3308/0.3321, allocations: 159.9 MB / 1.068 GB, free: 10.9 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads): time 0.04191/0.374, allocations: 36.92 MB / 1.104 GB, free: 5.863 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.02477/0.3989, allocations: 13.78 MB / 1.117 GB, free: 8.047 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005181/0.4041, allocations: 103.6 kB / 1.117 GB, free: 7.945 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.006523/0.4107, allocations: 2.112 MB / 1.119 GB, free: 5.832 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.004978/0.4157, allocations: 1.355 MB / 1.121 GB, free: 4.473 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.009269/0.425, allocations: 3.258 MB / 1.124 GB, free: 1.215 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.01345/0.4384, allocations: 9.577 MB / 1.133 GB, free: 7.613 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01888/0.4574, allocations: 11.21 MB / 1.144 GB, free: 12.28 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004812/0.4622, allocations: 2.286 MB / 1.146 GB, free: 9.988 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006163/0.4684, allocations: 3.291 MB / 1.149 GB, free: 6.688 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.001755/0.4702, allocations: 436 kB / 1.15 GB, free: 6.262 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004408/0.4746, allocations: 1.252 MB / 1.151 GB, free: 5.008 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.004194/0.4788, allocations: 2.284 MB / 1.153 GB, free: 2.719 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.005533/0.4844, allocations: 2.338 MB / 1.156 GB, free: 380 kB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.01116/0.4956, allocations: 9.002 MB / 1.164 GB, free: 7.344 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 7.234e-06/0.4956, allocations: 0 / 1.164 GB, free: 7.344 MB / 0.92 GB Notification: Performance of FrontEnd: time 5.61e-06/0.4956, allocations: 0 / 1.164 GB, free: 7.344 MB / 0.92 GB Notification: Performance of Transformations before backend: time 0.0002973/0.4959, allocations: 7.875 kB / 1.164 GB, free: 7.336 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1156 * Number of variables: 1156 Notification: Performance of Generate backend data structure: time 0.01325/0.5092, allocations: 4.303 MB / 1.169 GB, free: 2.965 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 5.179e-05/0.5093, allocations: 11.97 kB / 1.169 GB, free: 2.953 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006011/0.5153, allocations: 1.034 MB / 1.17 GB, free: 1.914 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005309/0.5206, allocations: 2.191 MB / 1.172 GB, free: 15.68 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002772/0.5209, allocations: 325 kB / 1.172 GB, free: 15.36 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001271/0.5222, allocations: 424.3 kB / 1.172 GB, free: 14.95 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01553/0.5377, allocations: 7.408 MB / 1.18 GB, free: 7.301 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.92e-05/0.5379, allocations: 11.88 kB / 1.18 GB, free: 7.289 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005316/0.5384, allocations: 184 kB / 1.18 GB, free: 7.109 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003584/0.5388, allocations: 286.9 kB / 1.18 GB, free: 6.828 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01179/0.5506, allocations: 6.03 MB / 1.186 GB, free: 0.7852 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04631/0.5969, allocations: 32.7 MB / 1.218 GB, free: 13.23 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003739/0.6007, allocations: 2.154 MB / 1.22 GB, free: 11.04 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00179/0.6025, allocations: 1.24 MB / 1.221 GB, free: 9.793 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001929/0.6027, allocations: 106.1 kB / 1.221 GB, free: 9.672 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.049e-05/0.6028, allocations: 47.56 kB / 1.221 GB, free: 9.617 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=98): time 2.736e-06/0.6028, allocations: 0 / 1.221 GB, free: 9.617 MB / 0.9825 GB Notification: Performance of matching and sorting (n=101): time 0.009907/0.6127, allocations: 5.278 MB / 1.227 GB, free: 4.293 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.463e-05/0.6128, allocations: 145.5 kB / 1.227 GB, free: 4.121 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002619/0.6155, allocations: 1.476 MB / 1.228 GB, free: 2.633 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.0001352/0.6156, allocations: 41.7 kB / 1.228 GB, free: 2.586 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.001412/0.6171, allocations: 1.863 MB / 1.23 GB, free: 0.6953 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004422/0.6175, allocations: 378.8 kB / 1.23 GB, free: 328 kB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008074/0.6183, allocations: 455.1 kB / 1.231 GB, free: 15.87 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 9.535e-05/0.6184, allocations: 309.1 kB / 1.231 GB, free: 15.56 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001785/0.6202, allocations: 1.149 MB / 1.232 GB, free: 14.4 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002695/0.6229, allocations: 2.207 MB / 1.234 GB, free: 11.67 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004298/0.6272, allocations: 3.434 MB / 1.238 GB, free: 7.758 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.862e-05/0.6273, allocations: 12 kB / 1.238 GB, free: 7.746 MB / 0.9981 GB Notification: Performance of matching and sorting (n=264) (initialization): time 0.005582/0.6329, allocations: 3.367 MB / 1.241 GB, free: 4.375 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.671e-05/0.6329, allocations: 20 kB / 1.241 GB, free: 4.355 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.896e-05/0.633, allocations: 36 kB / 1.241 GB, free: 4.32 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.092e-05/0.633, allocations: 44 kB / 1.241 GB, free: 4.277 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00227/0.6353, allocations: 0.6316 MB / 1.242 GB, free: 3.645 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.988e-05/0.6354, allocations: 71.97 kB / 1.242 GB, free: 3.574 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002257/0.6377, allocations: 334.6 kB / 1.242 GB, free: 3.246 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002128/0.6379, allocations: 116 kB / 1.242 GB, free: 3.133 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004235/0.6421, allocations: 2.424 MB / 1.245 GB, free: 0.6992 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.6089/1.251, allocations: 2.048 MB / 1.247 GB, free: 165.1 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003952/1.255, allocations: 3.063 MB / 1.25 GB, free: 163.7 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.829e-05/1.255, allocations: 13.56 kB / 1.25 GB, free: 163.7 MB / 0.9981 GB Notification: Performance of matching and sorting (n=264) (initialization_lambda0): time 0.005342/1.26, allocations: 2.983 MB / 1.253 GB, free: 163.4 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 4.062e-05/1.261, allocations: 19.16 kB / 1.253 GB, free: 163.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.136e-05/1.261, allocations: 36.69 kB / 1.253 GB, free: 163.4 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.008e-05/1.261, allocations: 49.06 kB / 1.253 GB, free: 163.4 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001771/1.262, allocations: 0.5659 MB / 1.253 GB, free: 163.4 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.478e-05/1.262, allocations: 73.5 kB / 1.253 GB, free: 163.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001915/1.264, allocations: 262.6 kB / 1.254 GB, free: 163.3 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001643/1.265, allocations: 114.2 kB / 1.254 GB, free: 163.3 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 154 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (264): * Single equations (assignments): 264 * Array equations: 0 * Algorithm blocks: 0 * 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.0005072/1.265, allocations: 338.2 kB / 1.254 GB, free: 163.1 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002972/1.265, allocations: 157 kB / 1.254 GB, free: 163.1 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003022/1.268, allocations: 2.233 MB / 1.256 GB, free: 163 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.305e-05/1.268, allocations: 19.8 kB / 1.256 GB, free: 163 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.148e-05/1.268, allocations: 2.562 kB / 1.256 GB, free: 163 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.121e-05/1.269, allocations: 6.703 kB / 1.256 GB, free: 163 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01842/1.287, allocations: 10.99 MB / 1.267 GB, free: 158.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.822e-05/1.287, allocations: 19.42 kB / 1.267 GB, free: 158.9 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001619/1.289, allocations: 388.9 kB / 1.267 GB, free: 158.8 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.001e-05/1.289, allocations: 16.56 kB / 1.267 GB, free: 158.8 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001059/1.289, allocations: 34.61 kB / 1.267 GB, free: 158.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.159e-05/1.289, allocations: 22.16 kB / 1.268 GB, free: 158.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.21e-05/1.289, allocations: 17.7 kB / 1.268 GB, free: 158.8 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004338/1.293, allocations: 2.758 MB / 1.27 GB, free: 157.4 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008899/1.294, allocations: 452.7 kB / 1.271 GB, free: 157.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003973/1.294, allocations: 38.17 kB / 1.271 GB, free: 157.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001464/1.296, allocations: 172 kB / 1.271 GB, free: 157.1 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002541/1.296, allocations: 103.2 kB / 1.271 GB, free: 157.1 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001001/1.296, allocations: 36.16 kB / 1.271 GB, free: 157.1 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.002785/1.299, allocations: 1.005 MB / 1.272 GB, free: 156.7 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.4e-07/1.299, allocations: 0 / 1.272 GB, free: 156.7 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.005222/1.304, allocations: 1.132 MB / 1.273 GB, free: 156.7 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 50 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (104): * Single equations (assignments): 104 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0003707/1.305, allocations: 158.8 kB / 1.273 GB, free: 156.5 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.007179/1.312, allocations: 4.035 MB / 1.277 GB, free: 155.2 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.314e-05/1.312, allocations: 6.188 kB / 1.277 GB, free: 155.2 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001746/1.314, allocations: 1.056 MB / 1.278 GB, free: 154.8 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002701/1.316, allocations: 417.5 kB / 1.279 GB, free: 154.7 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01383/1.33, allocations: 8.794 MB / 1.287 GB, free: 149.7 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003992/1.334, allocations: 2.866 MB / 1.29 GB, free: 148.5 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.003772/1.338, allocations: 1.228 MB / 1.291 GB, free: 148.4 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006602/1.339, allocations: 125.3 kB / 1.291 GB, free: 148.4 MB / 0.9981 GB Notification: Performance of SimCode: time 1.172e-06/1.339, allocations: 0 / 1.291 GB, free: 148.4 MB / 0.9981 GB Notification: Performance of Templates: time 0.03845/1.377, allocations: 24.5 MB / 1.315 GB, free: 131.1 MB / 0.9981 GB make -j1 -f Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.makefile (rm -f Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe ; mkfifo Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe >> ../files/Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.sim & ./Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe 2>&1)