Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_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: translateModel(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N") translateModel(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000927/0.0009271, allocations: 92.23 kB / 15.7 MB, free: 472 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.001036/0.001036, allocations: 165.8 kB / 16.58 MB, free: 5.688 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.39/1.39, allocations: 223.3 MB / 240.6 MB, free: 5.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8204/0.8204, allocations: 115.5 MB / 407.2 MB, free: 2.816 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003288/0.0003289, allocations: 12.22 kB / 495.2 MB, free: 6.711 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1646/0.165, allocations: 77.53 MB / 0.5593 GB, free: 9.383 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N): time 0.3911/0.5561, allocations: 37.49 MB / 0.596 GB, free: 13.26 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.02407/0.5802, allocations: 14.39 MB / 0.61 GB, free: 6.859 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00578/0.586, allocations: 163.5 kB / 0.6102 GB, free: 6.797 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003798/0.5898, allocations: 0.8379 MB / 0.611 GB, free: 6.32 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01018/0.6, allocations: 2.331 MB / 0.6133 GB, free: 4.984 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007993/0.6081, allocations: 1.905 MB / 0.6151 GB, free: 4.07 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0176/0.6257, allocations: 12.72 MB / 0.6275 GB, free: 12.62 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02656/0.6523, allocations: 13.99 MB / 0.6412 GB, free: 2.875 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01042/0.6627, allocations: 3.576 MB / 0.6447 GB, free: 15.29 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0109/0.6737, allocations: 4.649 MB / 0.6492 GB, free: 10.62 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002719/0.6764, allocations: 396 kB / 0.6496 GB, free: 10.23 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00568/0.6821, allocations: 0.8898 MB / 0.6505 GB, free: 9.344 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006173/0.6883, allocations: 2.977 MB / 0.6534 GB, free: 6.359 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004335/0.6927, allocations: 1.385 MB / 0.6547 GB, free: 4.965 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01644/0.7091, allocations: 11.76 MB / 0.6662 GB, free: 9.176 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.347e-06/0.7092, allocations: 0 / 0.6662 GB, free: 9.176 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.705e-06/0.7092, allocations: 0 / 0.6662 GB, free: 9.176 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.0005614/0.7098, allocations: 4 kB / 0.6662 GB, free: 9.172 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1668 * Number of variables: 1668 Notification: Performance of Generate backend data structure: time 0.01925/0.729, allocations: 6.228 MB / 0.6723 GB, free: 2.863 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.364e-05/0.7291, allocations: 11.97 kB / 0.6723 GB, free: 2.852 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01132/0.7404, allocations: 1.521 MB / 0.6738 GB, free: 1.32 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01016/0.7506, allocations: 4.093 MB / 0.6778 GB, free: 13.15 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000561/0.7512, allocations: 460 kB / 0.6782 GB, free: 12.7 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002759/0.754, allocations: 0.5935 MB / 0.6788 GB, free: 12.11 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02775/0.7818, allocations: 10.63 MB / 0.6892 GB, free: 1.094 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003493/0.7821, allocations: 31.77 kB / 0.6892 GB, free: 1.062 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002498/0.7847, allocations: 263.9 kB / 0.6895 GB, free: 0.8047 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003399/0.7881, allocations: 0.7768 MB / 0.6902 GB, free: 24 kB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02271/0.8108, allocations: 8.514 MB / 0.6986 GB, free: 7.488 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07094/0.8818, allocations: 46.99 MB / 0.7444 GB, free: 4.738 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007071/0.8889, allocations: 4.295 MB / 0.7486 GB, free: 440 kB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006333/0.8953, allocations: 3.681 MB / 0.7522 GB, free: 12.74 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004882/0.8958, allocations: 34.78 kB / 0.7523 GB, free: 12.71 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.212e-05/0.8959, allocations: 81.28 kB / 0.7523 GB, free: 12.62 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=353): time 1.92e-05/0.8959, allocations: 4 kB / 0.7523 GB, free: 12.61 MB / 0.5762 GB Notification: Performance of matching and sorting (n=578): time 0.8745/1.77, allocations: 127.8 MB / 0.8772 GB, free: 166.1 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.946e-05/1.77, allocations: 111.9 kB / 0.8773 GB, free: 166 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003265/1.774, allocations: 2.65 MB / 0.8799 GB, free: 163.3 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.001114/1.775, allocations: 125.7 kB / 0.88 GB, free: 163.2 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.00137/1.776, allocations: 2.682 MB / 0.8826 GB, free: 160.5 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.002038/1.778, allocations: 1.949 MB / 0.8845 GB, free: 158.6 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003799/1.779, allocations: 112 kB / 0.8846 GB, free: 158.4 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0002051/1.779, allocations: 0.5257 MB / 0.8852 GB, free: 157.9 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004824/1.784, allocations: 4.056 MB / 0.8891 GB, free: 153.9 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00569/1.789, allocations: 4.994 MB / 0.894 GB, free: 148.5 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00574/1.795, allocations: 4.822 MB / 0.8987 GB, free: 143.7 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.312e-05/1.795, allocations: 4 kB / 0.8987 GB, free: 143.7 MB / 0.6387 GB Notification: Performance of matching and sorting (n=713) (initialization): time 0.03179/1.827, allocations: 16.93 MB / 0.9152 GB, free: 127 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 3.948e-05/1.827, allocations: 12 kB / 0.9152 GB, free: 127 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.445e-05/1.827, allocations: 24 kB / 0.9153 GB, free: 127 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02643/1.854, allocations: 9.056 MB / 0.9241 GB, free: 117.9 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002236/1.856, allocations: 0.5273 MB / 0.9246 GB, free: 117.4 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08082/1.937, allocations: 70.61 MB / 0.9936 GB, free: 45.5 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004104/1.941, allocations: 279.8 kB / 0.9938 GB, free: 45.23 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005048/1.941, allocations: 188 kB / 0.994 GB, free: 45.05 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (274): * Single equations (assignments): 263 * 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: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 11 {(5,84.0%) 17,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(14,51.0%) 72,(14,51.0%) 72,(6,77.8%) 40,(7,71.4%) 71,(8,70.3%) 70,(6,77.8%) 40} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003696/1.945, allocations: 2.423 MB / 0.9964 GB, free: 42.64 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009263/1.946, allocations: 470.5 kB / 0.9968 GB, free: 42.18 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03143/1.977, allocations: 16.75 MB / 1.013 GB, free: 25.54 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-05/1.978, allocations: 56 kB / 1.013 GB, free: 25.48 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001789/1.978, allocations: 72 kB / 1.013 GB, free: 25.41 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.029e-05/1.978, allocations: 27.89 kB / 1.013 GB, free: 25.39 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04246/2.02, allocations: 25.62 MB / 1.038 GB, free: 15.85 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.06e-05/2.02, allocations: 8 kB / 1.038 GB, free: 15.84 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00171/2.022, allocations: 328.5 kB / 1.039 GB, free: 15.54 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02709/2.049, allocations: 8.257 MB / 1.047 GB, free: 7.246 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008131/2.05, allocations: 104 kB / 1.047 GB, free: 7.145 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.427/2.477, allocations: 67.45 MB / 1.113 GB, free: 220.5 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.15e-05/2.477, allocations: 14.78 kB / 1.113 GB, free: 220.5 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03921/2.516, allocations: 21.48 MB / 1.134 GB, free: 211.7 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002954/2.519, allocations: 1.367 MB / 1.135 GB, free: 211.1 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009215/2.52, allocations: 107.2 kB / 1.135 GB, free: 211 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002799/2.523, allocations: 287 kB / 1.135 GB, free: 210.9 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001725/2.525, allocations: 0.519 MB / 1.136 GB, free: 210.8 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003463/2.525, allocations: 147.7 kB / 1.136 GB, free: 210.8 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.002061/2.527, allocations: 1.757 MB / 1.138 GB, free: 210.2 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.4e-07/2.527, allocations: 0 / 1.138 GB, free: 210.2 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.006964/2.534, allocations: 2.466 MB / 1.14 GB, free: 209.9 MB / 0.6856 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 8 (RLCLine_sc.phase1.Vc[1],RLCLine_sc.phase1.Vc[2],RLCLine_sc.phase2.Vc[1],RLCLine_sc.phase2.Vc[2],RLCLine_sc.phase3.Vc[1],RLCLine_sc.phase3.Vc[2],RLCLine_sc.neutral.Vc[1],RLCLine_sc.neutral.Vc[2]) * 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 (142): * Single equations (assignments): 131 * 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: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 11 {(6,77.8%) 40,(8,70.3%) 70,(14,51.0%) 72,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(5,84.0%) 17,(6,83.3%) 40,(8,70.3%) 70,(14,51.0%) 72} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007221/2.535, allocations: 242.1 kB / 1.14 GB, free: 209.7 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.02267/2.558, allocations: 14.48 MB / 1.155 GB, free: 199.7 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 2.057e-05/2.558, allocations: 0 / 1.155 GB, free: 199.7 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.01662/2.574, allocations: 9.376 MB / 1.164 GB, free: 191.4 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006166/2.581, allocations: 1.284 MB / 1.165 GB, free: 190.4 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02301/2.604, allocations: 18.1 MB / 1.183 GB, free: 172.2 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005122/2.609, allocations: 4.893 MB / 1.187 GB, free: 167.3 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.002795/2.612, allocations: 0.7371 MB / 1.188 GB, free: 166.6 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005576/2.612, allocations: 199.4 kB / 1.188 GB, free: 166.4 MB / 0.6856 GB Notification: Performance of SimCode: time 1.122e-06/2.612, allocations: 0 / 1.188 GB, free: 166.4 MB / 0.6856 GB Notification: Performance of Templates: time 0.1777/2.79, allocations: 135.4 MB / 1.321 GB, free: 32.09 MB / 0.6856 GB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.sim & ./IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe 2>&1)