Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.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,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC",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.000761/0.000761, 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.00507/0.00507, 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.267/1.267, allocations: 205.4 MB / 222.4 MB, free: 5.555 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.62/1.62, allocations: 292.7 MB / 0.5502 GB, free: 14.47 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.0005065/0.0005065, allocations: 17.5 kB / 0.6744 GB, free: 25.72 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2062/0.2067, 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): time 0.03738/0.2442, allocations: 36.33 MB / 0.8235 GB, free: 7.047 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.01979/0.264, allocations: 12.92 MB / 0.8361 GB, free: 10.09 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003159/0.2672, allocations: 147.1 kB / 0.8362 GB, free: 9.949 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.002874/0.2701, allocations: 0.7598 MB / 0.837 GB, free: 9.184 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.007376/0.2775, allocations: 2.356 MB / 0.8393 GB, free: 6.816 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.006634/0.2841, allocations: 2.291 MB / 0.8415 GB, free: 4.527 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0157/0.2999, allocations: 13.36 MB / 0.8546 GB, free: 7.129 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01942/0.3193, allocations: 13.21 MB / 0.8675 GB, free: 9.805 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005302/0.3247, allocations: 2.944 MB / 0.8703 GB, free: 6.848 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006392/0.3311, allocations: 3.85 MB / 0.8741 GB, free: 2.984 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.00114/0.3322, allocations: 320 kB / 0.8744 GB, free: 2.672 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003967/0.3362, allocations: 1.642 MB / 0.876 GB, free: 1.027 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.003378/0.3396, allocations: 2.467 MB / 0.8784 GB, free: 14.55 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.004693/0.3443, allocations: 2.944 MB / 0.8813 GB, free: 11.59 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.01174/0.3561, allocations: 11.3 MB / 0.8923 GB, free: 260 kB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.3561, allocations: 0 / 0.8923 GB, free: 260 kB / 0.7012 GB Notification: Performance of FrontEnd: time 1.873e-06/0.3561, allocations: 0 / 0.8923 GB, free: 260 kB / 0.7012 GB Notification: Performance of Transformations before backend: time 0.0002631/0.3564, allocations: 0 / 0.8923 GB, free: 260 kB / 0.7012 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1394 * Number of variables: 1394 Notification: Performance of Generate backend data structure: time 0.01176/0.3681, allocations: 5.134 MB / 0.8973 GB, free: 11.05 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.708e-05/0.3682, allocations: 8.031 kB / 0.8973 GB, free: 11.04 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001563/0.3698, allocations: 0.748 MB / 0.8981 GB, free: 10.28 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008077/0.3779, allocations: 1.313 MB / 0.8994 GB, free: 8.961 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006238/0.3841, allocations: 3.564 MB / 0.9028 GB, free: 5.32 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002821/0.3844, allocations: 386.5 kB / 0.9032 GB, free: 4.941 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001227/0.3857, allocations: 0.5001 MB / 0.9037 GB, free: 4.441 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.404/0.7896, allocations: 8.877 MB / 0.9124 GB, free: 59.02 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001416/0.7898, allocations: 31.78 kB / 0.9124 GB, free: 59.02 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005424/0.7904, allocations: 221.4 kB / 0.9126 GB, free: 59.02 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002168/0.7925, allocations: 0.6305 MB / 0.9132 GB, free: 59.01 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01308/0.8056, allocations: 7.013 MB / 0.9201 GB, free: 58.96 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04388/0.8495, allocations: 40.43 MB / 0.9596 GB, free: 33.92 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003833/0.8534, allocations: 2.905 MB / 0.9624 GB, free: 32.64 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00327/0.8567, allocations: 2.662 MB / 0.965 GB, free: 31.55 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000157/0.8569, allocations: 26.81 kB / 0.965 GB, free: 31.55 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.63e-05/0.8569, allocations: 61.09 kB / 0.9651 GB, free: 31.49 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=265): time 4.94e-06/0.8569, allocations: 0 / 0.9651 GB, free: 31.49 MB / 0.7169 GB Notification: Performance of matching and sorting (n=424): time 0.2789/1.136, allocations: 77.5 MB / 1.041 GB, free: 14.13 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.764e-05/1.136, allocations: 94.73 kB / 1.041 GB, free: 14.02 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003334/1.139, allocations: 2.355 MB / 1.043 GB, free: 11.66 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 0.0009714/1.14, allocations: 97.7 kB / 1.043 GB, free: 11.55 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.001643/1.142, allocations: 2.338 MB / 1.046 GB, free: 9.199 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.001808/1.144, allocations: 1.444 MB / 1.047 GB, free: 7.77 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005939/1.144, allocations: 339 kB / 1.047 GB, free: 7.43 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001068/1.144, allocations: 305.5 kB / 1.048 GB, free: 7.133 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004475/1.149, allocations: 2.999 MB / 1.05 GB, free: 4.125 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005186/1.154, allocations: 3.838 MB / 1.054 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01048/1.165, allocations: 7.393 MB / 1.061 GB, free: 8.34 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.828e-05/1.165, allocations: 8 kB / 1.061 GB, free: 8.332 MB / 0.7794 GB Notification: Performance of matching and sorting (n=551) (initialization): time 0.02956/1.194, allocations: 12.55 MB / 1.074 GB, free: 11.98 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 4.585e-05/1.194, allocations: 16 kB / 1.074 GB, free: 11.97 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.182e-05/1.194, allocations: 24 kB / 1.074 GB, free: 11.95 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0232/1.218, allocations: 6.034 MB / 1.08 GB, free: 5.871 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002247/1.22, allocations: 493.3 kB / 1.08 GB, free: 5.418 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08108/1.301, allocations: 67.29 MB / 1.146 GB, free: 15.23 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003848/1.305, allocations: 225 kB / 1.146 GB, free: 15.01 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006356/1.306, allocations: 148 kB / 1.146 GB, free: 14.87 MB / 0.8731 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 (269): * Single equations (assignments): 245 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 24 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 24 systems {(2,2,100.0%), (1,1,100.0%), (2,2,100.0%), (1,1,100.0%), (2,2,100.0%), (1,1,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%), (2,8,100.0%), (2,16,100.0%), (3,15,100.0%), (2,8,100.0%), (2,8,100.0%), (2,16,100.0%), (3,15,100.0%), (2,8,100.0%), (2,8,100.0%), (2,16,100.0%), (3,15,100.0%), (2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003483/1.309, allocations: 1.999 MB / 1.148 GB, free: 12.89 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008505/1.31, allocations: 401.5 kB / 1.149 GB, free: 12.5 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0277/1.338, allocations: 12.22 MB / 1.16 GB, free: 344 kB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.152e-05/1.338, allocations: 40 kB / 1.16 GB, free: 304 kB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.605e-05/1.338, allocations: 48 kB / 1.161 GB, free: 256 kB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.641e-05/1.338, allocations: 23.92 kB / 1.161 GB, free: 232 kB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03717/1.375, allocations: 19.16 MB / 1.179 GB, free: 13.09 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.014e-05/1.375, allocations: 11.98 kB / 1.179 GB, free: 13.08 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001534/1.377, allocations: 288.6 kB / 1.18 GB, free: 12.82 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02014/1.397, allocations: 5.573 MB / 1.185 GB, free: 7.195 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005953/1.397, allocations: 80 kB / 1.185 GB, free: 7.117 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.07266/1.47, allocations: 64.93 MB / 1.248 GB, free: 3.281 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.053e-05/1.47, allocations: 15.17 kB / 1.248 GB, free: 3.27 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0316/1.502, allocations: 15.6 MB / 1.264 GB, free: 3.633 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003315/1.505, allocations: 1.051 MB / 1.265 GB, free: 2.559 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006836/1.506, allocations: 83.98 kB / 1.265 GB, free: 2.477 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002508/1.508, allocations: 222.1 kB / 1.265 GB, free: 2.262 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001426/1.51, allocations: 404.5 kB / 1.265 GB, free: 1.875 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002765/1.51, allocations: 108 kB / 1.266 GB, free: 1.77 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.002095/1.512, allocations: 1.553 MB / 1.267 GB, free: 224 kB / 0.9825 GB Notification: Performance of sort global known variables: time 2.71e-07/1.512, allocations: 0 / 1.267 GB, free: 224 kB / 0.9825 GB Notification: Performance of remove unused functions: time 0.3755/1.888, allocations: 1.865 MB / 1.269 GB, free: 340.1 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 6 (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]) * 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 (145): * Single equations (assignments): 121 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 24 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 24 systems {(2,8,100.0%), (2,8,100.0%), (2,8,100.0%), (3,15,100.0%), (3,15,100.0%), (3,15,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,15,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.03232/1.92, allocations: 16.28 MB / 1.285 GB, free: 338.7 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.02311/1.943, allocations: 12.2 MB / 1.297 GB, free: 334.5 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.555e-05/1.943, allocations: 4.094 kB / 1.297 GB, free: 334.5 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.01511/1.958, allocations: 8.388 MB / 1.305 GB, free: 329.6 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009163/1.968, allocations: 1.107 MB / 1.306 GB, free: 329.3 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1054/2.073, allocations: 62.75 MB / 1.367 GB, free: 284.6 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005182/2.078, allocations: 4.085 MB / 1.371 GB, free: 281.4 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.002644/2.081, allocations: 0.6659 MB / 1.372 GB, free: 280.9 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002384/2.083, allocations: 2.128 MB / 1.374 GB, free: 279 MB / 0.9825 GB Notification: Performance of SimCode: time 9.52e-07/2.083, allocations: 0 / 1.374 GB, free: 279 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1688/2.252, allocations: 144.4 MB / 1.515 GB, free: 136 MB / 0.9825 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001543/2.252, allocations: 247 kB / 1.515 GB, free: 135.8 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.792/7.044, allocations: 7.562 kB / 1.515 GB, free: 135.8 MB / 0.9825 GB (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC.fmu > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe 2>&1)