Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_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_L_N,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_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.001119/0.001119, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001582/0.001582, allocations: 200.1 kB / 16.26 MB, free: 6.621 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.335/1.335, allocations: 205.1 MB / 222.1 MB, free: 4.742 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.673/1.673, allocations: 292.3 MB / 0.5486 GB, free: 13.64 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.001381/0.001381, allocations: 69.86 kB / 0.6711 GB, free: 26.2 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2222/0.2236, allocations: 114.5 MB / 0.783 GB, free: 13.8 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N): time 0.03626/0.2599, allocations: 34.39 MB / 0.8166 GB, free: 11.3 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.01899/0.2789, allocations: 11.52 MB / 0.8278 GB, free: 15.75 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005035/0.284, allocations: 143.2 kB / 0.8279 GB, free: 15.61 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.01053/0.2947, allocations: 3.999 MB / 0.8319 GB, free: 11.6 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.005928/0.3006, allocations: 1.817 MB / 0.8336 GB, free: 9.777 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.006308/0.3069, allocations: 2.194 MB / 0.8358 GB, free: 7.586 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.009873/0.3168, allocations: 8.483 MB / 0.8441 GB, free: 15.08 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01881/0.3357, allocations: 13.43 MB / 0.8572 GB, free: 1.543 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006469/0.3422, allocations: 3.789 MB / 0.8609 GB, free: 13.74 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006869/0.3491, allocations: 4.401 MB / 0.8652 GB, free: 9.324 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.002031/0.3512, allocations: 0.7773 MB / 0.8659 GB, free: 8.547 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00437/0.3555, allocations: 2.024 MB / 0.8679 GB, free: 6.523 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.003708/0.3593, allocations: 3.053 MB / 0.8709 GB, free: 3.465 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.004709/0.364, allocations: 3.4 MB / 0.8742 GB, free: 52 kB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.01183/0.3759, allocations: 12.02 MB / 0.8859 GB, free: 3.996 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 7.263e-06/0.3759, allocations: 0 / 0.8859 GB, free: 3.996 MB / 0.7012 GB Notification: Performance of FrontEnd: time 3.437e-06/0.3759, allocations: 0 / 0.8859 GB, free: 3.996 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 0.0003246/0.3762, allocations: 3.938 kB / 0.8859 GB, free: 3.992 MB / 0.7012 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1488 * Number of variables: 1488 Notification: Performance of Generate backend data structure: time 0.01281/0.3891, allocations: 5.791 MB / 0.8916 GB, free: 14.13 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.451e-05/0.3891, allocations: 11.97 kB / 0.8916 GB, free: 14.12 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001528/0.3907, allocations: 0.809 MB / 0.8924 GB, free: 13.3 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005953/0.3966, allocations: 1.06 MB / 0.8934 GB, free: 12.23 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00617/0.4028, allocations: 3.258 MB / 0.8966 GB, free: 8.914 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003142/0.4032, allocations: 419.4 kB / 0.897 GB, free: 8.504 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001519/0.4047, allocations: 0.5354 MB / 0.8975 GB, free: 7.969 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01734/0.422, allocations: 9.071 MB / 0.9064 GB, free: 14.57 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001679/0.4222, allocations: 35.67 kB / 0.9064 GB, free: 14.54 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006737/0.4229, allocations: 236 kB / 0.9067 GB, free: 14.31 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003342/0.4232, allocations: 354.8 kB / 0.907 GB, free: 13.96 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01294/0.4362, allocations: 6.822 MB / 0.9137 GB, free: 7.129 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4276/0.8638, allocations: 40.12 MB / 0.9528 GB, free: 93.08 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003191/0.8671, allocations: 3.116 MB / 0.9559 GB, free: 91.3 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002529/0.8696, allocations: 1.972 MB / 0.9578 GB, free: 90.55 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001087/0.8697, allocations: 23.33 kB / 0.9578 GB, free: 90.55 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.394e-05/0.8698, allocations: 50.72 kB / 0.9579 GB, free: 90.49 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=179): time 4.278e-06/0.8698, allocations: 0 / 0.9579 GB, free: 90.49 MB / 0.7325 GB Notification: Performance of matching and sorting (n=182): time 0.02363/0.8934, allocations: 9.982 MB / 0.9676 GB, free: 86.59 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.837e-05/0.8935, allocations: 74.53 kB / 0.9677 GB, free: 86.53 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001919/0.8954, allocations: 1.525 MB / 0.9692 GB, free: 85.66 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0001159/0.8955, allocations: 56.14 kB / 0.9692 GB, free: 85.61 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009221/0.8965, allocations: 2.252 MB / 0.9714 GB, free: 83.63 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004112/0.8969, allocations: 0.6309 MB / 0.972 GB, free: 83.09 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005552/0.8975, allocations: 404.7 kB / 0.9724 GB, free: 82.87 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 4.141e-05/0.8975, allocations: 306.2 kB / 0.9727 GB, free: 82.57 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001494/0.899, allocations: 1.181 MB / 0.9739 GB, free: 81.95 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001709/0.9007, allocations: 1.876 MB / 0.9757 GB, free: 80.4 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003571/0.9043, allocations: 3.376 MB / 0.979 GB, free: 78.03 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.679e-05/0.9043, allocations: 7.672 kB / 0.979 GB, free: 78.03 MB / 0.7325 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.00709/0.9114, allocations: 4.575 MB / 0.9835 GB, free: 75.58 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 4.06e-05/0.9115, allocations: 24.33 kB / 0.9835 GB, free: 75.58 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.959e-05/0.9115, allocations: 19.72 kB / 0.9835 GB, free: 75.58 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003214/0.9148, allocations: 1.601 MB / 0.9851 GB, free: 74.91 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001025/0.9158, allocations: 347 kB / 0.9854 GB, free: 74.82 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0174/0.9332, allocations: 18.61 MB / 1.004 GB, free: 61.29 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001711/0.935, allocations: 121.4 kB / 1.004 GB, free: 61.22 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000139/0.9351, allocations: 95.97 kB / 1.004 GB, free: 61.2 MB / 0.7325 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 (177): * Single equations (assignments): 173 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(12,26,30.6%), (6,24,66.7%), (6,16,66.7%), (6,16,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00238/0.9375, allocations: 1.89 MB / 1.006 GB, free: 59.54 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003634/0.9379, allocations: 221.4 kB / 1.006 GB, free: 59.32 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005557/0.9434, allocations: 4.094 MB / 1.01 GB, free: 55.19 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.158e-05/0.9435, allocations: 16 kB / 1.01 GB, free: 55.18 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.717e-05/0.9435, allocations: 16 kB / 1.01 GB, free: 55.16 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.613e-05/0.9435, allocations: 15.95 kB / 1.01 GB, free: 55.14 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01203/0.9555, allocations: 9.482 MB / 1.019 GB, free: 45.46 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.528e-06/0.9556, allocations: 4 kB / 1.019 GB, free: 45.46 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007027/0.9563, allocations: 180.3 kB / 1.019 GB, free: 45.28 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002924/0.9592, allocations: 1.378 MB / 1.021 GB, free: 43.89 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001114/0.9593, allocations: 32 kB / 1.021 GB, free: 43.86 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0159/0.9753, allocations: 17.35 MB / 1.038 GB, free: 25.96 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.038e-06/0.9753, allocations: 4 kB / 1.038 GB, free: 25.95 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005506/0.9808, allocations: 4.073 MB / 1.042 GB, free: 21.79 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000905/0.9817, allocations: 0.5217 MB / 1.042 GB, free: 21.25 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003454/0.9821, allocations: 36 kB / 1.042 GB, free: 21.21 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008487/0.9829, allocations: 91.89 kB / 1.042 GB, free: 21.12 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004091/0.9834, allocations: 161.7 kB / 1.042 GB, free: 20.96 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.226e-05/0.9835, allocations: 44 kB / 1.042 GB, free: 20.92 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001003/0.9845, allocations: 1.005 MB / 1.043 GB, free: 19.89 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9845, allocations: 0 / 1.043 GB, free: 19.89 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002729/0.9872, allocations: 0.9883 MB / 1.044 GB, free: 18.9 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 simulation (85): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(6,16,66.7%), (6,16,66.7%), (6,24,66.7%), (6,24,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.005146/0.9924, allocations: 4.671 MB / 1.049 GB, free: 14.14 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.007321/0.9997, allocations: 5.195 MB / 1.054 GB, free: 8.906 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.364e-05/0.9998, allocations: 0 / 1.054 GB, free: 8.906 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.003714/1.003, allocations: 2.669 MB / 1.057 GB, free: 6.191 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003641/1.007, allocations: 0.7656 MB / 1.057 GB, free: 5.461 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04548/1.053, allocations: 30.93 MB / 1.088 GB, free: 4.539 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004204/1.057, allocations: 3.565 MB / 1.091 GB, free: 0.9375 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.001485/1.058, allocations: 471.9 kB / 1.092 GB, free: 484 kB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002061/1.06, allocations: 1.793 MB / 1.093 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of SimCode: time 1.082e-06/1.061, allocations: 0 / 1.093 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1296/1.19, allocations: 72.66 MB / 1.164 GB, free: 6.781 MB / 0.8419 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001918/1.19, allocations: 259.6 kB / 1.164 GB, free: 6.52 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.172/4.362, allocations: 0 / 1.164 GB, free: 6.52 MB / 0.8419 GB (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N.fmu > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe 2>&1)