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.001082/0.001082, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001138/0.001138, allocations: 195.9 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.27/1.27, allocations: 205.1 MB / 222.4 MB, free: 4.602 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 1.602/1.602, allocations: 292.3 MB / 0.5489 GB, free: 12.83 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.001503/0.001503, allocations: 68.06 kB / 0.6716 GB, free: 26.18 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.194/0.1955, allocations: 114.5 MB / 0.7835 GB, free: 13.38 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N): time 0.02153/0.2171, allocations: 20.41 MB / 0.8034 GB, free: 8.883 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01077/0.2279, allocations: 7.581 MB / 0.8108 GB, free: 1.281 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001221/0.2291, allocations: 59.81 kB / 0.8109 GB, free: 1.223 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.003074/0.2322, allocations: 1.348 MB / 0.8122 GB, free: 15.87 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.001979/0.2342, allocations: 0.9801 MB / 0.8131 GB, free: 14.89 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.00383/0.2381, allocations: 1.998 MB / 0.8151 GB, free: 12.89 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.003862/0.2419, allocations: 4.316 MB / 0.8193 GB, free: 8.562 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006434/0.2484, allocations: 6.262 MB / 0.8254 GB, free: 2.23 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00199/0.2504, allocations: 1.839 MB / 0.8272 GB, free: 396 kB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0028/0.2532, allocations: 2.193 MB / 0.8294 GB, free: 14.18 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0008182/0.254, allocations: 428 kB / 0.8298 GB, free: 13.77 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001724/0.2558, allocations: 0.9205 MB / 0.8307 GB, free: 12.85 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.001345/0.2571, allocations: 1.653 MB / 0.8323 GB, free: 11.19 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.001481/0.2586, allocations: 1.716 MB / 0.834 GB, free: 9.469 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.004327/0.2629, allocations: 6.124 MB / 0.8399 GB, free: 3.328 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.263, allocations: 0 / 0.8399 GB, free: 3.328 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.253e-06/0.263, allocations: 0 / 0.8399 GB, free: 3.328 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 3.347e-05/0.263, allocations: 0 / 0.8399 GB, free: 3.328 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.004397/0.2674, allocations: 3.036 MB / 0.8429 GB, free: 236 kB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.243e-05/0.2674, allocations: 8.031 kB / 0.8429 GB, free: 228 kB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004977/0.268, allocations: 454 kB / 0.8433 GB, free: 15.77 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002548/0.2705, allocations: 0.6727 MB / 0.844 GB, free: 15.09 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002047/0.2726, allocations: 1.54 MB / 0.8455 GB, free: 13.51 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001448/0.2727, allocations: 222.1 kB / 0.8457 GB, free: 13.29 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003843/0.2731, allocations: 280.4 kB / 0.846 GB, free: 13.02 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006262/0.2794, allocations: 5.047 MB / 0.8509 GB, free: 7.785 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.05e-05/0.2794, allocations: 11.84 kB / 0.8509 GB, free: 7.773 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002705/0.2797, allocations: 132 kB / 0.8511 GB, free: 7.645 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001996/0.2799, allocations: 208.6 kB / 0.8513 GB, free: 7.438 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005501/0.2854, allocations: 4.177 MB / 0.8553 GB, free: 3.246 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01907/0.3045, allocations: 23.01 MB / 0.8778 GB, free: 10.09 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002419/0.307, allocations: 1.715 MB / 0.8795 GB, free: 8.332 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001378/0.3083, allocations: 1.149 MB / 0.8806 GB, free: 7.176 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00012/0.3085, allocations: 93.75 kB / 0.8807 GB, free: 7.066 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.345e-05/0.3085, allocations: 51.2 kB / 0.8807 GB, free: 7.008 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=84): time 2.745e-06/0.3085, allocations: 0 / 0.8807 GB, free: 7.008 MB / 0.7012 GB Notification: Performance of matching and sorting (n=87): time 0.004978/0.3135, allocations: 3.981 MB / 0.8846 GB, free: 2.992 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.973e-05/0.3136, allocations: 141.2 kB / 0.8848 GB, free: 2.824 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008691/0.3145, allocations: 0.8492 MB / 0.8856 GB, free: 1.969 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 6.894e-05/0.3146, allocations: 45.7 kB / 0.8856 GB, free: 1.918 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006432/0.3152, allocations: 1.162 MB / 0.8868 GB, free: 0.7383 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002223/0.3154, allocations: 307.6 kB / 0.8871 GB, free: 444 kB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003583/0.3158, allocations: 274.5 kB / 0.8873 GB, free: 164 kB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001574/0.316, allocations: 402.7 kB / 0.8877 GB, free: 15.76 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009954/0.317, allocations: 0.81 MB / 0.8885 GB, free: 14.94 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001237/0.3182, allocations: 1.291 MB / 0.8898 GB, free: 13.43 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002417/0.3206, allocations: 2.14 MB / 0.8918 GB, free: 11.1 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.741e-06/0.3206, allocations: 4 kB / 0.8919 GB, free: 11.1 MB / 0.7169 GB Notification: Performance of matching and sorting (n=156) (initialization): time 0.003026/0.3237, allocations: 2.172 MB / 0.894 GB, free: 8.914 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.552e-05/0.3237, allocations: 12.78 kB / 0.894 GB, free: 8.902 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.023e-05/0.3237, allocations: 16 kB / 0.894 GB, free: 8.887 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.404e-05/0.3238, allocations: 20 kB / 0.894 GB, free: 8.867 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001496/0.3253, allocations: 403.3 kB / 0.8944 GB, free: 8.473 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.18e-05/0.3253, allocations: 32.23 kB / 0.8944 GB, free: 8.441 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00101/0.3263, allocations: 199.3 kB / 0.8946 GB, free: 8.246 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.519e-05/0.3265, allocations: 63.98 kB / 0.8947 GB, free: 8.184 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002345/0.3288, allocations: 1.654 MB / 0.8963 GB, free: 6.523 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001242/0.3301, allocations: 1.182 MB / 0.8975 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002174/0.3322, allocations: 1.878 MB / 0.8993 GB, free: 3.02 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.432e-06/0.3323, allocations: 4 kB / 0.8993 GB, free: 3.016 MB / 0.7169 GB Notification: Performance of matching and sorting (n=156) (initialization_lambda0): time 0.002584/0.3348, allocations: 1.886 MB / 0.9011 GB, free: 1.121 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.573e-05/0.3349, allocations: 16.91 kB / 0.9011 GB, free: 1.105 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.437e-05/0.3349, allocations: 16 kB / 0.9012 GB, free: 1.09 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.795e-05/0.3349, allocations: 20 kB / 0.9012 GB, free: 1.07 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001156/0.3361, allocations: 363.3 kB / 0.9015 GB, free: 0.7148 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.215e-05/0.3361, allocations: 27.94 kB / 0.9016 GB, free: 0.6875 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009419/0.3371, allocations: 159.4 kB / 0.9017 GB, free: 0.5312 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001019/0.3372, allocations: 63.98 kB / 0.9018 GB, free: 480 kB / 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004418/0.3376, allocations: 266.5 kB / 0.902 GB, free: 208 kB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002136/0.3378, allocations: 107 kB / 0.9021 GB, free: 100 kB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002648/0.3405, allocations: 1.839 MB / 0.9039 GB, free: 14.24 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.32e-05/0.3405, allocations: 11.98 kB / 0.9039 GB, free: 14.23 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.936e-06/0.3405, allocations: 4 kB / 0.9039 GB, free: 14.22 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.021e-05/0.3405, allocations: 3.984 kB / 0.9039 GB, free: 14.22 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01159/0.3521, allocations: 9.585 MB / 0.9133 GB, free: 4.387 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.38e-05/0.3522, allocations: 12 kB / 0.9133 GB, free: 4.375 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001163/0.3533, allocations: 311.5 kB / 0.9136 GB, free: 4.07 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.621e-05/0.3534, allocations: 16 kB / 0.9136 GB, free: 4.055 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.587e-05/0.3534, allocations: 24 kB / 0.9136 GB, free: 4.031 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.899e-05/0.3535, allocations: 27.86 kB / 0.9137 GB, free: 4.004 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.802e-05/0.3535, allocations: 15.94 kB / 0.9137 GB, free: 3.988 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002479/0.356, allocations: 2.406 MB / 0.916 GB, free: 1.426 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005249/0.3565, allocations: 367.6 kB / 0.9164 GB, free: 1.047 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001475/0.3567, allocations: 31.98 kB / 0.9164 GB, free: 1.016 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008378/0.3575, allocations: 143.7 kB / 0.9166 GB, free: 0.875 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001819/0.3577, allocations: 99.39 kB / 0.9167 GB, free: 0.7773 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.368e-05/0.3578, allocations: 36.19 kB / 0.9167 GB, free: 0.7422 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0006607/0.3584, allocations: 0.5888 MB / 0.9173 GB, free: 164 kB / 0.7325 GB Notification: Performance of sort global known variables: time 2.5e-07/0.3584, allocations: 3.938 kB / 0.9173 GB, free: 160 kB / 0.7325 GB Notification: Performance of remove unused functions: time 0.3842/0.7427, allocations: 0.7452 MB / 0.918 GB, free: 127.5 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 (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.003247/0.746, allocations: 2.975 MB / 0.9209 GB, free: 126.2 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.004254/0.7502, allocations: 3.008 MB / 0.9238 GB, free: 125.9 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.208e-05/0.7503, allocations: 0 / 0.9238 GB, free: 125.9 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.001036/0.7513, allocations: 0.9091 MB / 0.9247 GB, free: 125.6 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001775/0.7531, allocations: 298.8 kB / 0.925 GB, free: 125.5 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01997/0.7731, allocations: 15.56 MB / 0.9402 GB, free: 117.1 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002454/0.7756, allocations: 2.128 MB / 0.9423 GB, free: 116 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001944/0.7775, allocations: 0.7386 MB / 0.943 GB, free: 116 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009679/0.7785, allocations: 0.8241 MB / 0.9438 GB, free: 115.3 MB / 0.7325 GB Notification: Performance of SimCode: time 1.242e-06/0.7785, allocations: 0 / 0.9438 GB, free: 115.3 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1861/0.9646, allocations: 31.61 MB / 0.9747 GB, free: 97.04 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.249/9.214, allocations: 11.36 kB / 0.9747 GB, free: 97.03 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/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)