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.771/1.771, allocations: 288.2 MB / 303.2 MB, free: 8.137 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.001232/0.001231, allocations: 189 kB / 371.8 MB, free: 10.28 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.833/1.833, 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.0008107/0.0008105, allocations: 97.25 kB / 0.7439 GB, free: 5.953 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003848/0.0003848, allocations: 12.06 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2139/0.2143, 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_R_N): time 0.02892/0.2433, allocations: 33.03 MB / 1.012 GB, free: 10.48 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.01857/0.2619, allocations: 10.72 MB / 1.022 GB, free: 15.73 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003681/0.2656, allocations: 127.2 kB / 1.022 GB, free: 15.61 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.003081/0.2687, allocations: 0.757 MB / 1.023 GB, free: 14.84 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.006878/0.2756, allocations: 1.706 MB / 1.025 GB, free: 13.13 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.005015/0.2807, allocations: 1.301 MB / 1.026 GB, free: 11.84 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.009049/0.2898, allocations: 4.435 MB / 1.03 GB, free: 7.391 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02294/0.3127, allocations: 12.66 MB / 1.043 GB, free: 10.66 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005898/0.3187, allocations: 2.491 MB / 1.045 GB, free: 8.156 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005985/0.3247, allocations: 2.643 MB / 1.048 GB, free: 5.504 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 0.002149/0.3269, allocations: 352 kB / 1.048 GB, free: 5.16 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003417/0.3304, allocations: 0.5894 MB / 1.049 GB, free: 4.57 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.003932/0.3343, allocations: 2.311 MB / 1.051 GB, free: 2.254 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 0.002764/0.3371, allocations: 1.194 MB / 1.052 GB, free: 1.051 MB / 0.6667 GB Notification: Performance of NFConvertDAE.convert: time 0.01332/0.3505, allocations: 10.03 MB / 1.062 GB, free: 6.996 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.3505, allocations: 0 / 1.062 GB, free: 6.996 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.665e-06/0.3505, allocations: 0 / 1.062 GB, free: 6.996 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0004552/0.351, allocations: 0 / 1.062 GB, free: 6.996 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.01447/0.3655, allocations: 5.105 MB / 1.067 GB, free: 1.82 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.208e-05/0.3655, allocations: 12.03 kB / 1.067 GB, free: 1.809 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003183/0.3687, allocations: 0.8253 MB / 1.068 GB, free: 0.9727 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.487/0.8557, allocations: 1.007 MB / 1.069 GB, free: 79.25 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01043/0.8662, allocations: 3.357 MB / 1.072 GB, free: 78.2 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000523/0.8668, allocations: 422.1 kB / 1.072 GB, free: 78.02 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002874/0.8697, allocations: 0.5444 MB / 1.073 GB, free: 77.85 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02656/0.8962, allocations: 9.277 MB / 1.082 GB, free: 73.96 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001861/0.8965, allocations: 24.09 kB / 1.082 GB, free: 73.95 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001293/0.8978, allocations: 249.9 kB / 1.082 GB, free: 73.77 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009088/0.8987, allocations: 421.1 kB / 1.083 GB, free: 73.73 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01876/0.9175, allocations: 7.077 MB / 1.089 GB, free: 71.25 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0453/0.9628, allocations: 41.37 MB / 1.13 GB, free: 34.7 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00467/0.9675, allocations: 3.096 MB / 1.133 GB, free: 33.1 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001362/0.9677, allocations: 21.75 kB / 1.133 GB, free: 33.1 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.012e-05/0.9677, allocations: 62.56 kB / 1.133 GB, free: 33.04 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=209): time 4.548e-06/0.9678, allocations: 0 / 1.133 GB, free: 33.04 MB / 0.6823 GB Notification: Performance of matching and sorting (n=212): time 0.02517/0.9929, allocations: 10.44 MB / 1.143 GB, free: 27.13 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.79e-05/0.993, allocations: 73.03 kB / 1.143 GB, free: 27.07 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003443/0.9965, allocations: 1.99 MB / 1.145 GB, free: 25.97 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0004111/0.9969, allocations: 63.77 kB / 1.145 GB, free: 25.91 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.001578/0.9985, allocations: 2.4 MB / 1.148 GB, free: 23.81 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008735/0.9994, allocations: 0.7353 MB / 1.148 GB, free: 23.18 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000165/0.9995, allocations: 55.28 kB / 1.148 GB, free: 23.13 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001769/0.9997, allocations: 409.5 kB / 1.149 GB, free: 22.76 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002117/1.002, allocations: 1.363 MB / 1.15 GB, free: 21.85 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00229/1.004, allocations: 2.084 MB / 1.152 GB, free: 19.45 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002151/1.006, allocations: 1.72 MB / 1.154 GB, free: 17.73 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.557e-05/1.006, allocations: 8 kB / 1.154 GB, free: 17.73 MB / 0.6823 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.007444/1.014, allocations: 5.039 MB / 1.159 GB, free: 12.66 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 3.435e-05/1.014, allocations: 16 kB / 1.159 GB, free: 12.65 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.725e-05/1.014, allocations: 24.12 kB / 1.159 GB, free: 12.62 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003138/1.017, allocations: 1.561 MB / 1.16 GB, free: 11.06 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001749/1.019, allocations: 455.2 kB / 1.161 GB, free: 10.62 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01924/1.038, allocations: 17.72 MB / 1.178 GB, free: 8.379 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002701/1.041, allocations: 143.9 kB / 1.178 GB, free: 8.238 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002591/1.041, allocations: 115.9 kB / 1.178 GB, free: 8.125 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.004078/1.045, allocations: 1.941 MB / 1.18 GB, free: 6.172 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008485/1.046, allocations: 288.6 kB / 1.18 GB, free: 5.887 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007309/1.053, allocations: 4.424 MB / 1.185 GB, free: 1.43 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.907e-05/1.053, allocations: 24 kB / 1.185 GB, free: 1.406 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.577e-05/1.053, allocations: 20 kB / 1.185 GB, free: 1.387 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.25e-05/1.053, allocations: 15.91 kB / 1.185 GB, free: 1.371 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01917/1.073, allocations: 9.646 MB / 1.194 GB, free: 7.625 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.426e-05/1.073, allocations: 4.562 kB / 1.194 GB, free: 7.621 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001036/1.074, allocations: 231.9 kB / 1.194 GB, free: 7.395 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003383/1.077, allocations: 1.428 MB / 1.196 GB, free: 5.957 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002487/1.077, allocations: 44 kB / 1.196 GB, free: 5.914 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02133/1.099, allocations: 17.73 MB / 1.213 GB, free: 3.656 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-05/1.099, allocations: 11.92 kB / 1.213 GB, free: 3.645 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008023/1.107, allocations: 4.867 MB / 1.218 GB, free: 14.57 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002408/1.109, allocations: 0.642 MB / 1.219 GB, free: 13.91 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005592/1.11, allocations: 36 kB / 1.219 GB, free: 13.88 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00144/1.111, allocations: 115.9 kB / 1.219 GB, free: 13.76 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000517/1.112, allocations: 177.6 kB / 1.219 GB, free: 13.59 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001344/1.112, allocations: 64 kB / 1.219 GB, free: 13.53 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.001949/1.114, allocations: 1.299 MB / 1.22 GB, free: 12.22 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.5e-07/1.114, allocations: 0 / 1.22 GB, free: 12.22 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.004957/1.119, allocations: 1.137 MB / 1.221 GB, free: 11.08 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.008189/1.127, allocations: 6.591 MB / 1.228 GB, free: 4.328 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.007744/1.135, allocations: 4.67 MB / 1.232 GB, free: 15.61 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-05/1.135, allocations: 8 kB / 1.232 GB, free: 15.6 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.004841/1.14, allocations: 2.927 MB / 1.235 GB, free: 12.63 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004883/1.145, allocations: 0.7946 MB / 1.236 GB, free: 11.84 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06034/1.205, allocations: 41.19 MB / 1.276 GB, free: 0.8906 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004951/1.21, allocations: 3.782 MB / 1.28 GB, free: 13.08 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.002411/1.213, allocations: 0.5673 MB / 1.28 GB, free: 12.5 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002427/1.215, allocations: 1.948 MB / 1.282 GB, free: 10.56 MB / 0.8073 GB Notification: Performance of SimCode: time 1.123e-06/1.215, allocations: 0 / 1.282 GB, free: 10.56 MB / 0.8073 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1385/1.354, allocations: 82.3 MB / 1.363 GB, free: 9.082 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002065/1.354, allocations: 232.6 kB / 1.363 GB, free: 8.844 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.422/5.776, allocations: 0 / 1.363 GB, free: 8.844 MB / 0.8855 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)