Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.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: translateModel(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource") translateModel(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001295/0.001295, allocations: 105.4 kB / 15.98 MB, free: 6.352 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.001175/0.001175, allocations: 191.1 kB / 16.91 MB, free: 6.195 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.346/1.346, allocations: 222.9 MB / 240.6 MB, free: 15.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7518/0.7518, allocations: 122.9 MB / 413.6 MB, free: 88 kB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001315/0.001315, allocations: 67.89 kB / 0.4906 GB, free: 7.801 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3553/0.3566, allocations: 77.91 MB / 0.5667 GB, free: 32.78 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource): time 0.0181/0.3747, allocations: 16.59 MB / 0.5829 GB, free: 21.75 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01031/0.3851, allocations: 6.362 MB / 0.5891 GB, free: 16.98 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001956/0.3871, allocations: 44.44 kB / 0.5892 GB, free: 16.96 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003101/0.3903, allocations: 1.204 MB / 0.5903 GB, free: 16.05 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002714/0.393, allocations: 0.8045 MB / 0.5911 GB, free: 15.43 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003885/0.3969, allocations: 1.439 MB / 0.5925 GB, free: 14.34 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0051/0.402, allocations: 3.862 MB / 0.5963 GB, free: 12.21 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006942/0.409, allocations: 6.042 MB / 0.6022 GB, free: 6.578 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002594/0.4116, allocations: 1.667 MB / 0.6038 GB, free: 4.906 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00237/0.414, allocations: 2.096 MB / 0.6059 GB, free: 2.805 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004285/0.4144, allocations: 380 kB / 0.6062 GB, free: 2.434 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001524/0.4159, allocations: 0.8465 MB / 0.6071 GB, free: 1.586 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001084/0.417, allocations: 1.493 MB / 0.6085 GB, free: 92 kB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001872/0.4189, allocations: 1.533 MB / 0.61 GB, free: 14.54 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00572/0.4247, allocations: 5.567 MB / 0.6154 GB, free: 8.965 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.705e-06/0.4247, allocations: 4 kB / 0.6155 GB, free: 8.961 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.4247, allocations: 4 kB / 0.6155 GB, free: 8.957 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0001106/0.4248, allocations: 0 / 0.6155 GB, free: 8.957 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: 689 * Number of variables: 689 Notification: Performance of Generate backend data structure: time 0.005594/0.4304, allocations: 2.73 MB / 0.6181 GB, free: 6.168 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.885e-05/0.4305, allocations: 12.03 kB / 0.6181 GB, free: 6.156 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00508/0.4356, allocations: 0.907 MB / 0.619 GB, free: 5.246 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002422/0.438, allocations: 1.415 MB / 0.6204 GB, free: 3.785 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001371/0.4382, allocations: 189.5 kB / 0.6206 GB, free: 3.598 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004409/0.4386, allocations: 252.4 kB / 0.6208 GB, free: 3.352 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007674/0.4463, allocations: 4.654 MB / 0.6254 GB, free: 14.49 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.343e-05/0.4464, allocations: 11.88 kB / 0.6254 GB, free: 14.48 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002909/0.4467, allocations: 108 kB / 0.6255 GB, free: 14.38 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000213/0.4469, allocations: 184.2 kB / 0.6257 GB, free: 14.2 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006506/0.4534, allocations: 3.917 MB / 0.6295 GB, free: 10.27 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0227/0.4761, allocations: 21.56 MB / 0.6505 GB, free: 2.805 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002613/0.4788, allocations: 2.245 MB / 0.6527 GB, free: 276 kB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009924/0.4798, allocations: 0.7203 MB / 0.6534 GB, free: 15.53 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.542e-05/0.4799, allocations: 19.98 kB / 0.6535 GB, free: 15.51 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.962e-05/0.4799, allocations: 50.42 kB / 0.6535 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=62): time 2.936e-06/0.4799, allocations: 0 / 0.6535 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of matching and sorting (n=68): time 0.005771/0.4857, allocations: 4.192 MB / 0.6576 GB, free: 11.21 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001043/0.4858, allocations: 239.3 kB / 0.6578 GB, free: 10.92 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00164/0.4875, allocations: 1.167 MB / 0.659 GB, free: 9.727 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.842e-05/0.4875, allocations: 37.7 kB / 0.659 GB, free: 9.684 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000698/0.4883, allocations: 1.191 MB / 0.6602 GB, free: 8.473 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002239/0.4885, allocations: 252.6 kB / 0.6604 GB, free: 8.223 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005165/0.489, allocations: 347 kB / 0.6607 GB, free: 7.879 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001584/0.4892, allocations: 341.9 kB / 0.6611 GB, free: 7.539 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001246/0.4904, allocations: 0.7503 MB / 0.6618 GB, free: 6.785 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001703/0.4921, allocations: 1.45 MB / 0.6632 GB, free: 5.008 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002754/0.4949, allocations: 2.197 MB / 0.6654 GB, free: 2.48 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-05/0.4949, allocations: 8 kB / 0.6654 GB, free: 2.473 MB / 0.4981 GB Notification: Performance of matching and sorting (n=192) (initialization): time 0.003703/0.4986, allocations: 2.266 MB / 0.6676 GB, free: 204 kB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.165e-05/0.4987, allocations: 19.94 kB / 0.6676 GB, free: 184 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.933e-05/0.4987, allocations: 28.16 kB / 0.6676 GB, free: 156 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.194e-05/0.4988, allocations: 32 kB / 0.6677 GB, free: 124 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001629/0.5004, allocations: 455.1 kB / 0.6681 GB, free: 15.68 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.892e-05/0.5005, allocations: 43.86 kB / 0.6681 GB, free: 15.63 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001733/0.5022, allocations: 227.4 kB / 0.6683 GB, free: 15.41 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001281/0.5023, allocations: 91.92 kB / 0.6684 GB, free: 15.32 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002323/0.5047, allocations: 1.589 MB / 0.67 GB, free: 13.73 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001479/0.5062, allocations: 1.368 MB / 0.6713 GB, free: 12.01 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002329/0.5085, allocations: 2.012 MB / 0.6733 GB, free: 9.648 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.111e-05/0.5085, allocations: 8 kB / 0.6733 GB, free: 9.641 MB / 0.5137 GB Notification: Performance of matching and sorting (n=192) (initialization_lambda0): time 0.003302/0.5118, allocations: 2.066 MB / 0.6753 GB, free: 7.566 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.33e-05/0.5119, allocations: 16 kB / 0.6753 GB, free: 7.551 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.237e-05/0.5119, allocations: 24 kB / 0.6753 GB, free: 7.527 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.982e-05/0.5119, allocations: 39.94 kB / 0.6754 GB, free: 7.488 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001388/0.5133, allocations: 403.3 kB / 0.6758 GB, free: 7.094 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.897e-05/0.5134, allocations: 55.78 kB / 0.6758 GB, free: 7.039 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001568/0.5149, allocations: 195.9 kB / 0.676 GB, free: 6.848 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001143/0.5151, allocations: 87.98 kB / 0.6761 GB, free: 6.762 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 108 * 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 (192): * Single equations (assignments): 192 * 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.0003814/0.5155, allocations: 283.6 kB / 0.6764 GB, free: 6.477 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002883/0.5158, allocations: 106.7 kB / 0.6765 GB, free: 6.371 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001549/0.5173, allocations: 1.095 MB / 0.6775 GB, free: 5.273 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.425e-06/0.5173, allocations: 12 kB / 0.6775 GB, free: 5.262 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.946e-06/0.5173, allocations: 4 kB / 0.6775 GB, free: 5.258 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.097e-06/0.5174, allocations: 3.984 kB / 0.6776 GB, free: 5.254 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01205/0.5294, allocations: 10.21 MB / 0.6875 GB, free: 10.78 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.675e-05/0.5295, allocations: 16 kB / 0.6875 GB, free: 10.77 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006405/0.5301, allocations: 191.6 kB / 0.6877 GB, free: 10.58 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.86e-05/0.5301, allocations: 20 kB / 0.6877 GB, free: 10.56 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.847e-05/0.5302, allocations: 28 kB / 0.6878 GB, free: 10.53 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.053e-05/0.5302, allocations: 27.92 kB / 0.6878 GB, free: 10.5 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.5e-05/0.5302, allocations: 27.88 kB / 0.6878 GB, free: 10.48 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001988/0.5322, allocations: 2.17 MB / 0.6899 GB, free: 8.09 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004659/0.5327, allocations: 331.6 kB / 0.6903 GB, free: 7.746 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000169/0.5329, allocations: 35.98 kB / 0.6903 GB, free: 7.711 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00116/0.5341, allocations: 111.9 kB / 0.6904 GB, free: 7.602 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001331/0.5342, allocations: 99.55 kB / 0.6905 GB, free: 7.504 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.467e-05/0.5343, allocations: 36 kB / 0.6905 GB, free: 7.469 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001209/0.5355, allocations: 0.8166 MB / 0.6913 GB, free: 6.641 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.515e-06/0.5355, allocations: 0 / 0.6913 GB, free: 6.641 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.002774/0.5383, allocations: 0.7499 MB / 0.6921 GB, free: 5.891 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 70 * 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 (74): * Single equations (assignments): 74 * 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.0002121/0.5385, allocations: 150.9 kB / 0.6922 GB, free: 5.73 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.004005/0.5425, allocations: 2.606 MB / 0.6947 GB, free: 3.137 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.098e-05/0.5425, allocations: 4 kB / 0.6947 GB, free: 3.133 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0007351/0.5433, allocations: 0.5733 MB / 0.6953 GB, free: 2.562 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001921/0.5452, allocations: 254 kB / 0.6955 GB, free: 2.328 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00834/0.5535, allocations: 5.495 MB / 0.7009 GB, free: 12.59 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002096/0.5557, allocations: 2.003 MB / 0.7029 GB, free: 10.55 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.002451/0.5581, allocations: 0.8834 MB / 0.7037 GB, free: 9.66 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003148/0.5585, allocations: 87.42 kB / 0.7038 GB, free: 9.574 MB / 0.545 GB Notification: Performance of SimCode: time 8.51e-07/0.5585, allocations: 0 / 0.7038 GB, free: 9.574 MB / 0.545 GB Notification: Performance of Templates: time 0.02541/0.5839, allocations: 15.14 MB / 0.7186 GB, free: 10.55 MB / 0.5606 GB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.sim & ./IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.pipe 2>&1)