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_R_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_R_N,fileNamePrefix="Buildings_maint_8_0_x_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_maint_8_0_x_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.1-maint.8.0.x/package.mo): time 1.533/1.533, allocations: 288.4 MB / 303.6 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.001048/0.001048, allocations: 176.1 kB / 372.3 MB, free: 10.11 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.112/1.112, allocations: 205.4 MB / 0.631 GB, free: 9.844 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.0006879/0.000688, allocations: 98.84 kB / 0.7444 GB, free: 5.766 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003244/0.0003245, allocations: 17.36 kB / 0.8676 GB, free: 141.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1517/0.1521, allocations: 115.3 MB / 0.9802 GB, free: 27.19 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N): time 0.02483/0.1769, allocations: 34.49 MB / 1.014 GB, free: 8.602 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.01489/0.1919, allocations: 10.59 MB / 1.024 GB, free: 13.98 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002764/0.1947, allocations: 127.3 kB / 1.024 GB, free: 13.86 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.002406/0.1971, allocations: 0.7635 MB / 1.025 GB, free: 13.09 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.004774/0.2019, allocations: 1.908 MB / 1.027 GB, free: 11.17 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.003716/0.2056, allocations: 1.331 MB / 1.028 GB, free: 9.84 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.009478/0.2151, allocations: 10.45 MB / 1.038 GB, free: 15.36 MB / 0.6667 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0179/0.2331, allocations: 14.24 MB / 1.052 GB, free: 1.02 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004509/0.2376, allocations: 2.872 MB / 1.055 GB, free: 14.14 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005188/0.2428, allocations: 3.765 MB / 1.059 GB, free: 10.36 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.00143/0.2442, allocations: 344 kB / 1.059 GB, free: 10.02 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003132/0.2474, allocations: 1.291 MB / 1.06 GB, free: 8.73 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.002826/0.2502, allocations: 2.514 MB / 1.063 GB, free: 6.211 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.004181/0.2544, allocations: 2.837 MB / 1.066 GB, free: 3.355 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.3183/0.5728, allocations: 10.21 MB / 1.076 GB, free: 31.63 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 6.983e-06/0.5728, allocations: 0 / 1.076 GB, free: 31.63 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.375e-06/0.5728, allocations: 3.969 kB / 1.076 GB, free: 31.63 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0002964/0.5731, allocations: 0 / 1.076 GB, free: 31.63 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.009221/0.5823, allocations: 5.088 MB / 1.081 GB, free: 29.56 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.804e-05/0.5824, allocations: 10.72 kB / 1.081 GB, free: 29.56 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001249/0.5836, allocations: 0.8281 MB / 1.081 GB, free: 29.49 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004385/0.588, allocations: 1.066 MB / 1.082 GB, free: 29.17 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005193/0.5932, allocations: 3.428 MB / 1.086 GB, free: 28.46 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002623/0.5935, allocations: 423.9 kB / 1.086 GB, free: 28.45 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007879/0.5943, allocations: 0.5465 MB / 1.087 GB, free: 28.45 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0135/0.6078, allocations: 9.332 MB / 1.096 GB, free: 27.38 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001126/0.6079, allocations: 21.28 kB / 1.096 GB, free: 27.38 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005568/0.6085, allocations: 246.9 kB / 1.096 GB, free: 27.38 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005314/0.6091, allocations: 422 kB / 1.097 GB, free: 27.37 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01094/0.62, allocations: 7.076 MB / 1.103 GB, free: 27.32 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03355/0.6536, allocations: 41.38 MB / 1.144 GB, free: 12.35 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003924/0.6575, allocations: 3.091 MB / 1.147 GB, free: 10.77 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002584/0.6602, allocations: 2.118 MB / 1.149 GB, free: 9.672 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001155/0.6603, allocations: 25.39 kB / 1.149 GB, free: 9.668 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.714e-05/0.6603, allocations: 60.06 kB / 1.149 GB, free: 9.609 MB / 0.698 GB Notification: Performance of pre-optimization done (n=209): time 3.908e-06/0.6603, allocations: 1.125 kB / 1.149 GB, free: 9.609 MB / 0.698 GB Notification: Performance of matching and sorting (n=212): time 0.02091/0.6813, allocations: 10.59 MB / 1.159 GB, free: 3.664 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.792e-05/0.6813, allocations: 81.16 kB / 1.159 GB, free: 3.594 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002523/0.6839, allocations: 1.98 MB / 1.161 GB, free: 2.508 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001463/0.684, allocations: 64.8 kB / 1.161 GB, free: 2.449 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001288/0.6853, allocations: 2.401 MB / 1.164 GB, free: 348 kB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005466/0.6859, allocations: 0.734 MB / 1.164 GB, free: 15.71 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001454/0.686, allocations: 50.03 kB / 1.165 GB, free: 15.67 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001653/0.6862, allocations: 415.1 kB / 1.165 GB, free: 15.29 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001675/0.6879, allocations: 1.362 MB / 1.166 GB, free: 14.57 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002084/0.69, allocations: 2.1 MB / 1.168 GB, free: 12.92 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004057/0.694, allocations: 3.749 MB / 1.172 GB, free: 10.44 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.119e-05/0.6941, allocations: 6.5 kB / 1.172 GB, free: 10.44 MB / 0.7136 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.006864/0.7009, allocations: 5.039 MB / 1.177 GB, free: 7.75 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.57e-05/0.701, allocations: 16 kB / 1.177 GB, free: 7.734 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.492e-05/0.701, allocations: 24 kB / 1.177 GB, free: 7.711 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003067/0.7041, allocations: 1.561 MB / 1.178 GB, free: 6.145 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001466/0.7056, allocations: 459.8 kB / 1.179 GB, free: 5.73 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01848/0.7241, allocations: 17.07 MB / 1.196 GB, free: 4.172 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002238/0.7263, allocations: 143.9 kB / 1.196 GB, free: 4.031 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003603/0.7267, allocations: 112 kB / 1.196 GB, free: 3.922 MB / 0.7292 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.003262/0.73, allocations: 1.943 MB / 1.198 GB, free: 1.996 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005909/0.7306, allocations: 292.7 kB / 1.198 GB, free: 1.707 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006293/0.7369, allocations: 4.436 MB / 1.202 GB, free: 13.3 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.542e-05/0.7369, allocations: 20 kB / 1.202 GB, free: 13.29 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.454e-05/0.7369, allocations: 23.38 kB / 1.202 GB, free: 13.27 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.696e-05/0.737, allocations: 7.969 kB / 1.202 GB, free: 13.26 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0138/0.7508, allocations: 9.645 MB / 1.212 GB, free: 3.594 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.858e-06/0.7508, allocations: 4 kB / 1.212 GB, free: 3.59 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009079/0.7517, allocations: 240.7 kB / 1.212 GB, free: 3.367 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002874/0.7546, allocations: 1.423 MB / 1.213 GB, free: 1.938 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001291/0.7547, allocations: 40.25 kB / 1.213 GB, free: 1.898 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0189/0.7736, allocations: 17.08 MB / 1.23 GB, free: 336 kB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.419e-06/0.7737, allocations: 4 kB / 1.23 GB, free: 332 kB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006199/0.7799, allocations: 4.531 MB / 1.235 GB, free: 11.78 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001212/0.7811, allocations: 0.6343 MB / 1.235 GB, free: 11.12 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000427/0.7815, allocations: 47.98 kB / 1.235 GB, free: 11.07 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001233/0.7828, allocations: 111.9 kB / 1.235 GB, free: 10.96 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000344/0.7831, allocations: 184.2 kB / 1.236 GB, free: 10.79 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001309/0.7833, allocations: 59.94 kB / 1.236 GB, free: 10.73 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.001625/0.7849, allocations: 1.295 MB / 1.237 GB, free: 9.426 MB / 0.7761 GB Notification: Performance of sort global known variables: time 2.11e-07/0.7849, allocations: 4 kB / 1.237 GB, free: 9.422 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.002737/0.7876, allocations: 1.141 MB / 1.238 GB, free: 8.281 MB / 0.7761 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.006271/0.7939, allocations: 5.139 MB / 1.243 GB, free: 3.117 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.00636/0.8003, allocations: 4.671 MB / 1.248 GB, free: 14.48 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 5.54e-06/0.8003, allocations: 4 kB / 1.248 GB, free: 14.47 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.00393/0.8042, allocations: 2.929 MB / 1.25 GB, free: 11.52 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004258/0.8085, allocations: 0.8183 MB / 1.251 GB, free: 10.71 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03686/0.8454, allocations: 26.19 MB / 1.277 GB, free: 15.06 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003933/0.8493, allocations: 3.686 MB / 1.28 GB, free: 11.34 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.001775/0.8511, allocations: 0.5557 MB / 1.281 GB, free: 10.77 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002007/0.8531, allocations: 1.958 MB / 1.283 GB, free: 8.82 MB / 0.823 GB Notification: Performance of SimCode: time 5.91e-07/0.8532, allocations: 0 / 1.283 GB, free: 8.82 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 9.968/10.82, allocations: 82.95 MB / 1.364 GB, free: 6.863 MB / 0.9011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002329/10.82, allocations: 245.7 kB / 1.364 GB, free: 6.617 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.119/14.94, allocations: 0 / 1.364 GB, free: 6.617 MB / 0.9011 GB (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_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_R_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N.fmu > Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe 2>&1)