Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.659/2.659, allocations: 287.3 MB / 302.3 MB, free: 8.262 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.00162/0.001619, allocations: 175 kB / 370.8 MB, free: 10.88 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.222/2.222, allocations: 205.4 MB / 0.6295 GB, free: 10.64 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.001083/0.001083, allocations: 94.89 kB / 0.7428 GB, free: 6.641 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004947/0.0004949, allocations: 12.56 kB / 0.8657 GB, free: 140.3 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2099/0.2104, allocations: 115.3 MB / 0.9783 GB, free: 28.29 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N): time 0.04797/0.2584, allocations: 33.02 MB / 1.011 GB, free: 11.19 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.02663/0.2851, allocations: 10.72 MB / 1.021 GB, free: 452 kB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003967/0.2891, allocations: 127.2 kB / 1.021 GB, free: 324 kB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.003773/0.293, allocations: 0.7608 MB / 1.022 GB, free: 15.55 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.008025/0.3011, allocations: 1.706 MB / 1.024 GB, free: 13.84 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.006589/0.3077, allocations: 1.296 MB / 1.025 GB, free: 12.55 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.01086/0.3186, allocations: 4.447 MB / 1.029 GB, free: 8.09 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.03275/0.3514, allocations: 12.64 MB / 1.041 GB, free: 11.37 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00662/0.3581, allocations: 2.495 MB / 1.044 GB, free: 8.867 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006832/0.3649, allocations: 2.643 MB / 1.047 GB, free: 6.215 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 0.002069/0.3671, allocations: 348 kB / 1.047 GB, free: 5.875 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003726/0.3709, allocations: 0.5932 MB / 1.047 GB, free: 5.281 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.005167/0.3761, allocations: 2.315 MB / 1.05 GB, free: 2.961 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 0.003385/0.3795, allocations: 1.198 MB / 1.051 GB, free: 1.754 MB / 0.6667 GB Notification: Performance of NFConvertDAE.convert: time 0.01721/0.3968, allocations: 10.02 MB / 1.061 GB, free: 7.707 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.3968, allocations: 0 / 1.061 GB, free: 7.707 MB / 0.6823 GB Notification: Performance of FrontEnd: time 5.31e-06/0.3968, allocations: 4 kB / 1.061 GB, free: 7.703 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0004248/0.3973, allocations: 0 / 1.061 GB, free: 7.703 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: 1524 * Number of variables: 1524 Notification: Performance of Generate backend data structure: time 0.01826/0.4155, allocations: 5.105 MB / 1.066 GB, free: 2.527 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.117e-05/0.4156, allocations: 8.031 kB / 1.066 GB, free: 2.52 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003204/0.4188, allocations: 0.8292 MB / 1.066 GB, free: 1.68 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007688/0.4266, allocations: 1.012 MB / 1.067 GB, free: 0.6602 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.6315/1.058, allocations: 3.346 MB / 1.071 GB, free: 78.07 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005873/1.059, allocations: 429 kB / 1.071 GB, free: 77.88 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0025/1.061, allocations: 0.5421 MB / 1.072 GB, free: 77.71 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03202/1.093, allocations: 9.283 MB / 1.081 GB, free: 73.83 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002435/1.094, allocations: 18.75 kB / 1.081 GB, free: 73.82 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001294/1.095, allocations: 246.1 kB / 1.081 GB, free: 73.65 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001077/1.096, allocations: 424.5 kB / 1.081 GB, free: 73.6 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02376/1.12, allocations: 7.076 MB / 1.088 GB, free: 71.12 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06205/1.182, allocations: 41.36 MB / 1.129 GB, free: 35.55 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008056/1.19, allocations: 3.103 MB / 1.132 GB, free: 33.93 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002887/1.19, allocations: 22.72 kB / 1.132 GB, free: 33.93 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.823e-05/1.19, allocations: 58.41 kB / 1.132 GB, free: 33.88 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=209): time 5.551e-06/1.19, allocations: 1.219 kB / 1.132 GB, free: 33.88 MB / 0.6823 GB Notification: Performance of matching and sorting (n=212): time 0.04211/1.233, allocations: 10.44 MB / 1.142 GB, free: 27.96 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.374e-05/1.233, allocations: 73.03 kB / 1.142 GB, free: 27.9 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004032/1.237, allocations: 1.982 MB / 1.144 GB, free: 26.81 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0005675/1.237, allocations: 66.98 kB / 1.144 GB, free: 26.75 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.001887/1.239, allocations: 2.398 MB / 1.146 GB, free: 24.65 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.001136/1.24, allocations: 0.7323 MB / 1.147 GB, free: 24.02 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002816/1.241, allocations: 54.72 kB / 1.147 GB, free: 23.98 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001799/1.241, allocations: 412.9 kB / 1.148 GB, free: 23.6 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003382/1.244, allocations: 1.366 MB / 1.149 GB, free: 22.85 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003683/1.248, allocations: 2.084 MB / 1.151 GB, free: 20.45 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003956/1.252, allocations: 1.724 MB / 1.153 GB, free: 18.73 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.662e-05/1.252, allocations: 4 kB / 1.153 GB, free: 18.72 MB / 0.6823 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.01279/1.265, allocations: 5.046 MB / 1.158 GB, free: 13.65 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 5.125e-05/1.265, allocations: 12 kB / 1.158 GB, free: 13.64 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.55e-05/1.265, allocations: 24.88 kB / 1.158 GB, free: 13.62 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006029/1.271, allocations: 1.56 MB / 1.159 GB, free: 12.05 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003276/1.274, allocations: 459.2 kB / 1.16 GB, free: 11.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03541/1.31, allocations: 17.72 MB / 1.177 GB, free: 9.359 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004075/1.314, allocations: 152 kB / 1.177 GB, free: 9.211 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006892/1.315, allocations: 104 kB / 1.177 GB, free: 9.109 MB / 0.698 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 (231): * Single equations (assignments): 227 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(6,69.4%) 32,(6,66.7%) 24,(4,100.0%) 18,(4,100.0%) 18} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005903/1.321, allocations: 1.947 MB / 1.179 GB, free: 7.152 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001097/1.322, allocations: 288.7 kB / 1.179 GB, free: 6.867 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01392/1.336, allocations: 4.428 MB / 1.184 GB, free: 2.41 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.217e-05/1.336, allocations: 23.94 kB / 1.184 GB, free: 2.387 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.808e-05/1.336, allocations: 16 kB / 1.184 GB, free: 2.371 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.153e-05/1.336, allocations: 15.95 kB / 1.184 GB, free: 2.355 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02995/1.366, allocations: 9.64 MB / 1.193 GB, free: 8.605 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.912e-05/1.366, allocations: 4 kB / 1.193 GB, free: 8.602 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002143/1.368, allocations: 235.6 kB / 1.193 GB, free: 8.371 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006519/1.375, allocations: 1.426 MB / 1.195 GB, free: 6.938 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004706/1.375, allocations: 40 kB / 1.195 GB, free: 6.898 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03987/1.415, allocations: 17.73 MB / 1.212 GB, free: 4.633 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.019e-05/1.415, allocations: 8 kB / 1.212 GB, free: 4.625 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01417/1.429, allocations: 4.87 MB / 1.217 GB, free: 15.56 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002717/1.432, allocations: 0.6382 MB / 1.217 GB, free: 14.9 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00106/1.433, allocations: 44 kB / 1.217 GB, free: 14.86 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002812/1.436, allocations: 111.9 kB / 1.218 GB, free: 14.75 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009201/1.437, allocations: 185.6 kB / 1.218 GB, free: 14.57 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002696/1.437, allocations: 56 kB / 1.218 GB, free: 14.51 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.00324/1.441, allocations: 1.303 MB / 1.219 GB, free: 13.2 MB / 0.7448 GB Notification: Performance of sort global known variables: time 7.92e-07/1.441, allocations: 0 / 1.219 GB, free: 13.2 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.006129/1.447, allocations: 1.137 MB / 1.22 GB, free: 12.06 MB / 0.7448 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 (107): * Single equations (assignments): 103 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(4,100.0%) 18,(6,66.7%) 24,(4,100.0%) 18,(6,66.7%) 32} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01502/1.462, allocations: 6.589 MB / 1.227 GB, free: 5.309 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.01357/1.475, allocations: 4.675 MB / 1.231 GB, free: 0.5898 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-05/1.476, allocations: 4 kB / 1.231 GB, free: 0.5859 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.009223/1.485, allocations: 2.92 MB / 1.234 GB, free: 13.62 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006654/1.491, allocations: 0.8048 MB / 1.235 GB, free: 12.82 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08441/1.576, allocations: 41.17 MB / 1.275 GB, free: 1.891 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009094/1.585, allocations: 3.791 MB / 1.279 GB, free: 14.07 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.003804/1.589, allocations: 0.5479 MB / 1.279 GB, free: 13.51 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004667/1.594, allocations: 1.952 MB / 1.281 GB, free: 11.56 MB / 0.8073 GB Notification: Performance of SimCode: time 1.172e-06/1.594, allocations: 4 kB / 1.281 GB, free: 11.56 MB / 0.8073 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2202/1.814, allocations: 82.28 MB / 1.362 GB, free: 10.09 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003666/1.814, allocations: 224.8 kB / 1.362 GB, free: 9.855 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.529/7.343, allocations: 0 / 1.362 GB, free: 9.855 MB / 0.8855 GB (rm -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N.fmu > Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe 2>&1)