Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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: "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads",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.0008431/0.0008429, allocations: 95.33 kB / 15.68 MB, free: 488 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.00091/0.0009099, allocations: 175.2 kB / 16.57 MB, free: 6.391 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.318/1.318, allocations: 223.2 MB / 240.5 MB, free: 5.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6564/0.6565, allocations: 113.7 MB / 405.3 MB, free: 4.664 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003079/0.0003079, allocations: 8 kB / 493 MB, free: 8.551 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1502/0.1505, allocations: 77.11 MB / 0.5567 GB, free: 11.64 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads): time 0.3726/0.5232, allocations: 33.18 MB / 0.5891 GB, free: 18.17 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.02364/0.5469, allocations: 12.79 MB / 0.6016 GB, free: 15.04 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004858/0.5518, allocations: 95.59 kB / 0.6017 GB, free: 15.01 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004632/0.5565, allocations: 0.7195 MB / 0.6024 GB, free: 14.6 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008875/0.5654, allocations: 1.473 MB / 0.6039 GB, free: 14.07 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009927/0.5753, allocations: 2.11 MB / 0.6059 GB, free: 13.09 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.008625/0.584, allocations: 2.95 MB / 0.6088 GB, free: 11.61 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02022/0.6042, allocations: 10.06 MB / 0.6186 GB, free: 7.141 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004078/0.6083, allocations: 1.518 MB / 0.6201 GB, free: 6.273 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004102/0.6125, allocations: 1.693 MB / 0.6218 GB, free: 5.25 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001669/0.6142, allocations: 254.3 kB / 0.622 GB, free: 5.25 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003015/0.6172, allocations: 0.5359 MB / 0.6225 GB, free: 5.105 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003655/0.6209, allocations: 1.836 MB / 0.6243 GB, free: 4.105 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002618/0.6235, allocations: 0.8132 MB / 0.6251 GB, free: 3.609 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00977/0.6333, allocations: 7.621 MB / 0.6326 GB, free: 13.74 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.574e-06/0.6333, allocations: 0 / 0.6326 GB, free: 13.74 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.6333, allocations: 0 / 0.6326 GB, free: 13.74 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0003446/0.6337, allocations: 4 kB / 0.6326 GB, free: 13.74 MB / 462.1 MB 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.009968/0.6437, allocations: 3.446 MB / 0.6359 GB, free: 10.23 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.893e-05/0.6437, allocations: 8.031 kB / 0.6359 GB, free: 10.22 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002597/0.6463, allocations: 0.6364 MB / 0.6365 GB, free: 9.574 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005187/0.6515, allocations: 0.998 MB / 0.6375 GB, free: 8.57 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005572/0.6571, allocations: 2.155 MB / 0.6396 GB, free: 6.367 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003251/0.6575, allocations: 324.6 kB / 0.6399 GB, free: 6.047 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001722/0.6592, allocations: 428 kB / 0.6403 GB, free: 5.629 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01623/0.6754, allocations: 7.291 MB / 0.6475 GB, free: 14.1 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001271/0.6756, allocations: 11.94 kB / 0.6475 GB, free: 14.09 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006661/0.6763, allocations: 184 kB / 0.6477 GB, free: 13.91 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003049/0.6766, allocations: 286.9 kB / 0.6479 GB, free: 13.63 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01011/0.6867, allocations: 5.932 MB / 0.6537 GB, free: 7.684 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03449/0.7212, allocations: 32.63 MB / 0.6856 GB, free: 4.207 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002856/0.7241, allocations: 2.107 MB / 0.6876 GB, free: 2.066 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001435/0.7243, allocations: 98.09 kB / 0.6877 GB, free: 1.953 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.331e-05/0.7243, allocations: 55.48 kB / 0.6878 GB, free: 1.891 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=98): time 2.024e-06/0.7243, allocations: 0 / 0.6878 GB, free: 1.891 MB / 0.4981 GB Notification: Performance of matching and sorting (n=101): time 0.006341/0.7307, allocations: 5.223 MB / 0.6929 GB, free: 12.62 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.485e-05/0.7307, allocations: 146.1 kB / 0.693 GB, free: 12.45 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001632/0.7324, allocations: 1.441 MB / 0.6944 GB, free: 11 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 9.064e-05/0.7325, allocations: 41.7 kB / 0.6945 GB, free: 10.95 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009538/0.7334, allocations: 1.859 MB / 0.6963 GB, free: 9.062 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002967/0.7337, allocations: 382.8 kB / 0.6967 GB, free: 8.684 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.908e-05/0.7339, allocations: 40 kB / 0.6967 GB, free: 8.645 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001526/0.734, allocations: 405.9 kB / 0.6971 GB, free: 8.242 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001396/0.7354, allocations: 1.093 MB / 0.6982 GB, free: 7.145 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00199/0.7374, allocations: 2.165 MB / 0.7003 GB, free: 4.461 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001753/0.7392, allocations: 1.529 MB / 0.7018 GB, free: 2.934 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.293e-05/0.7392, allocations: 12 kB / 0.7018 GB, free: 2.922 MB / 0.5137 GB Notification: Performance of matching and sorting (n=264) (initialization): time 0.004281/0.7435, allocations: 3.296 MB / 0.705 GB, free: 15.62 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.004267/0.7478, allocations: 13.42 MB / 0.7181 GB, free: 1.148 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.96e-05/0.7478, allocations: 36 kB / 0.7181 GB, free: 1.113 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.874e-05/0.7479, allocations: 52 kB / 0.7182 GB, free: 1.062 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002184/0.7501, allocations: 0.62 MB / 0.7188 GB, free: 452 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.906e-05/0.7501, allocations: 71.7 kB / 0.7188 GB, free: 380 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001744/0.7519, allocations: 314.7 kB / 0.7191 GB, free: 64 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001537/0.7521, allocations: 112 kB / 0.7193 GB, free: 15.95 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.095e-05/0.7521, allocations: 5.719 kB / 0.7193 GB, free: 15.95 MB / 0.545 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003397/0.7555, allocations: 2.734 MB / 0.7219 GB, free: 13.22 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.312e-05/0.7555, allocations: 36 kB / 0.722 GB, free: 13.18 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.198e-05/0.7556, allocations: 52 kB / 0.722 GB, free: 13.13 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001556/0.7571, allocations: 0.5498 MB / 0.7226 GB, free: 12.58 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.614e-05/0.7572, allocations: 75.67 kB / 0.7226 GB, free: 12.51 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00134/0.7585, allocations: 227.2 kB / 0.7228 GB, free: 12.29 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001278/0.7587, allocations: 104 kB / 0.7229 GB, free: 12.18 MB / 0.545 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002533/0.7612, allocations: 1.71 MB / 0.7246 GB, free: 10.46 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003336/0.7616, allocations: 162 kB / 0.7248 GB, free: 10.3 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002833/0.7644, allocations: 2.23 MB / 0.7269 GB, free: 8.055 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.096e-05/0.7644, allocations: 12 kB / 0.727 GB, free: 8.043 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.536e-06/0.7644, allocations: 7.953 kB / 0.727 GB, free: 8.035 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.128e-05/0.7644, allocations: 12.11 kB / 0.727 GB, free: 8.023 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01378/0.7782, allocations: 10.97 MB / 0.7377 GB, free: 12.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-05/0.7783, allocations: 16.25 kB / 0.7377 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00134/0.7796, allocations: 379.3 kB / 0.7381 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.66e-05/0.7797, allocations: 20 kB / 0.7381 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.942e-05/0.7797, allocations: 35.95 kB / 0.7381 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.52e-05/0.7798, allocations: 27.86 kB / 0.7381 GB, free: 12.33 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.125e-05/0.7798, allocations: 15.94 kB / 0.7382 GB, free: 12.32 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003187/0.783, allocations: 3.466 MB / 0.7415 GB, free: 8.34 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008633/0.7838, allocations: 466.8 kB / 0.742 GB, free: 7.863 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001892/0.784, allocations: 32 kB / 0.742 GB, free: 7.832 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001009/0.7851, allocations: 167.7 kB / 0.7422 GB, free: 7.668 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001589/0.7852, allocations: 96.25 kB / 0.7423 GB, free: 7.574 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.227e-05/0.7853, allocations: 40 kB / 0.7423 GB, free: 7.535 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001183/0.7865, allocations: 0.9586 MB / 0.7432 GB, free: 6.578 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7865, allocations: 4 kB / 0.7432 GB, free: 6.574 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003466/0.79, allocations: 1.129 MB / 0.7444 GB, free: 5.445 MB / 0.5606 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 (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.004137/0.7941, allocations: 7.285 MB / 0.7515 GB, free: 13.81 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.005367/0.7995, allocations: 3.964 MB / 0.7553 GB, free: 9.859 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 7.824e-06/0.7995, allocations: 1.812 kB / 0.7553 GB, free: 9.859 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001302/0.8008, allocations: 1.054 MB / 0.7564 GB, free: 8.805 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001804/0.8026, allocations: 392.4 kB / 0.7567 GB, free: 8.43 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02959/0.8322, allocations: 39.82 MB / 0.7956 GB, free: 15.43 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002519/0.8348, allocations: 2.928 MB / 0.7985 GB, free: 12.47 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.002588/0.8374, allocations: 1.2 MB / 0.7997 GB, free: 11.26 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001381/0.8388, allocations: 1.28 MB / 0.8009 GB, free: 9.98 MB / 0.6231 GB Notification: Performance of SimCode: time 5.51e-07/0.8388, allocations: 0 / 0.8009 GB, free: 9.98 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.083/2.922, allocations: 45.85 MB / 0.8457 GB, free: 212.2 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001621/2.922, allocations: 195.5 kB / 0.8459 GB, free: 212 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.303/5.225, allocations: 0 / 0.8459 GB, free: 212 MB / 0.6387 GB (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads.fmu > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe 2>&1) Environment - environmentSimulation: