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_RL_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_RL_N,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_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.764/1.764, allocations: 288.4 MB / 303.3 MB, free: 8.129 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.001168/0.001168, allocations: 184.5 kB / 372 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.728/1.728, allocations: 205.4 MB / 0.6307 GB, free: 9.898 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.0007208/0.0007208, allocations: 97.39 kB / 0.744 GB, free: 5.832 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003771/0.000377, allocations: 19.86 kB / 0.867 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2369/0.2373, allocations: 115.3 MB / 0.9797 GB, free: 27.55 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N): time 0.01448/0.2518, allocations: 18.32 MB / 0.9976 GB, free: 9.168 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.009444/0.2613, allocations: 6.183 MB / 1.004 GB, free: 2.969 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002158/0.2635, allocations: 75.56 kB / 1.004 GB, free: 2.895 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.00177/0.2653, allocations: 400.9 kB / 1.004 GB, free: 2.5 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.003307/0.2687, allocations: 0.956 MB / 1.005 GB, free: 1.539 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.00257/0.2713, allocations: 0.767 MB / 1.006 GB, free: 0.7734 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.007016/0.2783, allocations: 5.477 MB / 1.011 GB, free: 11.28 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01225/0.2906, allocations: 6.386 MB / 1.017 GB, free: 4.836 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003745/0.2944, allocations: 1.51 MB / 1.019 GB, free: 3.32 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003834/0.2982, allocations: 1.974 MB / 1.021 GB, free: 1.34 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0008791/0.2991, allocations: 183.9 kB / 1.021 GB, free: 1.16 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002205/0.3014, allocations: 487.5 kB / 1.021 GB, free: 0.6836 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.002147/0.3035, allocations: 1.341 MB / 1.023 GB, free: 15.34 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.001683/0.3052, allocations: 0.6408 MB / 1.023 GB, free: 14.69 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.006813/0.3121, allocations: 5.376 MB / 1.029 GB, free: 9.301 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 7.725e-06/0.3121, allocations: 4 kB / 1.029 GB, free: 9.297 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.625e-06/0.3121, allocations: 0 / 1.029 GB, free: 9.297 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0002589/0.3124, allocations: 0 / 1.029 GB, free: 9.297 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 798 * Number of variables: 798 Notification: Performance of Generate backend data structure: time 0.007661/0.3201, allocations: 2.851 MB / 1.031 GB, free: 6.383 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.218e-05/0.3201, allocations: 8.031 kB / 1.031 GB, free: 6.375 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001492/0.3216, allocations: 458.4 kB / 1.032 GB, free: 5.914 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003826/0.3254, allocations: 0.6363 MB / 1.032 GB, free: 5.273 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004474/0.3299, allocations: 1.9 MB / 1.034 GB, free: 3.312 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001629/0.3301, allocations: 222 kB / 1.034 GB, free: 3.094 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005597/0.3307, allocations: 299.9 kB / 1.035 GB, free: 2.801 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008198/0.3389, allocations: 4.859 MB / 1.039 GB, free: 13.74 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.996e-05/0.339, allocations: 15.88 kB / 1.04 GB, free: 13.73 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002961/0.3393, allocations: 132 kB / 1.04 GB, free: 13.6 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000444/0.3398, allocations: 229.7 kB / 1.04 GB, free: 13.37 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006092/0.3459, allocations: 3.727 MB / 1.043 GB, free: 9.633 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02208/0.368, allocations: 21.61 MB / 1.065 GB, free: 2.031 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001748/0.3698, allocations: 1.297 MB / 1.066 GB, free: 0.7227 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.5525/0.9223, allocations: 1.029 MB / 1.067 GB, free: 83.86 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001134/0.9225, allocations: 18.14 kB / 1.067 GB, free: 83.86 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.37e-05/0.9225, allocations: 47.03 kB / 1.067 GB, free: 83.82 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=107): time 3.777e-06/0.9225, allocations: 0.8125 kB / 1.067 GB, free: 83.82 MB / 0.6823 GB Notification: Performance of matching and sorting (n=138): time 0.02798/0.9505, allocations: 8.664 MB / 1.075 GB, free: 81.73 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.821e-05/0.9506, allocations: 66.31 kB / 1.075 GB, free: 81.67 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002214/0.9528, allocations: 1.124 MB / 1.077 GB, free: 81.22 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001621/0.953, allocations: 51.58 kB / 1.077 GB, free: 81.17 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009758/0.954, allocations: 1.294 MB / 1.078 GB, free: 80.19 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004655/0.9545, allocations: 486.2 kB / 1.078 GB, free: 79.82 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.907e-05/0.9546, allocations: 30.22 kB / 1.078 GB, free: 79.8 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001415/0.9547, allocations: 368.2 kB / 1.079 GB, free: 79.47 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001527/0.9563, allocations: 0.9089 MB / 1.08 GB, free: 79.13 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001744/0.958, allocations: 1.322 MB / 1.081 GB, free: 78.29 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00173/0.9597, allocations: 1.133 MB / 1.082 GB, free: 77.79 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.308e-06/0.9598, allocations: 3.375 kB / 1.082 GB, free: 77.79 MB / 0.6823 GB Notification: Performance of matching and sorting (n=203) (initialization): time 0.007186/0.967, allocations: 3.453 MB / 1.085 GB, free: 76.43 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 3.997e-05/0.967, allocations: 9.312 kB / 1.085 GB, free: 76.43 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.598e-05/0.9671, allocations: 13.05 kB / 1.085 GB, free: 76.43 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003524/0.9706, allocations: 1.188 MB / 1.087 GB, free: 76.12 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009878/0.9716, allocations: 259.4 kB / 1.087 GB, free: 76.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0173/0.9889, allocations: 12.7 MB / 1.099 GB, free: 68.36 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001689/0.9906, allocations: 90 kB / 1.099 GB, free: 68.33 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001254/0.9908, allocations: 66.97 kB / 1.099 GB, free: 68.32 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * 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 (132): * Single equations (assignments): 129 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(5,92.0%) 17,(5,92.0%) 17,(5,88.0%) 25} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002113/0.9929, allocations: 1.121 MB / 1.1 GB, free: 67.79 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003379/0.9932, allocations: 160.6 kB / 1.101 GB, free: 67.71 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005165/0.9984, allocations: 3.154 MB / 1.104 GB, free: 66.41 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.903e-05/0.9985, allocations: 21.14 kB / 1.104 GB, free: 66.4 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.23e-05/0.9985, allocations: 11.22 kB / 1.104 GB, free: 66.4 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.559e-05/0.9985, allocations: 9.797 kB / 1.104 GB, free: 66.4 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.011/1.01, allocations: 6.227 MB / 1.11 GB, free: 62.63 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.3e-05/1.01, allocations: 4.281 kB / 1.11 GB, free: 62.63 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006121/1.01, allocations: 150 kB / 1.11 GB, free: 62.59 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003078/1.013, allocations: 1.073 MB / 1.111 GB, free: 62.08 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001202/1.013, allocations: 29.66 kB / 1.111 GB, free: 62.06 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01533/1.029, allocations: 12.42 MB / 1.123 GB, free: 52.97 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.286e-05/1.029, allocations: 9.156 kB / 1.123 GB, free: 52.97 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005112/1.034, allocations: 3.152 MB / 1.126 GB, free: 51.07 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009321/1.035, allocations: 425.9 kB / 1.127 GB, free: 50.76 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001734/1.035, allocations: 27.62 kB / 1.127 GB, free: 50.75 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007466/1.036, allocations: 82.73 kB / 1.127 GB, free: 50.7 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003699/1.036, allocations: 126.7 kB / 1.127 GB, free: 50.63 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.168e-05/1.036, allocations: 34.78 kB / 1.127 GB, free: 50.62 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001011/1.037, allocations: 0.7561 MB / 1.128 GB, free: 50.2 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.5e-07/1.037, allocations: 0 / 1.128 GB, free: 50.2 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002428/1.04, allocations: 0.66 MB / 1.128 GB, free: 50.14 MB / 0.6823 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 (70): * Single equations (assignments): 67 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(5,84.0%) 17,(5,88.0%) 25,(5,92.0%) 17} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004546/1.044, allocations: 3.74 MB / 1.132 GB, free: 46.39 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.004871/1.049, allocations: 3.105 MB / 1.135 GB, free: 43.25 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.341e-05/1.049, allocations: 0.75 kB / 1.135 GB, free: 43.25 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.002788/1.052, allocations: 1.973 MB / 1.137 GB, free: 41.25 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002657/1.055, allocations: 471.9 kB / 1.137 GB, free: 40.8 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02322/1.078, allocations: 15.11 MB / 1.152 GB, free: 25.15 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002098/1.08, allocations: 2.332 MB / 1.154 GB, free: 22.79 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001335/1.082, allocations: 358.1 kB / 1.155 GB, free: 22.43 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009883/1.083, allocations: 1.003 MB / 1.156 GB, free: 21.43 MB / 0.6823 GB Notification: Performance of SimCode: time 1.152e-06/1.083, allocations: 0 / 1.156 GB, free: 21.43 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08265/1.165, allocations: 49.37 MB / 1.204 GB, free: 4.68 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002133/1.165, allocations: 250.6 kB / 1.204 GB, free: 4.438 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.464/4.629, allocations: 0 / 1.204 GB, free: 4.438 MB / 0.7136 GB (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_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_RL_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N.fmu > Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe 2>&1)