Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.758/1.758, allocations: 288.2 MB / 303.2 MB, free: 8.152 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001355/0.001354, allocations: 187.6 kB / 371.8 MB, free: 10.27 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.645/1.645, allocations: 205.4 MB / 0.6305 GB, free: 10.02 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000944/0.0009439, allocations: 90.92 kB / 0.7439 GB, free: 5.934 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003756/0.0003756, allocations: 11.97 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2495/0.2498, allocations: 115.3 MB / 0.9795 GB, free: 27.59 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N): time 0.02362/0.2736, allocations: 28.77 MB / 1.008 GB, free: 14.75 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.02219/0.2958, allocations: 13.81 MB / 1.021 GB, free: 0.9023 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004127/0.3, allocations: 135.1 kB / 1.021 GB, free: 0.7695 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.003261/0.3033, allocations: 0.6987 MB / 1.022 GB, free: 68 kB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.009643/0.313, allocations: 2.268 MB / 1.024 GB, free: 13.79 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.00572/0.3187, allocations: 1.404 MB / 1.025 GB, free: 12.39 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.0113/0.33, allocations: 4.545 MB / 1.03 GB, free: 7.832 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0175/0.3476, allocations: 9.841 MB / 1.04 GB, free: 13.93 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006026/0.3537, allocations: 2.597 MB / 1.042 GB, free: 11.32 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005635/0.3594, allocations: 2.421 MB / 1.044 GB, free: 8.891 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 0.001785/0.3612, allocations: 296 kB / 1.045 GB, free: 8.602 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003697/0.3649, allocations: 0.6984 MB / 1.045 GB, free: 7.902 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.004165/0.3691, allocations: 2.093 MB / 1.047 GB, free: 5.805 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 0.0034/0.3725, allocations: 1.124 MB / 1.049 GB, free: 4.672 MB / 0.6667 GB Notification: Performance of NFConvertDAE.convert: time 0.01595/0.3885, allocations: 9.035 MB / 1.057 GB, free: 11.61 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 6.382e-06/0.3886, allocations: 0 / 1.057 GB, free: 11.61 MB / 0.6823 GB Notification: Performance of FrontEnd: time 4.108e-06/0.3886, allocations: 0 / 1.057 GB, free: 11.61 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0005482/0.3892, allocations: 0 / 1.057 GB, free: 11.61 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1338 * Number of variables: 1338 Notification: Performance of Generate backend data structure: time 0.01655/0.4058, allocations: 4.857 MB / 1.062 GB, free: 6.684 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 7.035e-05/0.4058, allocations: 12.03 kB / 1.062 GB, free: 6.672 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003876/0.4097, allocations: 0.7269 MB / 1.063 GB, free: 5.934 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007939/0.4177, allocations: 1.117 MB / 1.064 GB, free: 4.809 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01156/0.4293, allocations: 3.239 MB / 1.067 GB, free: 1.492 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005468/0.4299, allocations: 370 kB / 1.067 GB, free: 1.129 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002406/0.4324, allocations: 495.9 kB / 1.068 GB, free: 0.6445 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.5872/1.02, allocations: 7.915 MB / 1.076 GB, free: 76.38 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002011/1.02, allocations: 28.17 kB / 1.076 GB, free: 76.37 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007936/1.021, allocations: 216.3 kB / 1.076 GB, free: 76.22 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001365/1.022, allocations: 438.8 kB / 1.076 GB, free: 76.18 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01938/1.041, allocations: 6.049 MB / 1.082 GB, free: 74.05 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05593/1.097, allocations: 35.2 MB / 1.117 GB, free: 45 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002871/1.1, allocations: 2.016 MB / 1.119 GB, free: 43.93 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001439/1.101, allocations: 19.06 kB / 1.119 GB, free: 43.93 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.534e-05/1.101, allocations: 68.41 kB / 1.119 GB, free: 43.86 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=171): time 4.588e-06/1.101, allocations: 0 / 1.119 GB, free: 43.86 MB / 0.6823 GB Notification: Performance of matching and sorting (n=276): time 0.1478/1.248, allocations: 38.98 MB / 1.157 GB, free: 16.38 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.097e-05/1.249, allocations: 85.56 kB / 1.157 GB, free: 16.28 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002748/1.251, allocations: 2.254 MB / 1.159 GB, free: 14.01 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0004242/1.252, allocations: 69.7 kB / 1.159 GB, free: 13.94 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009765/1.253, allocations: 2.279 MB / 1.161 GB, free: 11.64 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006977/1.253, allocations: 0.9307 MB / 1.162 GB, free: 10.71 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001694/1.254, allocations: 60 kB / 1.162 GB, free: 10.66 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001329/1.254, allocations: 428.1 kB / 1.163 GB, free: 10.23 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002309/1.256, allocations: 1.962 MB / 1.165 GB, free: 8.266 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002615/1.259, allocations: 2.579 MB / 1.167 GB, free: 5.441 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002696/1.261, allocations: 2.38 MB / 1.169 GB, free: 3.043 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.069e-05/1.261, allocations: 4 kB / 1.169 GB, free: 3.039 MB / 0.6823 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.01378/1.275, allocations: 7.713 MB / 1.177 GB, free: 11.26 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.902e-05/1.275, allocations: 19.89 kB / 1.177 GB, free: 11.24 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.514e-05/1.275, allocations: 23.81 kB / 1.177 GB, free: 11.22 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009192/1.285, allocations: 3.216 MB / 1.18 GB, free: 7.992 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001707/1.286, allocations: 391.4 kB / 1.18 GB, free: 7.609 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04303/1.329, allocations: 32.35 MB / 1.212 GB, free: 6.473 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003554/1.333, allocations: 159.8 kB / 1.212 GB, free: 6.316 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004204/1.333, allocations: 108 kB / 1.212 GB, free: 6.211 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (202): * Single equations (assignments): 196 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(10,71.0%) 28,(10,65.0%) 28,(6,77.8%) 24,(6,77.8%) 24,(5,92.0%) 17,(5,92.0%) 17} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003911/1.337, allocations: 1.801 MB / 1.214 GB, free: 4.398 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009228/1.338, allocations: 340 kB / 1.214 GB, free: 4.062 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01395/1.352, allocations: 7.331 MB / 1.222 GB, free: 12.65 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.845e-05/1.352, allocations: 24 kB / 1.222 GB, free: 12.63 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.315e-05/1.352, allocations: 32 kB / 1.222 GB, free: 12.6 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.997e-05/1.352, allocations: 11.95 kB / 1.222 GB, free: 12.59 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02436/1.377, allocations: 12.91 MB / 1.234 GB, free: 15.54 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.442e-05/1.377, allocations: 8 kB / 1.234 GB, free: 15.53 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001057/1.378, allocations: 230.3 kB / 1.234 GB, free: 15.31 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008301/1.386, allocations: 2.853 MB / 1.237 GB, free: 12.44 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004812/1.387, allocations: 52 kB / 1.237 GB, free: 12.39 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04223/1.429, allocations: 31.17 MB / 1.268 GB, free: 12.42 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.218e-05/1.429, allocations: 11.94 kB / 1.268 GB, free: 12.41 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01386/1.443, allocations: 7.414 MB / 1.275 GB, free: 4.547 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003009/1.446, allocations: 0.7898 MB / 1.276 GB, free: 3.734 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001076/1.447, allocations: 55.98 kB / 1.276 GB, free: 3.68 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002291/1.449, allocations: 167.8 kB / 1.276 GB, free: 3.516 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008658/1.45, allocations: 249.5 kB / 1.276 GB, free: 3.273 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001804/1.451, allocations: 79.94 kB / 1.276 GB, free: 3.195 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.002539/1.453, allocations: 1.502 MB / 1.278 GB, free: 1.691 MB / 0.7917 GB Notification: Performance of sort global known variables: time 1.533e-06/1.453, allocations: 0 / 1.278 GB, free: 1.691 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.005087/1.458, allocations: 1.355 MB / 1.279 GB, free: 348 kB / 0.7917 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (105): * Single equations (assignments): 99 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(5,84.0%) 17,(6,77.8%) 24,(10,65.0%) 28,(5,92.0%) 17,(6,77.8%) 24,(10,65.0%) 28} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01406/1.472, allocations: 9.667 MB / 1.289 GB, free: 6.348 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.01237/1.485, allocations: 6.901 MB / 1.295 GB, free: 15.36 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.821e-05/1.485, allocations: 4 kB / 1.295 GB, free: 15.36 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.007853/1.493, allocations: 4.409 MB / 1.3 GB, free: 10.87 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004824/1.497, allocations: 0.9853 MB / 1.301 GB, free: 9.906 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06535/1.563, allocations: 43.8 MB / 1.343 GB, free: 12.46 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004461/1.567, allocations: 3.737 MB / 1.347 GB, free: 8.691 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.002449/1.57, allocations: 0.5556 MB / 1.347 GB, free: 8.133 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002459/1.572, allocations: 1.975 MB / 1.349 GB, free: 6.156 MB / 0.8698 GB Notification: Performance of SimCode: time 1.172e-06/1.572, allocations: 4 kB / 1.349 GB, free: 6.152 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6508/2.223, allocations: 107.3 MB / 1.454 GB, free: 300.5 MB / 0.9323 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001793/2.223, allocations: 238.6 kB / 1.454 GB, free: 300.2 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.897/7.121, allocations: 0 / 1.454 GB, free: 300.2 MB / 0.9323 GB (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N.fmu > Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe 2>&1)