Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_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.00104/0.00104, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.005962/0.005962, allocations: 170.1 kB / 16.27 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.278/1.278, allocations: 205.4 MB / 222.4 MB, free: 5.777 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.621/1.621, allocations: 292.7 MB / 0.5502 GB, free: 14.48 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004989/0.0004989, allocations: 14.78 kB / 0.6744 GB, free: 26.05 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2117/0.2122, allocations: 116.3 MB / 0.788 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N): time 0.03865/0.2509, allocations: 39.81 MB / 0.8269 GB, free: 3.555 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.02318/0.2741, allocations: 14.93 MB / 0.8415 GB, free: 4.582 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003321/0.2774, allocations: 159.1 kB / 0.8416 GB, free: 4.426 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.002595/0.28, allocations: 0.8567 MB / 0.8425 GB, free: 3.562 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.006843/0.2869, allocations: 2.636 MB / 0.845 GB, free: 0.9141 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.006192/0.2931, allocations: 2.709 MB / 0.8477 GB, free: 14.21 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.0162/0.3093, allocations: 15.99 MB / 0.8633 GB, free: 14.17 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02413/0.3335, allocations: 15.8 MB / 0.8787 GB, free: 14.25 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006341/0.3399, allocations: 3.532 MB / 0.8822 GB, free: 10.71 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007587/0.3475, allocations: 4.761 MB / 0.8868 GB, free: 5.93 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.001793/0.3493, allocations: 400 kB / 0.8872 GB, free: 5.539 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004674/0.354, allocations: 1.821 MB / 0.889 GB, free: 3.715 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.003543/0.3575, allocations: 3 MB / 0.8919 GB, free: 0.707 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.004215/0.3618, allocations: 3.512 MB / 0.8953 GB, free: 13.17 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.4098/0.7716, allocations: 13.6 MB / 0.9086 GB, free: 39.36 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.7716, allocations: 0 / 0.9086 GB, free: 39.36 MB / 0.7169 GB Notification: Performance of FrontEnd: time 3.126e-06/0.7716, allocations: 1.562 kB / 0.9086 GB, free: 39.36 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 0.0004834/0.7721, allocations: 0 / 0.9086 GB, free: 39.36 MB / 0.7169 GB 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.01776/0.7899, allocations: 6.15 MB / 0.9146 GB, free: 37.02 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.445e-05/0.7899, allocations: 9.656 kB / 0.9146 GB, free: 37.02 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004172/0.7941, allocations: 0.8987 MB / 0.9155 GB, free: 36.95 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01187/0.806, allocations: 1.519 MB / 0.917 GB, free: 36.57 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01128/0.8173, allocations: 4.205 MB / 0.9211 GB, free: 35.71 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00032/0.8177, allocations: 460.6 kB / 0.9215 GB, free: 35.69 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001527/0.8192, allocations: 0.5943 MB / 0.9221 GB, free: 35.68 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02417/0.8434, allocations: 10.69 MB / 0.9326 GB, free: 34.55 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002199/0.8436, allocations: 28.95 kB / 0.9326 GB, free: 34.55 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008607/0.8445, allocations: 263.6 kB / 0.9328 GB, free: 34.55 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00304/0.8476, allocations: 0.7715 MB / 0.9336 GB, free: 34.53 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01789/0.8655, allocations: 8.559 MB / 0.9419 GB, free: 34.46 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05341/0.9189, allocations: 47.01 MB / 0.9879 GB, free: 19.8 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00471/0.9237, allocations: 4.316 MB / 0.9921 GB, free: 17.75 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004389/0.9281, allocations: 3.691 MB / 0.9957 GB, free: 15.79 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002365/0.9283, allocations: 34.34 kB / 0.9957 GB, free: 15.78 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.955e-05/0.9284, allocations: 71.72 kB / 0.9958 GB, free: 15.71 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=353): time 6.031e-06/0.9284, allocations: 0 / 0.9958 GB, free: 15.71 MB / 0.7325 GB Notification: Performance of matching and sorting (n=578): time 0.5151/1.444, allocations: 128.1 MB / 1.121 GB, free: 4.859 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.894e-05/1.444, allocations: 107.9 kB / 1.121 GB, free: 4.738 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004256/1.448, allocations: 2.685 MB / 1.124 GB, free: 2.055 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 0.001184/1.449, allocations: 125.7 kB / 1.124 GB, free: 1.926 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.001971/1.451, allocations: 2.672 MB / 1.126 GB, free: 15.23 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.002834/1.454, allocations: 1.957 MB / 1.128 GB, free: 13.29 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00129/1.455, allocations: 442 kB / 1.129 GB, free: 12.86 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001003/1.455, allocations: 305.1 kB / 1.129 GB, free: 12.55 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006639/1.462, allocations: 4.079 MB / 1.133 GB, free: 8.469 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007147/1.469, allocations: 5.016 MB / 1.138 GB, free: 3.141 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01474/1.484, allocations: 9.852 MB / 1.147 GB, free: 9.004 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.463e-05/1.484, allocations: 4 kB / 1.147 GB, free: 9 MB / 0.8731 GB Notification: Performance of matching and sorting (n=713) (initialization): time 0.04221/1.526, allocations: 17 MB / 1.164 GB, free: 8.266 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 5.295e-05/1.526, allocations: 18.95 kB / 1.164 GB, free: 8.25 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.726e-05/1.526, allocations: 20 kB / 1.164 GB, free: 8.23 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03231/1.559, allocations: 9.089 MB / 1.173 GB, free: 15.1 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002664/1.561, allocations: 0.5174 MB / 1.173 GB, free: 14.62 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1025/1.664, allocations: 70.72 MB / 1.243 GB, free: 6.559 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005665/1.67, allocations: 275.8 kB / 1.243 GB, free: 6.289 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001246/1.671, allocations: 195.9 kB / 1.243 GB, free: 6.098 MB / 0.9669 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 (not torn): 0 * Torn equation systems: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 11 systems {(5,17,84.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (14,72,59.2%), (14,72,59.2%), (6,40,77.8%), (8,70,73.4%), (8,70,70.3%), (6,40,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.005517/1.676, allocations: 2.425 MB / 1.245 GB, free: 3.699 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001355/1.678, allocations: 470.5 kB / 1.246 GB, free: 3.234 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0373/1.715, allocations: 16.82 MB / 1.262 GB, free: 2.527 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.45e-05/1.715, allocations: 56 kB / 1.262 GB, free: 2.473 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001674/1.715, allocations: 71.98 kB / 1.262 GB, free: 2.402 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001002/1.715, allocations: 23.91 kB / 1.262 GB, free: 2.379 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4106/2.126, allocations: 25.69 MB / 1.287 GB, free: 358.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.968e-05/2.126, allocations: 8.562 kB / 1.287 GB, free: 358.3 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001775/2.128, allocations: 321.1 kB / 1.288 GB, free: 358.3 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02885/2.157, allocations: 8.271 MB / 1.296 GB, free: 358.2 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007928/2.158, allocations: 110.8 kB / 1.296 GB, free: 358.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.07781/2.235, allocations: 67.58 MB / 1.362 GB, free: 323.7 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.412e-06/2.235, allocations: 16.3 kB / 1.362 GB, free: 323.7 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03673/2.272, allocations: 21.57 MB / 1.383 GB, free: 307.2 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003169/2.275, allocations: 1.358 MB / 1.384 GB, free: 305.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001581/2.277, allocations: 104 kB / 1.384 GB, free: 305.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004057/2.281, allocations: 291.6 kB / 1.385 GB, free: 305.5 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001997/2.283, allocations: 0.5221 MB / 1.385 GB, free: 304.9 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004684/2.284, allocations: 147.9 kB / 1.385 GB, free: 304.8 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.002202/2.286, allocations: 1.776 MB / 1.387 GB, free: 303 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.6e-07/2.286, allocations: 4 kB / 1.387 GB, free: 303 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.006741/2.293, allocations: 2.461 MB / 1.39 GB, free: 300.6 MB / 0.9981 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 (not torn): 0 * Torn equation systems: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 11 systems {(6,40,77.8%), (8,70,70.3%), (14,72,51.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (5,17,84.0%), (6,40,83.3%), (8,70,70.3%), (14,72,51.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.03584/2.328, allocations: 22.27 MB / 1.411 GB, free: 277.9 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.02096/2.349, allocations: 14.51 MB / 1.425 GB, free: 263.2 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.098e-05/2.349, allocations: 4.312 kB / 1.425 GB, free: 263.2 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.01536/2.365, allocations: 9.398 MB / 1.435 GB, free: 253.7 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01021/2.375, allocations: 1.289 MB / 1.436 GB, free: 252.4 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1251/2.5, allocations: 82.83 MB / 1.517 GB, free: 165.2 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005379/2.506, allocations: 4.893 MB / 1.522 GB, free: 160.3 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.002761/2.508, allocations: 0.7487 MB / 1.522 GB, free: 159.5 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002672/2.511, allocations: 2.612 MB / 1.525 GB, free: 156.9 MB / 0.9981 GB Notification: Performance of SimCode: time 5.81e-07/2.511, allocations: 0 / 1.525 GB, free: 156.9 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5738/3.085, allocations: 187.2 MB / 1.708 GB, free: 335.7 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001421/3.085, allocations: 246.8 kB / 1.708 GB, free: 335.5 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.756/8.841, allocations: 1.219 kB / 1.708 GB, free: 335.5 MB / 0.9981 GB (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_N.fmu > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe 2>&1)