Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.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.ThreePhasesBalanced.Lines.Examples.ACLineMedium,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium") translateModel(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009/0.0009, allocations: 88.17 kB / 15.7 MB, free: 460 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.001007/0.001007, allocations: 175.5 kB / 16.58 MB, free: 6.852 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.403/1.403, allocations: 223.3 MB / 240.6 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7016/0.7016, allocations: 115.5 MB / 407.2 MB, free: 2.863 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005694/0.0005694, allocations: 8 kB / 495.2 MB, free: 6.766 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1915/0.192, allocations: 77.52 MB / 0.5593 GB, free: 9.441 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.01625/0.2083, allocations: 13.32 MB / 0.5723 GB, free: 12.08 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01419/0.2226, allocations: 9.611 MB / 0.5817 GB, free: 2.445 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001369/0.224, allocations: 47.69 kB / 0.5818 GB, free: 2.398 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001032/0.225, allocations: 281.8 kB / 0.582 GB, free: 2.121 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00484/0.2299, allocations: 1.459 MB / 0.5835 GB, free: 0.6602 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001738/0.2316, allocations: 0.5175 MB / 0.584 GB, free: 148 kB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.2858/0.5174, allocations: 2.884 MB / 0.5868 GB, free: 13.72 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004071/0.5215, allocations: 1.802 MB / 0.5885 GB, free: 13.48 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003164/0.5247, allocations: 1.288 MB / 0.5898 GB, free: 13.47 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002469/0.5272, allocations: 1.038 MB / 0.5908 GB, free: 13.47 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003521/0.5275, allocations: 75.42 kB / 0.5909 GB, free: 13.46 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001455/0.529, allocations: 436.4 kB / 0.5913 GB, free: 13.46 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006577/0.5297, allocations: 0.4935 MB / 0.5918 GB, free: 13.44 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006002/0.5303, allocations: 354.7 kB / 0.5921 GB, free: 13.35 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003176/0.5335, allocations: 2.126 MB / 0.5942 GB, free: 13.21 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.883e-06/0.5335, allocations: 1.281 kB / 0.5942 GB, free: 13.21 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.585e-06/0.5335, allocations: 0 / 0.5942 GB, free: 13.21 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.802e-05/0.5336, allocations: 0 / 0.5942 GB, free: 13.21 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: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.004086/0.5377, allocations: 1.863 MB / 0.596 GB, free: 12.2 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.198e-05/0.5377, allocations: 8.453 kB / 0.596 GB, free: 12.2 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01168/0.5494, allocations: 2.177 MB / 0.5982 GB, free: 12.08 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003575/0.553, allocations: 1.173 MB / 0.5993 GB, free: 11.66 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001065/0.5532, allocations: 85.64 kB / 0.5994 GB, free: 11.66 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004397/0.5536, allocations: 112.3 kB / 0.5995 GB, free: 11.66 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00577/0.5594, allocations: 2.682 MB / 0.6021 GB, free: 11.23 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.3e-05/0.5595, allocations: 9.594 kB / 0.6021 GB, free: 11.23 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001782/0.5596, allocations: 53.42 kB / 0.6022 GB, free: 11.23 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005955/0.5602, allocations: 191.9 kB / 0.6024 GB, free: 11.22 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006752/0.567, allocations: 2.835 MB / 0.6051 GB, free: 10.89 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0134/0.5804, allocations: 10.56 MB / 0.6154 GB, free: 19.84 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005458/0.5859, allocations: 2.387 MB / 0.6178 GB, free: 18.96 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002577/0.5885, allocations: 1.296 MB / 0.619 GB, free: 18.31 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.762e-05/0.5886, allocations: 12.81 kB / 0.619 GB, free: 18.31 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.314e-05/0.5887, allocations: 43.78 kB / 0.6191 GB, free: 18.26 MB / 462.1 MB Notification: Performance of pre-optimization done (n=89): time 3.086e-06/0.5887, allocations: 0 / 0.6191 GB, free: 18.26 MB / 462.1 MB Notification: Performance of matching and sorting (n=153): time 0.0524/0.6411, allocations: 16.51 MB / 0.6352 GB, free: 4.949 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.181e-05/0.6412, allocations: 72.7 kB / 0.6353 GB, free: 4.867 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00182/0.643, allocations: 1.156 MB / 0.6364 GB, free: 3.699 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003324/0.6433, allocations: 55.78 kB / 0.6365 GB, free: 3.641 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006856/0.644, allocations: 0.7462 MB / 0.6372 GB, free: 2.891 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006358/0.6447, allocations: 0.5129 MB / 0.6377 GB, free: 2.383 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001297/0.6448, allocations: 32 kB / 0.6377 GB, free: 2.352 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001439/0.645, allocations: 365.9 kB / 0.6381 GB, free: 1.988 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003379/0.6484, allocations: 1.526 MB / 0.6396 GB, free: 472 kB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003572/0.6519, allocations: 1.789 MB / 0.6413 GB, free: 14.58 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003538/0.6555, allocations: 1.654 MB / 0.6429 GB, free: 12.93 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.947e-06/0.6555, allocations: 3.938 kB / 0.6429 GB, free: 12.92 MB / 478.1 MB Notification: Performance of matching and sorting (n=190) (initialization): time 0.01269/0.6682, allocations: 5.289 MB / 0.6481 GB, free: 7.594 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.69e-05/0.6683, allocations: 8 kB / 0.6481 GB, free: 7.586 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.415e-05/0.6683, allocations: 8 kB / 0.6481 GB, free: 7.578 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006569/0.6749, allocations: 1.894 MB / 0.65 GB, free: 5.668 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001957/0.6769, allocations: 435.2 kB / 0.6504 GB, free: 5.242 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02762/0.7045, allocations: 22.13 MB / 0.672 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003195/0.7078, allocations: 319.5 kB / 0.6723 GB, free: 13.76 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002835/0.7081, allocations: 68.03 kB / 0.6724 GB, free: 13.7 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (82): * Single equations (assignments): 74 * 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: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 8 {(2,100.0%) 8,(2,100.0%) 8,(3,100.0%) 17,(3,100.0%) 17,(3,100.0%) 15,(3,100.0%) 15,(2,100.0%) 8,(2,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001303/0.7094, allocations: 466.5 kB / 0.6728 GB, free: 13.23 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005166/0.7099, allocations: 173.9 kB / 0.673 GB, free: 13.06 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01313/0.723, allocations: 5.351 MB / 0.6782 GB, free: 7.66 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.177e-05/0.7231, allocations: 16 kB / 0.6782 GB, free: 7.645 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-05/0.7232, allocations: 19.98 kB / 0.6782 GB, free: 7.625 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.334e-05/0.7232, allocations: 3.984 kB / 0.6782 GB, free: 7.621 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01718/0.7404, allocations: 7.445 MB / 0.6855 GB, free: 76 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.429e-05/0.7404, allocations: 4.344 kB / 0.6855 GB, free: 72 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001594/0.742, allocations: 363.4 kB / 0.6859 GB, free: 15.71 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005646/0.7477, allocations: 1.705 MB / 0.6875 GB, free: 13.99 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000237/0.748, allocations: 39.97 kB / 0.6876 GB, free: 13.95 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02586/0.7738, allocations: 21.34 MB / 0.7084 GB, free: 7.562 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.448e-06/0.7739, allocations: 4.031 kB / 0.7084 GB, free: 7.559 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01145/0.7853, allocations: 4.917 MB / 0.7132 GB, free: 2.559 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00118/0.7865, allocations: 490.8 kB / 0.7137 GB, free: 2.055 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000326/0.7869, allocations: 32 kB / 0.7137 GB, free: 2.023 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002093/0.789, allocations: 331.5 kB / 0.714 GB, free: 1.699 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005827/0.7896, allocations: 149 kB / 0.7142 GB, free: 1.555 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001573/0.7897, allocations: 59.97 kB / 0.7142 GB, free: 1.496 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001357/0.7911, allocations: 0.7782 MB / 0.715 GB, free: 0.7188 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.01e-07/0.7911, allocations: 0 / 0.715 GB, free: 0.7188 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.003218/0.7943, allocations: 0.6523 MB / 0.7156 GB, free: 68 kB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (46): * Single equations (assignments): 38 * 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: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 8 {(2,100.0%) 8,(3,100.0%) 15,(2,100.0%) 8,(3,100.0%) 17,(2,100.0%) 8,(3,100.0%) 15,(2,100.0%) 8,(3,100.0%) 17} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003762/0.7947, allocations: 140.9 kB / 0.7158 GB, free: 15.91 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01123/0.806, allocations: 5.171 MB / 0.7208 GB, free: 10.64 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 9.928e-06/0.806, allocations: 2.953 kB / 0.7208 GB, free: 10.64 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.007088/0.8131, allocations: 3.389 MB / 0.7241 GB, free: 7.156 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002835/0.816, allocations: 0.5184 MB / 0.7246 GB, free: 6.641 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008854/0.8248, allocations: 4.854 MB / 0.7294 GB, free: 1.746 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001305/0.8262, allocations: 1.568 MB / 0.7309 GB, free: 144 kB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.001804/0.828, allocations: 390.4 kB / 0.7313 GB, free: 15.75 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003862/0.8284, allocations: 107.4 kB / 0.7314 GB, free: 15.65 MB / 0.5606 GB Notification: Performance of SimCode: time 8.42e-07/0.8284, allocations: 0 / 0.7314 GB, free: 15.65 MB / 0.5606 GB Notification: Performance of Templates: time 0.06838/0.8968, allocations: 41.41 MB / 0.7718 GB, free: 6.797 MB / 0.5919 GB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.sim & ./IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe 2>&1)