Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads_N",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.601/2.601, allocations: 287.3 MB / 302.3 MB, free: 8.289 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001642/0.001642, allocations: 180.9 kB / 370.8 MB, free: 10.87 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.103/2.103, allocations: 205.4 MB / 0.6295 GB, free: 10.62 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001202/0.001201, allocations: 99.23 kB / 0.7428 GB, free: 6.621 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005175/0.0005176, allocations: 11.98 kB / 0.8657 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2115/0.212, allocations: 115.3 MB / 0.9783 GB, free: 28.29 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N): time 0.02622/0.2383, allocations: 18.16 MB / 0.996 GB, free: 10.07 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.01462/0.253, allocations: 7.148 MB / 1.003 GB, free: 2.91 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002116/0.2551, allocations: 47.81 kB / 1.003 GB, free: 2.863 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.001692/0.2569, allocations: 393.5 kB / 1.003 GB, free: 2.477 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.003772/0.2607, allocations: 0.7748 MB / 1.004 GB, free: 1.699 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.004713/0.2654, allocations: 1.131 MB / 1.005 GB, free: 0.5703 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.00495/0.2704, allocations: 2.008 MB / 1.007 GB, free: 14.56 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01595/0.2864, allocations: 6.532 MB / 1.014 GB, free: 7.957 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002829/0.2893, allocations: 1.051 MB / 1.015 GB, free: 6.902 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00322/0.2926, allocations: 1.203 MB / 1.016 GB, free: 5.695 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0008483/0.2935, allocations: 176 kB / 1.016 GB, free: 5.523 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001834/0.2953, allocations: 427.5 kB / 1.016 GB, free: 5.105 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.002379/0.2977, allocations: 1.224 MB / 1.018 GB, free: 3.879 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.001278/0.299, allocations: 0.5589 MB / 1.018 GB, free: 3.312 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.008454/0.3075, allocations: 5.116 MB / 1.023 GB, free: 14.18 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.3076, allocations: 0 / 1.023 GB, free: 14.18 MB / 0.6511 GB Notification: Performance of FrontEnd: time 3.446e-06/0.3076, allocations: 0 / 1.023 GB, free: 14.18 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0001968/0.3078, allocations: 0 / 1.023 GB, free: 14.18 MB / 0.6511 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.008678/0.3165, allocations: 2.47 MB / 1.026 GB, free: 11.65 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.744e-05/0.3166, allocations: 12.02 kB / 1.026 GB, free: 11.64 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001631/0.3182, allocations: 449.7 kB / 1.026 GB, free: 11.19 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005537/0.3238, allocations: 0.7341 MB / 1.027 GB, free: 10.45 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004936/0.3288, allocations: 1.508 MB / 1.028 GB, free: 8.902 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003004/0.3291, allocations: 217.8 kB / 1.028 GB, free: 8.688 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001199/0.3303, allocations: 292 kB / 1.029 GB, free: 8.402 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01516/0.3455, allocations: 4.996 MB / 1.034 GB, free: 3.215 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001222/0.3457, allocations: 11.88 kB / 1.034 GB, free: 3.203 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006803/0.3464, allocations: 124 kB / 1.034 GB, free: 3.082 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00043/0.3468, allocations: 216.6 kB / 1.034 GB, free: 2.867 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01312/0.36, allocations: 4.161 MB / 1.038 GB, free: 14.69 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0412/0.4012, allocations: 23.01 MB / 1.06 GB, free: 5.539 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005163/0.4065, allocations: 1.712 MB / 1.062 GB, free: 3.789 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002826/0.4068, allocations: 97.75 kB / 1.062 GB, free: 3.676 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.576e-05/0.4069, allocations: 55.09 kB / 1.062 GB, free: 3.613 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=84): time 4.028e-06/0.4069, allocations: 0 / 1.062 GB, free: 3.613 MB / 0.6823 GB Notification: Performance of matching and sorting (n=87): time 0.6305/1.037, allocations: 3.994 MB / 1.066 GB, free: 83.78 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.365e-05/1.037, allocations: 140.8 kB / 1.066 GB, free: 83.62 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002051/1.04, allocations: 0.841 MB / 1.067 GB, free: 83.5 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0002585/1.04, allocations: 40.27 kB / 1.067 GB, free: 83.46 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009982/1.041, allocations: 1.169 MB / 1.068 GB, free: 83.08 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005691/1.041, allocations: 314.2 kB / 1.069 GB, free: 82.86 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001555/1.042, allocations: 25.66 kB / 1.069 GB, free: 82.84 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0002273/1.042, allocations: 405.1 kB / 1.069 GB, free: 82.49 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002195/1.044, allocations: 0.792 MB / 1.07 GB, free: 82.23 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002807/1.047, allocations: 1.283 MB / 1.071 GB, free: 81.35 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002778/1.05, allocations: 0.9963 MB / 1.072 GB, free: 80.99 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.192e-05/1.05, allocations: 4.375 kB / 1.072 GB, free: 80.99 MB / 0.6823 GB Notification: Performance of matching and sorting (n=156) (initialization): time 0.006469/1.056, allocations: 2.165 MB / 1.074 GB, free: 80.19 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.001196/1.058, allocations: 5.498 MB / 1.079 GB, free: 74.32 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.191e-05/1.058, allocations: 14.59 kB / 1.079 GB, free: 74.32 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.066e-05/1.058, allocations: 23.11 kB / 1.08 GB, free: 74.32 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003426/1.061, allocations: 409.2 kB / 1.08 GB, free: 74.29 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.476e-05/1.061, allocations: 33.05 kB / 1.08 GB, free: 74.28 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002386/1.064, allocations: 203 kB / 1.08 GB, free: 74.23 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003613/1.064, allocations: 58.73 kB / 1.08 GB, free: 74.22 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.758e-05/1.064, allocations: 6 kB / 1.08 GB, free: 74.22 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005264/1.069, allocations: 1.764 MB / 1.082 GB, free: 73.56 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.842e-05/1.069, allocations: 13.28 kB / 1.082 GB, free: 73.56 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.465e-05/1.07, allocations: 27.73 kB / 1.082 GB, free: 73.56 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002819/1.072, allocations: 358.7 kB / 1.082 GB, free: 73.53 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.857e-05/1.072, allocations: 27.67 kB / 1.082 GB, free: 73.52 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001839/1.074, allocations: 151.7 kB / 1.082 GB, free: 73.48 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002338/1.075, allocations: 60.44 kB / 1.083 GB, free: 73.47 MB / 0.6823 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 () * Number of clocked 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.003103/1.078, allocations: 1.181 MB / 1.084 GB, free: 72.89 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004415/1.078, allocations: 104.2 kB / 1.084 GB, free: 72.83 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005043/1.083, allocations: 1.843 MB / 1.086 GB, free: 72.15 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.603e-05/1.083, allocations: 10.06 kB / 1.086 GB, free: 72.15 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.35e-05/1.083, allocations: 1.219 kB / 1.086 GB, free: 72.15 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.471e-05/1.083, allocations: 8.312 kB / 1.086 GB, free: 72.15 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02248/1.106, allocations: 9.581 MB / 1.095 GB, free: 68.31 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.224e-05/1.106, allocations: 15.42 kB / 1.095 GB, free: 68.31 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002576/1.109, allocations: 318.1 kB / 1.095 GB, free: 68.29 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.298e-05/1.109, allocations: 16.69 kB / 1.095 GB, free: 68.29 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001736/1.109, allocations: 30.48 kB / 1.095 GB, free: 68.27 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.79e-05/1.109, allocations: 21.8 kB / 1.095 GB, free: 68.27 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.869e-05/1.109, allocations: 17.03 kB / 1.095 GB, free: 68.27 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005059/1.114, allocations: 2.982 MB / 1.098 GB, free: 65.99 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001148/1.115, allocations: 382.3 kB / 1.099 GB, free: 65.76 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002736/1.115, allocations: 34.92 kB / 1.099 GB, free: 65.75 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001661/1.117, allocations: 136.9 kB / 1.099 GB, free: 65.73 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000333/1.117, allocations: 99.73 kB / 1.099 GB, free: 65.69 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000116/1.118, allocations: 36.22 kB / 1.099 GB, free: 65.69 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001239/1.119, allocations: 0.5785 MB / 1.099 GB, free: 65.45 MB / 0.6823 GB Notification: Performance of sort global known variables: time 4.21e-07/1.119, allocations: 1.062 kB / 1.099 GB, free: 65.45 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.00458/1.123, allocations: 0.752 MB / 1.1 GB, free: 65.4 MB / 0.6823 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 (90): * Single equations (assignments): 90 * 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.006398/1.13, allocations: 6.919 MB / 1.107 GB, free: 59.32 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.006857/1.137, allocations: 2.819 MB / 1.11 GB, free: 58.38 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.686e-05/1.137, allocations: 2.562 kB / 1.11 GB, free: 58.38 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.002334/1.139, allocations: 0.9149 MB / 1.111 GB, free: 58.09 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00232/1.142, allocations: 264.8 kB / 1.111 GB, free: 58.02 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02994/1.172, allocations: 20.8 MB / 1.131 GB, free: 41.81 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00333/1.175, allocations: 2.173 MB / 1.133 GB, free: 40.34 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.003521/1.179, allocations: 0.7446 MB / 1.134 GB, free: 40.05 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002022/1.181, allocations: 0.83 MB / 1.135 GB, free: 39.29 MB / 0.6823 GB Notification: Performance of SimCode: time 2.565e-06/1.181, allocations: 0 / 1.135 GB, free: 39.29 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07479/1.255, allocations: 31.08 MB / 1.165 GB, free: 11.42 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002503/1.256, allocations: 215.9 kB / 1.165 GB, free: 11.17 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.216/4.472, allocations: 4 kB / 1.165 GB, free: 11.17 MB / 0.6823 GB (rm -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads_N.fmu > Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe 2>&1)