Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.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.Loads.Examples.Impedances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances") translateModel(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001063/0.001062, allocations: 93.73 kB / 16.02 MB, free: 84 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.0009676/0.0009676, allocations: 186.6 kB / 16.92 MB, free: 6.891 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.381/1.381, allocations: 223.3 MB / 241 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7328/0.7328, allocations: 123 MB / 415.1 MB, free: 11.15 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003477/0.0003478, allocations: 12.61 kB / 0.4933 GB, free: 14 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4367/0.4371, allocations: 79.28 MB / 0.5707 GB, free: 9.914 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances): time 0.01474/0.4519, allocations: 15.35 MB / 0.5857 GB, free: 468 kB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.008408/0.4603, allocations: 4.78 MB / 0.5904 GB, free: 13.16 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001467/0.4618, allocations: 63.59 kB / 0.5905 GB, free: 13.13 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009306/0.4628, allocations: 252.7 kB / 0.5907 GB, free: 12.98 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002611/0.4654, allocations: 0.6925 MB / 0.5914 GB, free: 12.58 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002332/0.4677, allocations: 0.666 MB / 0.592 GB, free: 12.19 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.007365/0.4751, allocations: 5.255 MB / 0.5972 GB, free: 10.52 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01066/0.4858, allocations: 5.834 MB / 0.6029 GB, free: 7.711 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003613/0.4895, allocations: 1.095 MB / 0.6039 GB, free: 7.137 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003934/0.4934, allocations: 1.511 MB / 0.6054 GB, free: 6.277 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008427/0.4943, allocations: 143.3 kB / 0.6055 GB, free: 6.277 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002758/0.4971, allocations: 0.7316 MB / 0.6063 GB, free: 5.934 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002101/0.4992, allocations: 1.079 MB / 0.6073 GB, free: 5.316 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002985/0.5022, allocations: 1.184 MB / 0.6085 GB, free: 4.5 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006886/0.5091, allocations: 4.892 MB / 0.6133 GB, free: 0.9453 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.833e-06/0.5091, allocations: 0 / 0.6133 GB, free: 0.9453 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.5092, allocations: 0 / 0.6133 GB, free: 0.9453 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.000214/0.5094, allocations: 0 / 0.6133 GB, free: 0.9453 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 641 * Number of variables: 641 Notification: Performance of Generate backend data structure: time 0.006533/0.5159, allocations: 2.178 MB / 0.6154 GB, free: 14.71 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.666e-05/0.516, allocations: 8.031 kB / 0.6154 GB, free: 14.7 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005041/0.521, allocations: 0.8368 MB / 0.6162 GB, free: 13.86 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003209/0.5243, allocations: 1.501 MB / 0.6177 GB, free: 12.31 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000134/0.5244, allocations: 185.1 kB / 0.6178 GB, free: 12.13 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005399/0.525, allocations: 228.4 kB / 0.6181 GB, free: 11.91 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008291/0.5333, allocations: 4.165 MB / 0.6221 GB, free: 7.602 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.773e-05/0.5334, allocations: 7.922 kB / 0.6221 GB, free: 7.594 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002743/0.5337, allocations: 104 kB / 0.6222 GB, free: 7.492 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002182/0.5339, allocations: 168.5 kB / 0.6224 GB, free: 7.324 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006546/0.5404, allocations: 3.636 MB / 0.6259 GB, free: 3.672 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02016/0.5606, allocations: 16.55 MB / 0.6421 GB, free: 1.695 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003482/0.5642, allocations: 2.306 MB / 0.6444 GB, free: 15.18 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008808/0.5651, allocations: 0.578 MB / 0.6449 GB, free: 14.6 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001581/0.5652, allocations: 97.66 kB / 0.645 GB, free: 14.48 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.131e-05/0.5653, allocations: 43.06 kB / 0.6451 GB, free: 14.43 MB / 494.1 MB Notification: Performance of pre-optimization done (n=72): time 2.324e-06/0.5653, allocations: 0 / 0.6451 GB, free: 14.43 MB / 494.1 MB Notification: Performance of matching and sorting (n=76): time 0.00597/0.5713, allocations: 3.459 MB / 0.6484 GB, free: 10.87 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.768e-05/0.5714, allocations: 111.5 kB / 0.6485 GB, free: 10.74 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001396/0.5728, allocations: 1.018 MB / 0.6495 GB, free: 9.695 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 5.422e-05/0.5728, allocations: 37.7 kB / 0.6496 GB, free: 9.652 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007396/0.5736, allocations: 1.103 MB / 0.6507 GB, free: 8.531 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002254/0.5738, allocations: 272.1 kB / 0.6509 GB, free: 8.262 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001588/0.574, allocations: 113.7 kB / 0.651 GB, free: 8.145 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0002048/0.5742, allocations: 414.7 kB / 0.6514 GB, free: 7.73 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000926/0.5751, allocations: 0.6207 MB / 0.652 GB, free: 7.109 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001326/0.5765, allocations: 1.193 MB / 0.6532 GB, free: 5.656 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002329/0.5788, allocations: 1.876 MB / 0.655 GB, free: 3.516 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-05/0.5788, allocations: 8 kB / 0.655 GB, free: 3.508 MB / 494.1 MB Notification: Performance of matching and sorting (n=173) (initialization): time 0.003183/0.582, allocations: 2.026 MB / 0.657 GB, free: 1.461 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.055e-05/0.5821, allocations: 16.62 kB / 0.657 GB, free: 1.445 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.267e-05/0.5821, allocations: 20 kB / 0.657 GB, free: 1.426 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000447/0.5825, allocations: 159.3 kB / 0.6572 GB, free: 1.258 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001142/0.5837, allocations: 347.4 kB / 0.6575 GB, free: 0.918 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.631e-05/0.5837, allocations: 43.8 kB / 0.6576 GB, free: 0.875 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001082/0.5848, allocations: 135.7 kB / 0.6577 GB, free: 0.7422 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001005/0.5849, allocations: 71.98 kB / 0.6578 GB, free: 0.6719 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 86 * 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 (169): * Single equations (assignments): 165 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 4 systems {(2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001799/0.5868, allocations: 0.9733 MB / 0.6587 GB, free: 15.69 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002294/0.587, allocations: 118.6 kB / 0.6588 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00212/0.5891, allocations: 1.237 MB / 0.66 GB, free: 14.31 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.1e-05/0.5891, allocations: 11.94 kB / 0.66 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.819e-06/0.5892, allocations: 8 kB / 0.6601 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.578e-06/0.5892, allocations: 3.984 kB / 0.6601 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005601/0.5948, allocations: 3.811 MB / 0.6638 GB, free: 10.33 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.466e-06/0.5948, allocations: 4 kB / 0.6638 GB, free: 10.32 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006075/0.5954, allocations: 159.8 kB / 0.6639 GB, free: 10.17 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003534/0.5958, allocations: 139.6 kB / 0.6641 GB, free: 10.02 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.537e-05/0.5958, allocations: 20 kB / 0.6641 GB, free: 10 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.958e-06/0.5959, allocations: 7.938 kB / 0.6641 GB, free: 9.992 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.23e-06/0.5959, allocations: 7.938 kB / 0.6641 GB, free: 9.984 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001971/0.5978, allocations: 1.472 MB / 0.6655 GB, free: 8.457 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004973/0.5983, allocations: 303.5 kB / 0.6658 GB, free: 8.141 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001265/0.5985, allocations: 16 kB / 0.6658 GB, free: 8.125 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006176/0.5991, allocations: 87.83 kB / 0.6659 GB, free: 8.039 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001292/0.5992, allocations: 56.42 kB / 0.666 GB, free: 7.984 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.339e-05/0.5993, allocations: 24 kB / 0.666 GB, free: 7.961 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0009252/0.6002, allocations: 0.6875 MB / 0.6667 GB, free: 7.262 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6002, allocations: 0 / 0.6667 GB, free: 7.262 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001554/0.6018, allocations: 392 kB / 0.6671 GB, free: 6.879 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * 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 (76): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 4 systems {(2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002123/0.602, allocations: 127.1 kB / 0.6672 GB, free: 6.746 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.002349/0.6044, allocations: 1.723 MB / 0.6689 GB, free: 4.941 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/0.6044, allocations: 0 / 0.6689 GB, free: 4.941 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0009819/0.6054, allocations: 0.8666 MB / 0.6697 GB, free: 3.992 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001702/0.6071, allocations: 242.1 kB / 0.6699 GB, free: 3.754 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006918/0.614, allocations: 4.847 MB / 0.6747 GB, free: 14.84 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001675/0.6157, allocations: 1.924 MB / 0.6765 GB, free: 12.88 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0012/0.6169, allocations: 445.6 kB / 0.677 GB, free: 12.45 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002073/0.6171, allocations: 87.42 kB / 0.6771 GB, free: 12.36 MB / 0.5137 GB Notification: Performance of SimCode: time 1.292e-06/0.6172, allocations: 0 / 0.6771 GB, free: 12.36 MB / 0.5137 GB Notification: Performance of Templates: time 0.026/0.6432, allocations: 12.72 MB / 0.6895 GB, free: 15.77 MB / 0.5294 GB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.sim & ./IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe 2>&1)