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.001146/0.001146, allocations: 108 kB / 15.61 MB, free: 152 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.001185/0.001185, allocations: 195.4 kB / 16.53 MB, free: 6.664 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.248/1.248, allocations: 205.1 MB / 222.4 MB, free: 4.59 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.559/1.559, allocations: 292.3 MB / 0.5489 GB, free: 12.84 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.001317/0.001317, allocations: 72.08 kB / 0.6716 GB, free: 26.24 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1713/0.1726, allocations: 114.6 MB / 0.7835 GB, free: 13.35 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC): time 0.03499/0.2077, allocations: 37.52 MB / 0.8201 GB, free: 7.695 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.01849/0.2262, allocations: 13.06 MB / 0.8329 GB, free: 10.6 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002581/0.2288, allocations: 171.1 kB / 0.8331 GB, free: 10.43 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.008256/0.2371, allocations: 3.88 MB / 0.8368 GB, free: 6.539 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.005296/0.2424, allocations: 2.483 MB / 0.8393 GB, free: 4.043 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.005372/0.2478, allocations: 2.7 MB / 0.8419 GB, free: 1.344 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.009179/0.257, allocations: 9.575 MB / 0.8513 GB, free: 7.738 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01127/0.2682, allocations: 10.64 MB / 0.8616 GB, free: 12.96 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004545/0.2728, allocations: 3.972 MB / 0.8655 GB, free: 8.98 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004171/0.277, allocations: 4.377 MB / 0.8698 GB, free: 4.59 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0008544/0.2778, allocations: 0.7695 MB / 0.8706 GB, free: 3.82 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002626/0.2805, allocations: 1.787 MB / 0.8723 GB, free: 2.031 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.00221/0.2827, allocations: 3.029 MB / 0.8753 GB, free: 15 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.002957/0.2857, allocations: 3.587 MB / 0.8788 GB, free: 11.39 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.008213/0.2939, allocations: 11.78 MB / 0.8903 GB, free: 15.58 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.2939, allocations: 0 / 0.8903 GB, free: 15.58 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.453e-06/0.2939, allocations: 0 / 0.8903 GB, free: 15.58 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 9.842e-05/0.294, allocations: 0 / 0.8903 GB, free: 15.58 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.01023/0.3042, allocations: 6.35 MB / 0.8965 GB, free: 9.156 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.484e-05/0.3043, allocations: 12.03 kB / 0.8965 GB, free: 9.145 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008401/0.3051, allocations: 0.7518 MB / 0.8972 GB, free: 8.383 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006719/0.3119, allocations: 1.297 MB / 0.8985 GB, free: 7.078 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004697/0.3166, allocations: 3.568 MB / 0.902 GB, free: 3.434 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000217/0.3168, allocations: 382.5 kB / 0.9023 GB, free: 3.059 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006734/0.3175, allocations: 0.5002 MB / 0.9028 GB, free: 2.559 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01075/0.3282, allocations: 8.894 MB / 0.9115 GB, free: 9.312 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.22e-05/0.3283, allocations: 19.78 kB / 0.9115 GB, free: 9.293 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004885/0.3288, allocations: 223.9 kB / 0.9117 GB, free: 9.074 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002013/0.3308, allocations: 0.6304 MB / 0.9123 GB, free: 8.441 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009109/0.34, allocations: 7.01 MB / 0.9192 GB, free: 1.418 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3202/0.6602, allocations: 40.33 MB / 0.9586 GB, free: 92.18 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003609/0.6638, allocations: 2.894 MB / 0.9614 GB, free: 90.91 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003153/0.667, allocations: 2.666 MB / 0.964 GB, free: 89.82 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001906/0.6672, allocations: 27.22 kB / 0.964 GB, free: 89.81 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.62e-05/0.6673, allocations: 60.22 kB / 0.9641 GB, free: 89.75 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=265): time 3.787e-06/0.6673, allocations: 0 / 0.9641 GB, free: 89.75 MB / 0.7325 GB Notification: Performance of matching and sorting (n=424): time 0.2504/0.9177, allocations: 74.73 MB / 1.037 GB, free: 29.31 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.678e-05/0.9177, allocations: 94.73 kB / 1.037 GB, free: 29.21 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002251/0.92, allocations: 2.355 MB / 1.039 GB, free: 26.84 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0002535/0.9202, allocations: 93.7 kB / 1.04 GB, free: 26.74 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008063/0.9211, allocations: 2.344 MB / 1.042 GB, free: 24.38 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007555/0.9218, allocations: 1.433 MB / 1.043 GB, free: 22.96 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001093/0.9229, allocations: 0.7254 MB / 1.044 GB, free: 22.22 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 2.762e-05/0.923, allocations: 301.1 kB / 1.044 GB, free: 21.93 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00312/0.9261, allocations: 2.995 MB / 1.047 GB, free: 18.92 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003421/0.9295, allocations: 3.847 MB / 1.051 GB, free: 14.74 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007035/0.9365, allocations: 7.384 MB / 1.058 GB, free: 7.035 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.128e-05/0.9366, allocations: 8 kB / 1.058 GB, free: 7.027 MB / 0.7325 GB Notification: Performance of matching and sorting (n=551) (initialization): time 0.02409/0.9607, allocations: 12.56 MB / 1.07 GB, free: 10.36 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.655e-05/0.9607, allocations: 14.66 kB / 1.07 GB, free: 10.35 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.152e-05/0.9607, allocations: 24 kB / 1.07 GB, free: 10.33 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02115/0.9819, allocations: 6.081 MB / 1.076 GB, free: 4.188 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001898/0.9838, allocations: 491.2 kB / 1.077 GB, free: 3.707 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07874/1.063, allocations: 73.03 MB / 1.148 GB, free: 7.379 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003368/1.066, allocations: 219.8 kB / 1.148 GB, free: 7.164 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004654/1.066, allocations: 156 kB / 1.149 GB, free: 7.012 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.003013/1.069, allocations: 1.996 MB / 1.15 GB, free: 5.004 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007803/1.07, allocations: 391.4 kB / 1.151 GB, free: 4.617 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02586/1.096, allocations: 12.22 MB / 1.163 GB, free: 8.277 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.517e-05/1.096, allocations: 43.98 kB / 1.163 GB, free: 8.234 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.615e-05/1.096, allocations: 52 kB / 1.163 GB, free: 8.184 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.045e-05/1.096, allocations: 23.92 kB / 1.163 GB, free: 8.16 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03438/1.131, allocations: 19.14 MB / 1.182 GB, free: 4.824 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.919e-05/1.131, allocations: 16 kB / 1.182 GB, free: 4.809 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001303/1.132, allocations: 291.5 kB / 1.182 GB, free: 4.523 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01941/1.151, allocations: 5.616 MB / 1.187 GB, free: 14.84 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002652/1.152, allocations: 87.92 kB / 1.187 GB, free: 14.76 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.07423/1.226, allocations: 70.67 MB / 1.256 GB, free: 4.785 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.585e-06/1.226, allocations: 11.94 kB / 1.256 GB, free: 4.773 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02732/1.253, allocations: 15.61 MB / 1.272 GB, free: 4.938 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001746/1.255, allocations: 1.047 MB / 1.273 GB, free: 3.867 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006557/1.256, allocations: 76 kB / 1.273 GB, free: 3.793 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002302/1.258, allocations: 227.6 kB / 1.273 GB, free: 3.57 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009279/1.259, allocations: 398.3 kB / 1.273 GB, free: 3.18 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002698/1.259, allocations: 112 kB / 1.274 GB, free: 3.07 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.001872/1.261, allocations: 1.556 MB / 1.275 GB, free: 1.516 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.302e-06/1.261, allocations: 0 / 1.275 GB, free: 1.516 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.2953/1.556, allocations: 1.864 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.02782/1.584, allocations: 16.28 MB / 1.293 GB, free: 310.1 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.02309/1.607, allocations: 14.99 MB / 1.307 GB, free: 305.6 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 7.745e-06/1.607, allocations: 2.688 kB / 1.307 GB, free: 305.6 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.01104/1.618, allocations: 8.365 MB / 1.316 GB, free: 300.7 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004298/1.623, allocations: 1.186 MB / 1.317 GB, free: 300.3 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07407/1.697, allocations: 60.3 MB / 1.376 GB, free: 256.7 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003444/1.7, allocations: 4.094 MB / 1.38 GB, free: 252.6 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.001742/1.702, allocations: 0.6678 MB / 1.38 GB, free: 251.9 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001622/1.704, allocations: 2.128 MB / 1.382 GB, free: 249.8 MB / 0.9512 GB Notification: Performance of SimCode: time 1.062e-06/1.704, allocations: 0 / 1.382 GB, free: 249.8 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.576/5.279, allocations: 151.6 MB / 1.53 GB, free: 99.52 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.36/21.64, allocations: 0 / 1.53 GB, free: 99.52 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 & /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)