Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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 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_N,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N,fileNamePrefix="IBPSA_latest_IBPSA_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.001124/0.001124, allocations: 102.7 kB / 16.27 MB, free: 5.93 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.001112/0.001112, allocations: 190.5 kB / 17.2 MB, free: 5.574 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.3/1.3, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7156/0.7156, allocations: 122.9 MB / 413.9 MB, free: 15.92 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001476/0.001476, allocations: 60.08 kB / 0.4912 GB, free: 7.34 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3685/0.37, allocations: 77.93 MB / 0.5673 GB, free: 32.84 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N): time 0.0211/0.3911, allocations: 20.4 MB / 0.5872 GB, free: 18.89 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01144/0.4026, allocations: 7.698 MB / 0.5947 GB, free: 12.84 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001908/0.4045, allocations: 60.81 kB / 0.5948 GB, free: 12.83 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002987/0.4076, allocations: 1.339 MB / 0.5961 GB, free: 11.79 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002842/0.4104, allocations: 1.001 MB / 0.5971 GB, free: 10.99 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004221/0.4147, allocations: 2 MB / 0.599 GB, free: 9.43 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.003362/0.418, allocations: 4.327 MB / 0.6033 GB, free: 5.895 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004775/0.4228, allocations: 6.255 MB / 0.6094 GB, free: 15.63 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002197/0.425, allocations: 1.839 MB / 0.6112 GB, free: 13.79 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002442/0.4275, allocations: 2.193 MB / 0.6133 GB, free: 11.59 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005541/0.4281, allocations: 432 kB / 0.6137 GB, free: 11.16 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001584/0.4297, allocations: 0.948 MB / 0.6147 GB, free: 10.21 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001296/0.431, allocations: 1.657 MB / 0.6163 GB, free: 8.555 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001558/0.4325, allocations: 1.716 MB / 0.6179 GB, free: 6.832 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004531/0.4371, allocations: 6.139 MB / 0.6239 GB, free: 0.6758 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.4371, allocations: 4 kB / 0.6239 GB, free: 0.6719 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.4371, allocations: 0 / 0.6239 GB, free: 0.6719 MB / 462.1 MB Notification: Performance of Transformations before backend: time 6.095e-05/0.4372, allocations: 0 / 0.6239 GB, free: 0.6719 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: 776 * Number of variables: 776 Notification: Performance of Generate backend data structure: time 0.004751/0.4419, allocations: 3.047 MB / 0.6269 GB, free: 13.56 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.687e-05/0.442, allocations: 8.031 kB / 0.6269 GB, free: 13.55 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005155/0.4425, allocations: 450 kB / 0.6274 GB, free: 13.11 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003308/0.4458, allocations: 0.7467 MB / 0.6281 GB, free: 12.36 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002303/0.4481, allocations: 1.536 MB / 0.6296 GB, free: 10.78 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001354/0.4483, allocations: 222.1 kB / 0.6298 GB, free: 10.56 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000406/0.4487, allocations: 288.3 kB / 0.6301 GB, free: 10.28 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007273/0.456, allocations: 5.09 MB / 0.635 GB, free: 5 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.302e-05/0.456, allocations: 7.938 kB / 0.6351 GB, free: 4.992 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002891/0.4563, allocations: 120 kB / 0.6352 GB, free: 4.875 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002008/0.4565, allocations: 212.6 kB / 0.6354 GB, free: 4.664 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006413/0.4629, allocations: 4.22 MB / 0.6395 GB, free: 436 kB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02296/0.4859, allocations: 23.07 MB / 0.662 GB, free: 7.219 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00286/0.4888, allocations: 1.739 MB / 0.6637 GB, free: 5.445 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001628/0.4905, allocations: 1.126 MB / 0.6648 GB, free: 4.305 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001543/0.4906, allocations: 101.8 kB / 0.6649 GB, free: 4.188 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.214e-05/0.4907, allocations: 51.14 kB / 0.665 GB, free: 4.129 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=84): time 2.775e-06/0.4907, allocations: 4 kB / 0.665 GB, free: 4.125 MB / 0.4981 GB Notification: Performance of matching and sorting (n=87): time 0.006881/0.4976, allocations: 4.005 MB / 0.6689 GB, free: 88 kB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.878e-05/0.4977, allocations: 137.2 kB / 0.669 GB, free: 15.92 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001228/0.4989, allocations: 0.8682 MB / 0.6699 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 9.087e-05/0.499, allocations: 37.7 kB / 0.6699 GB, free: 15 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007457/0.4998, allocations: 1.166 MB / 0.671 GB, free: 13.82 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.000295/0.5001, allocations: 311.6 kB / 0.6713 GB, free: 13.51 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004309/0.5005, allocations: 278.5 kB / 0.6716 GB, free: 13.23 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001718/0.5007, allocations: 406.7 kB / 0.672 GB, free: 12.82 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001302/0.502, allocations: 0.8296 MB / 0.6728 GB, free: 11.99 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001634/0.5037, allocations: 1.306 MB / 0.6741 GB, free: 10.46 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002862/0.5065, allocations: 2.167 MB / 0.6762 GB, free: 8.098 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.108e-05/0.5066, allocations: 4 kB / 0.6762 GB, free: 8.094 MB / 0.5137 GB Notification: Performance of matching and sorting (n=156) (initialization): time 0.003488/0.51, allocations: 2.215 MB / 0.6783 GB, free: 5.875 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.182e-05/0.5101, allocations: 12.09 kB / 0.6784 GB, free: 5.863 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.13e-05/0.5101, allocations: 16.03 kB / 0.6784 GB, free: 5.848 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.15e-05/0.5101, allocations: 24 kB / 0.6784 GB, free: 5.824 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001552/0.5117, allocations: 415.3 kB / 0.6788 GB, free: 5.418 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.146e-05/0.5117, allocations: 31.86 kB / 0.6788 GB, free: 5.387 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001301/0.5131, allocations: 211.3 kB / 0.679 GB, free: 5.18 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001188/0.5132, allocations: 63.98 kB / 0.6791 GB, free: 5.117 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002791/0.516, allocations: 1.674 MB / 0.6807 GB, free: 3.438 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001404/0.5174, allocations: 1.19 MB / 0.6819 GB, free: 2.016 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002474/0.5199, allocations: 1.91 MB / 0.6837 GB, free: 15.89 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.573e-05/0.5199, allocations: 7.984 kB / 0.6838 GB, free: 15.88 MB / 0.5294 GB Notification: Performance of matching and sorting (n=156) (initialization_lambda0): time 0.003175/0.5231, allocations: 1.933 MB / 0.6856 GB, free: 13.95 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.077e-05/0.5231, allocations: 12 kB / 0.6857 GB, free: 13.93 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.109e-05/0.5231, allocations: 20 kB / 0.6857 GB, free: 13.91 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.198e-05/0.5232, allocations: 20 kB / 0.6857 GB, free: 13.89 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001293/0.5245, allocations: 359.4 kB / 0.686 GB, free: 13.54 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.062e-05/0.5245, allocations: 36.17 kB / 0.6861 GB, free: 13.51 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001277/0.5258, allocations: 175.3 kB / 0.6862 GB, free: 13.34 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001246/0.5259, allocations: 63.98 kB / 0.6863 GB, free: 13.27 MB / 0.5294 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.0003613/0.5263, allocations: 263.8 kB / 0.6865 GB, free: 13.01 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002696/0.5266, allocations: 110.8 kB / 0.6867 GB, free: 12.9 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002806/0.5294, allocations: 1.846 MB / 0.6885 GB, free: 11.04 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.219e-05/0.5294, allocations: 11.98 kB / 0.6885 GB, free: 11.02 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.434e-06/0.5294, allocations: 0 / 0.6885 GB, free: 11.02 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.045e-05/0.5295, allocations: 7.984 kB / 0.6885 GB, free: 11.02 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01243/0.5419, allocations: 9.588 MB / 0.6978 GB, free: 1.176 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.41e-05/0.5419, allocations: 12 kB / 0.6979 GB, free: 1.164 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00117/0.5431, allocations: 311.4 kB / 0.6981 GB, free: 0.8594 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.767e-05/0.5431, allocations: 16 kB / 0.6982 GB, free: 0.8438 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.829e-05/0.5432, allocations: 28 kB / 0.6982 GB, free: 0.8164 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.092e-05/0.5433, allocations: 27.86 kB / 0.6982 GB, free: 0.7891 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.009e-05/0.5433, allocations: 16.31 kB / 0.6982 GB, free: 0.7734 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002819/0.5461, allocations: 2.398 MB / 0.7006 GB, free: 14.21 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007065/0.5468, allocations: 375.6 kB / 0.7009 GB, free: 13.83 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002507/0.5471, allocations: 32 kB / 0.701 GB, free: 13.8 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001125/0.5482, allocations: 151.7 kB / 0.7011 GB, free: 13.65 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002049/0.5484, allocations: 91.45 kB / 0.7012 GB, free: 13.56 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.277e-05/0.5485, allocations: 39.98 kB / 0.7012 GB, free: 13.52 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001006/0.5495, allocations: 0.6122 MB / 0.7018 GB, free: 12.91 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.774e-06/0.5495, allocations: 0 / 0.7018 GB, free: 12.91 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.003066/0.5526, allocations: 0.7617 MB / 0.7026 GB, free: 12.15 MB / 0.545 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.003414/0.556, allocations: 2.989 MB / 0.7055 GB, free: 8.988 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0053/0.5613, allocations: 3.042 MB / 0.7085 GB, free: 5.953 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.03e-05/0.5614, allocations: 3.938 kB / 0.7085 GB, free: 5.949 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001245/0.5626, allocations: 0.9121 MB / 0.7094 GB, free: 5.039 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001804/0.5644, allocations: 299.2 kB / 0.7096 GB, free: 4.766 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02399/0.5884, allocations: 15.73 MB / 0.725 GB, free: 4.133 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002433/0.5909, allocations: 2.124 MB / 0.7271 GB, free: 1.977 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001991/0.5929, allocations: 0.7462 MB / 0.7278 GB, free: 1.227 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001192/0.5941, allocations: 0.8312 MB / 0.7286 GB, free: 404 kB / 0.5606 GB Notification: Performance of SimCode: time 1.022e-06/0.5941, allocations: 0 / 0.7286 GB, free: 404 kB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3121/0.9063, allocations: 32.15 MB / 0.76 GB, free: 156.6 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.484/8.39, allocations: 5.844 kB / 0.76 GB, free: 156.6 MB / 0.5762 GB (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads_N.fmu > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe 2>&1)