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.001085/0.001085, allocations: 101.4 kB / 15.7 MB, free: 28 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.001165/0.001165, allocations: 200.6 kB / 16.64 MB, free: 6.43 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.312/1.312, allocations: 205.1 MB / 222.5 MB, free: 4.539 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.3 MB / 0.549 GB, free: 12.74 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.002739/0.002739, allocations: 71.77 kB / 0.6718 GB, free: 26.08 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2349/0.2377, allocations: 114.5 MB / 0.7836 GB, free: 13.28 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC): time 0.03881/0.2765, allocations: 37.55 MB / 0.8203 GB, free: 7.598 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.02078/0.2974, allocations: 13.04 MB / 0.833 GB, free: 10.52 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005286/0.3027, allocations: 171.1 kB / 0.8332 GB, free: 10.35 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.009889/0.3127, allocations: 3.894 MB / 0.837 GB, free: 6.449 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.006768/0.3195, allocations: 2.487 MB / 0.8394 GB, free: 3.949 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.006824/0.3263, allocations: 2.696 MB / 0.8421 GB, free: 1.254 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.01244/0.3388, allocations: 9.579 MB / 0.8514 GB, free: 7.645 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01593/0.3547, allocations: 10.62 MB / 0.8618 GB, free: 12.89 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007533/0.3623, allocations: 4.003 MB / 0.8657 GB, free: 8.871 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007726/0.3701, allocations: 4.377 MB / 0.87 GB, free: 4.48 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.002486/0.3726, allocations: 0.7695 MB / 0.8707 GB, free: 3.711 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00472/0.3774, allocations: 1.779 MB / 0.8725 GB, free: 1.93 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.004367/0.3817, allocations: 3.033 MB / 0.8754 GB, free: 14.89 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.007018/0.3888, allocations: 3.587 MB / 0.8789 GB, free: 11.29 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.01449/0.4033, allocations: 11.85 MB / 0.8905 GB, free: 15.41 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 9.258e-06/0.4034, allocations: 0 / 0.8905 GB, free: 15.41 MB / 0.7169 GB Notification: Performance of FrontEnd: time 4.278e-06/0.4034, allocations: 0 / 0.8905 GB, free: 15.41 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 0.0004841/0.4039, allocations: 3.938 kB / 0.8905 GB, free: 15.4 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: 1394 * Number of variables: 1394 Notification: Performance of Generate backend data structure: time 0.01991/0.4238, allocations: 6.358 MB / 0.8967 GB, free: 8.969 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.648e-05/0.4239, allocations: 11.97 kB / 0.8967 GB, free: 8.957 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002385/0.4263, allocations: 0.748 MB / 0.8975 GB, free: 8.199 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008746/0.435, allocations: 1.305 MB / 0.8987 GB, free: 6.887 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007552/0.4426, allocations: 3.791 MB / 0.9024 GB, free: 3.02 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003441/0.443, allocations: 378.5 kB / 0.9028 GB, free: 2.648 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001826/0.4448, allocations: 0.4963 MB / 0.9033 GB, free: 2.152 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01733/0.4622, allocations: 8.89 MB / 0.912 GB, free: 8.91 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001451/0.4624, allocations: 23.78 kB / 0.912 GB, free: 8.887 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006025/0.463, allocations: 223.9 kB / 0.9122 GB, free: 8.668 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002184/0.4652, allocations: 0.6265 MB / 0.9128 GB, free: 8.039 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.013/0.4782, allocations: 7.014 MB / 0.9197 GB, free: 1.012 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4209/0.8991, allocations: 40.05 MB / 0.9588 GB, free: 92.06 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004255/0.9034, allocations: 2.891 MB / 0.9616 GB, free: 90.82 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003692/0.9071, allocations: 2.671 MB / 0.9642 GB, free: 89.62 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002286/0.9074, allocations: 29.06 kB / 0.9642 GB, free: 89.62 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.586e-05/0.9074, allocations: 71.78 kB / 0.9643 GB, free: 89.55 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=265): time 4.118e-06/0.9074, allocations: 3.938 kB / 0.9643 GB, free: 89.54 MB / 0.7325 GB Notification: Performance of matching and sorting (n=424): time 0.2785/1.186, allocations: 74.66 MB / 1.037 GB, free: 29.2 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.089e-05/1.186, allocations: 94.73 kB / 1.037 GB, free: 29.09 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003102/1.189, allocations: 2.355 MB / 1.04 GB, free: 26.73 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0008491/1.19, allocations: 97.7 kB / 1.04 GB, free: 26.62 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.001157/1.191, allocations: 2.34 MB / 1.042 GB, free: 24.27 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.001788/1.193, allocations: 1.43 MB / 1.043 GB, free: 22.85 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002272/1.195, allocations: 0.725 MB / 1.044 GB, free: 22.11 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 4.531e-05/1.195, allocations: 301.1 kB / 1.044 GB, free: 21.82 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003837/1.199, allocations: 2.999 MB / 1.047 GB, free: 18.81 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004111/1.203, allocations: 3.843 MB / 1.051 GB, free: 14.63 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008149/1.212, allocations: 7.395 MB / 1.058 GB, free: 6.914 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.979e-05/1.212, allocations: 4 kB / 1.058 GB, free: 6.91 MB / 0.7325 GB Notification: Performance of matching and sorting (n=551) (initialization): time 0.02748/1.239, allocations: 12.56 MB / 1.071 GB, free: 10.25 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 4.964e-05/1.239, allocations: 20.88 kB / 1.071 GB, free: 10.23 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.581e-05/1.239, allocations: 20 kB / 1.071 GB, free: 10.21 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02353/1.263, allocations: 6.029 MB / 1.076 GB, free: 4.121 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002328/1.265, allocations: 499.2 kB / 1.077 GB, free: 3.633 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08801/1.353, allocations: 72.98 MB / 1.148 GB, free: 7.371 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004281/1.357, allocations: 215.7 kB / 1.148 GB, free: 7.16 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009944/1.358, allocations: 168 kB / 1.149 GB, free: 6.996 MB / 0.8262 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.004222/1.363, allocations: 1.988 MB / 1.151 GB, free: 4.996 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00133/1.364, allocations: 395.4 kB / 1.151 GB, free: 4.605 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03069/1.395, allocations: 12.23 MB / 1.163 GB, free: 8.266 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.836e-05/1.395, allocations: 40 kB / 1.163 GB, free: 8.227 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001884/1.395, allocations: 56 kB / 1.163 GB, free: 8.172 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001014/1.395, allocations: 23.91 kB / 1.163 GB, free: 8.148 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04331/1.438, allocations: 19.14 MB / 1.182 GB, free: 4.812 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.982e-05/1.439, allocations: 12.88 kB / 1.182 GB, free: 4.801 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001646/1.44, allocations: 287.5 kB / 1.182 GB, free: 4.52 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02169/1.462, allocations: 5.579 MB / 1.187 GB, free: 14.88 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009956/1.463, allocations: 76 kB / 1.187 GB, free: 14.8 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.08971/1.553, allocations: 70.63 MB / 1.256 GB, free: 4.875 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.838e-06/1.553, allocations: 11.94 kB / 1.256 GB, free: 4.863 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03413/1.587, allocations: 15.61 MB / 1.272 GB, free: 5.027 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002856/1.59, allocations: 1.043 MB / 1.273 GB, free: 3.961 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001265/1.591, allocations: 83.98 kB / 1.273 GB, free: 3.879 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00329/1.594, allocations: 223.7 kB / 1.273 GB, free: 3.66 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001652/1.596, allocations: 406.3 kB / 1.273 GB, free: 3.262 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005616/1.597, allocations: 108 kB / 1.273 GB, free: 3.156 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.002897/1.599, allocations: 1.553 MB / 1.275 GB, free: 1.605 MB / 0.9512 GB Notification: Performance of sort global known variables: time 6.21e-07/1.6, allocations: 0 / 1.275 GB, free: 1.605 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.4046/2.004, allocations: 1.861 MB / 1.277 GB, free: 311.5 MB / 0.9512 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.03197/2.036, allocations: 16.28 MB / 1.293 GB, free: 310.1 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.02248/2.059, allocations: 12.21 MB / 1.305 GB, free: 305.5 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.501e-05/2.059, allocations: 2.375 kB / 1.305 GB, free: 305.5 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.01451/2.073, allocations: 8.362 MB / 1.313 GB, free: 300.6 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006765/2.08, allocations: 1.193 MB / 1.314 GB, free: 300.3 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09464/2.175, allocations: 53.86 MB / 1.367 GB, free: 268.6 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004895/2.18, allocations: 4.096 MB / 1.371 GB, free: 264.5 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.002422/2.182, allocations: 0.6689 MB / 1.371 GB, free: 263.9 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002025/2.184, allocations: 2.128 MB / 1.373 GB, free: 261.7 MB / 0.9512 GB Notification: Performance of SimCode: time 7.81e-07/2.184, allocations: 0 / 1.373 GB, free: 261.7 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2127/2.397, allocations: 149.2 MB / 1.519 GB, free: 113.9 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.25/20.65, allocations: 7.5 kB / 1.519 GB, free: 113.9 MB / 0.9512 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 & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-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)