Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N,fileNamePrefix="Buildings_8_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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001184/0.001184, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001423/0.001423, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.102/2.102, allocations: 205.4 MB / 222.1 MB, free: 5.652 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 2.034/2.034, allocations: 292.6 MB / 0.5497 GB, free: 14.6 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005837/0.0005838, allocations: 18.56 kB / 0.6737 GB, free: 26.27 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3253/0.3259, allocations: 116.3 MB / 0.7872 GB, free: 11.83 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N): time 0.02236/0.3483, allocations: 18.17 MB / 0.805 GB, free: 9.609 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01195/0.3603, allocations: 7.148 MB / 0.812 GB, free: 2.445 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001775/0.3621, allocations: 47.81 kB / 0.812 GB, free: 2.398 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001178/0.3633, allocations: 393.5 kB / 0.8124 GB, free: 2.012 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.002977/0.3663, allocations: 0.7748 MB / 0.8131 GB, free: 1.234 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.003519/0.3698, allocations: 1.126 MB / 0.8142 GB, free: 112 kB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.003482/0.3733, allocations: 2.012 MB / 0.8162 GB, free: 14.09 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01056/0.3839, allocations: 6.545 MB / 0.8226 GB, free: 7.473 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002332/0.3863, allocations: 1.048 MB / 0.8236 GB, free: 6.422 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002054/0.3884, allocations: 1.203 MB / 0.8248 GB, free: 5.215 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0003501/0.3887, allocations: 176 kB / 0.825 GB, free: 5.043 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001192/0.3899, allocations: 423.5 kB / 0.8254 GB, free: 4.629 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.001294/0.3912, allocations: 1.224 MB / 0.8266 GB, free: 3.402 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0006815/0.3919, allocations: 0.555 MB / 0.8271 GB, free: 2.84 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.005114/0.3971, allocations: 5.116 MB / 0.8321 GB, free: 13.71 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.3971, allocations: 3.938 kB / 0.8321 GB, free: 13.71 MB / 0.6544 GB Notification: Performance of FrontEnd: time 3.587e-06/0.3971, allocations: 4 kB / 0.8321 GB, free: 13.7 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0001363/0.3972, allocations: 3.938 kB / 0.8321 GB, free: 13.7 MB / 0.6544 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.005655/0.4029, allocations: 2.466 MB / 0.8345 GB, free: 11.17 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.458e-05/0.403, allocations: 15.97 kB / 0.8345 GB, free: 11.16 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001062/0.404, allocations: 441.7 kB / 0.835 GB, free: 10.71 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003423/0.4075, allocations: 0.7302 MB / 0.8357 GB, free: 9.98 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003815/0.4113, allocations: 1.512 MB / 0.8371 GB, free: 8.422 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002204/0.4116, allocations: 213.8 kB / 0.8373 GB, free: 8.211 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008965/0.4125, allocations: 288 kB / 0.8376 GB, free: 7.93 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009367/0.4218, allocations: 5.011 MB / 0.8425 GB, free: 2.73 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.025e-05/0.422, allocations: 11.88 kB / 0.8425 GB, free: 2.719 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003223/0.4223, allocations: 124 kB / 0.8426 GB, free: 2.598 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002566/0.4226, allocations: 204.6 kB / 0.8428 GB, free: 2.395 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008939/0.4315, allocations: 4.173 MB / 0.8469 GB, free: 14.21 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03585/0.4674, allocations: 23 MB / 0.8694 GB, free: 5.059 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002996/0.4705, allocations: 1.716 MB / 0.8711 GB, free: 3.309 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002077/0.4707, allocations: 105.7 kB / 0.8712 GB, free: 3.188 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.744e-05/0.4708, allocations: 43.22 kB / 0.8712 GB, free: 3.137 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=84): time 3.065e-06/0.4708, allocations: 0 / 0.8712 GB, free: 3.137 MB / 0.6856 GB Notification: Performance of matching and sorting (n=87): time 0.006589/0.4774, allocations: 4.009 MB / 0.8751 GB, free: 15.09 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9e-05/0.4775, allocations: 137.2 kB / 0.8752 GB, free: 14.93 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001187/0.4787, allocations: 0.8447 MB / 0.8761 GB, free: 14.07 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 9.646e-05/0.4788, allocations: 41.7 kB / 0.8761 GB, free: 14.02 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008312/0.4797, allocations: 1.166 MB / 0.8772 GB, free: 12.84 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003317/0.48, allocations: 303.7 kB / 0.8775 GB, free: 12.54 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.545e-05/0.4801, allocations: 24 kB / 0.8776 GB, free: 12.52 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0002155/0.4803, allocations: 414.7 kB / 0.878 GB, free: 12.1 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001208/0.4815, allocations: 0.7872 MB / 0.8787 GB, free: 11.31 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002275/0.4838, allocations: 1.287 MB / 0.88 GB, free: 9.809 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001664/0.4855, allocations: 0.9944 MB / 0.881 GB, free: 8.812 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.279e-05/0.4855, allocations: 4 kB / 0.881 GB, free: 8.809 MB / 0.7012 GB Notification: Performance of matching and sorting (n=156) (initialization): time 0.005592/0.4911, allocations: 2.168 MB / 0.8831 GB, free: 6.633 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 0.003434/0.4946, allocations: 5.494 MB / 0.8884 GB, free: 0.7109 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.587e-05/0.4947, allocations: 16 kB / 0.8885 GB, free: 0.6953 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.41e-05/0.4947, allocations: 24 kB / 0.8885 GB, free: 0.6719 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002755/0.4975, allocations: 415.2 kB / 0.8889 GB, free: 272 kB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.074e-05/0.4976, allocations: 27.92 kB / 0.8889 GB, free: 244 kB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002059/0.4997, allocations: 199.3 kB / 0.8891 GB, free: 44 kB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001899/0.4999, allocations: 60.03 kB / 0.8891 GB, free: 15.98 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.927e-05/0.4999, allocations: 4 kB / 0.8891 GB, free: 15.98 MB / 0.7169 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004303/0.5042, allocations: 1.765 MB / 0.8909 GB, free: 14.21 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.908e-05/0.5043, allocations: 12 kB / 0.8909 GB, free: 14.2 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.4e-05/0.5043, allocations: 24 kB / 0.8909 GB, free: 14.18 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00197/0.5063, allocations: 363.5 kB / 0.8913 GB, free: 13.82 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.589e-05/0.5064, allocations: 31.81 kB / 0.8913 GB, free: 13.79 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001447/0.5078, allocations: 155.5 kB / 0.8914 GB, free: 13.64 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001008/0.508, allocations: 55.98 kB / 0.8915 GB, free: 13.59 MB / 0.7169 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.002387/0.5103, allocations: 1.172 MB / 0.8926 GB, free: 12.4 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003454/0.5107, allocations: 102.7 kB / 0.8927 GB, free: 12.3 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003599/0.5143, allocations: 1.854 MB / 0.8945 GB, free: 10.43 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.658e-05/0.5143, allocations: 8 kB / 0.8945 GB, free: 10.43 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.091e-05/0.5144, allocations: 4 kB / 0.8945 GB, free: 10.42 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.902e-05/0.5144, allocations: 7.984 kB / 0.8946 GB, free: 10.41 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0151/0.5295, allocations: 9.581 MB / 0.9039 GB, free: 0.5781 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.119e-05/0.5296, allocations: 12 kB / 0.9039 GB, free: 0.5664 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001199/0.5308, allocations: 307.5 kB / 0.9042 GB, free: 272 kB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.415e-05/0.5308, allocations: 23.98 kB / 0.9042 GB, free: 248 kB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.187e-05/0.5309, allocations: 28 kB / 0.9043 GB, free: 220 kB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2e-05/0.531, allocations: 19.94 kB / 0.9043 GB, free: 200 kB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.327e-05/0.531, allocations: 19.88 kB / 0.9043 GB, free: 180 kB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003526/0.5345, allocations: 2.972 MB / 0.9072 GB, free: 12.74 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008803/0.5354, allocations: 391.5 kB / 0.9076 GB, free: 12.34 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001646/0.5356, allocations: 28 kB / 0.9076 GB, free: 12.31 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009171/0.5365, allocations: 147.7 kB / 0.9077 GB, free: 12.16 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001825/0.5367, allocations: 91.48 kB / 0.9078 GB, free: 12.07 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.059e-05/0.5368, allocations: 36 kB / 0.9079 GB, free: 12.04 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0008446/0.5376, allocations: 0.581 MB / 0.9084 GB, free: 11.46 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.9e-07/0.5376, allocations: 0 / 0.9084 GB, free: 11.46 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002667/0.5403, allocations: 0.7461 MB / 0.9092 GB, free: 10.72 MB / 0.7325 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.005256/0.5456, allocations: 6.929 MB / 0.9159 GB, free: 3.43 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.004403/0.55, allocations: 2.823 MB / 0.9187 GB, free: 0.6133 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.054e-05/0.55, allocations: 8.125 kB / 0.9187 GB, free: 0.6055 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.4896/1.04, allocations: 0.9092 MB / 0.9196 GB, free: 129 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00184/1.042, allocations: 250.4 kB / 0.9198 GB, free: 129 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02073/1.062, allocations: 20.8 MB / 0.9401 GB, free: 115.5 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002365/1.065, allocations: 2.174 MB / 0.9423 GB, free: 114.5 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.002208/1.067, allocations: 0.7439 MB / 0.943 GB, free: 114.4 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001099/1.068, allocations: 0.832 MB / 0.9438 GB, free: 113.7 MB / 0.7325 GB Notification: Performance of SimCode: time 2.835e-06/1.068, allocations: 0 / 0.9438 GB, free: 113.7 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06297/1.131, allocations: 31.09 MB / 0.9742 GB, free: 99.71 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000158/1.131, allocations: 197.2 kB / 0.9743 GB, free: 99.47 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.937/4.068, allocations: 3.938 kB / 0.9743 GB, free: 99.46 MB / 0.7325 GB (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads_N.fmu > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe 2>&1) Environment - environmentSimulation: