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_RL_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_RL_N,fileNamePrefix="Buildings_8_0_0_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_8_0_0_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.0/package.mo): time 1.616/1.616, allocations: 287.4 MB / 302.6 MB, free: 8.316 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.001024/0.001024, allocations: 186.3 kB / 371.1 MB, free: 10.83 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.515/1.515, allocations: 205.4 MB / 0.6298 GB, free: 10.55 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.0007703/0.0007703, allocations: 96.17 kB / 0.7431 GB, free: 6.555 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004018/0.0004018, allocations: 17.36 kB / 0.8662 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2416/0.2421, allocations: 115.3 MB / 0.9787 GB, free: 28.08 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N): time 0.01507/0.2572, allocations: 18.33 MB / 0.9967 GB, free: 9.684 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.009649/0.2669, allocations: 6.183 MB / 1.003 GB, free: 3.484 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002151/0.2691, allocations: 75.56 kB / 1.003 GB, free: 3.41 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.002116/0.2713, allocations: 392.8 kB / 1.003 GB, free: 3.023 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.003926/0.2753, allocations: 0.956 MB / 1.004 GB, free: 2.062 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.002819/0.2781, allocations: 0.7669 MB / 1.005 GB, free: 1.297 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.006745/0.2849, allocations: 5.524 MB / 1.01 GB, free: 11.76 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01268/0.2976, allocations: 7.16 MB / 1.017 GB, free: 4.523 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003446/0.3011, allocations: 1.514 MB / 1.019 GB, free: 3.004 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003931/0.305, allocations: 1.974 MB / 1.021 GB, free: 1.023 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.000981/0.306, allocations: 176 kB / 1.021 GB, free: 0.8516 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002249/0.3083, allocations: 483.5 kB / 1.021 GB, free: 388 kB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.002389/0.3107, allocations: 1.344 MB / 1.023 GB, free: 15.03 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.00159/0.3123, allocations: 0.6447 MB / 1.023 GB, free: 14.38 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.006687/0.319, allocations: 5.38 MB / 1.028 GB, free: 8.984 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 7.244e-06/0.319, allocations: 0 / 1.028 GB, free: 8.984 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.064e-06/0.319, allocations: 0 / 1.028 GB, free: 8.984 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0002412/0.3193, allocations: 0 / 1.028 GB, free: 8.984 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.007194/0.3265, allocations: 2.816 MB / 1.031 GB, free: 6.105 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.547e-05/0.3266, allocations: 8.031 kB / 1.031 GB, free: 6.098 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001453/0.328, allocations: 458.5 kB / 1.032 GB, free: 5.637 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003718/0.3318, allocations: 0.6411 MB / 1.032 GB, free: 4.992 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004089/0.3359, allocations: 1.936 MB / 1.034 GB, free: 2.996 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002193/0.3361, allocations: 226.3 kB / 1.034 GB, free: 2.773 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008802/0.337, allocations: 296.1 kB / 1.035 GB, free: 2.484 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01008/0.3471, allocations: 4.859 MB / 1.039 GB, free: 13.43 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001087/0.3472, allocations: 11.84 kB / 1.039 GB, free: 13.41 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000541/0.3478, allocations: 128 kB / 1.04 GB, free: 13.29 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004684/0.3483, allocations: 233.7 kB / 1.04 GB, free: 13.06 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007401/0.3557, allocations: 3.731 MB / 1.043 GB, free: 9.316 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02497/0.3807, allocations: 21.62 MB / 1.065 GB, free: 1.703 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001966/0.3827, allocations: 1.304 MB / 1.066 GB, free: 400 kB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.4963/0.879, allocations: 1.03 MB / 1.067 GB, free: 83.88 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 8.701e-05/0.8792, allocations: 12.83 kB / 1.067 GB, free: 83.88 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.633e-05/0.8792, allocations: 45.41 kB / 1.067 GB, free: 83.84 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=107): time 5.49e-06/0.8792, allocations: 3.938 kB / 1.067 GB, free: 83.84 MB / 0.6823 GB Notification: Performance of matching and sorting (n=138): time 0.02698/0.9062, allocations: 8.703 MB / 1.075 GB, free: 81.66 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.465e-05/0.9063, allocations: 73.38 kB / 1.075 GB, free: 81.59 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001918/0.9082, allocations: 1.116 MB / 1.077 GB, free: 81.14 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 8.813e-05/0.9083, allocations: 52.72 kB / 1.077 GB, free: 81.09 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008853/0.9092, allocations: 1.293 MB / 1.078 GB, free: 80.11 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004203/0.9097, allocations: 480.1 kB / 1.078 GB, free: 79.75 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.984e-05/0.9097, allocations: 34.84 kB / 1.078 GB, free: 79.72 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001386/0.9099, allocations: 372.5 kB / 1.079 GB, free: 79.39 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001641/0.9115, allocations: 0.9063 MB / 1.08 GB, free: 79.05 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001948/0.9135, allocations: 1.321 MB / 1.081 GB, free: 78.21 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00343/0.9169, allocations: 2.418 MB / 1.083 GB, free: 76.83 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.293e-05/0.9169, allocations: 3.594 kB / 1.083 GB, free: 76.83 MB / 0.6823 GB Notification: Performance of matching and sorting (n=203) (initialization): time 0.006888/0.9238, allocations: 3.448 MB / 1.087 GB, free: 75.46 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 3.373e-05/0.9239, allocations: 10 kB / 1.087 GB, free: 75.46 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.344e-05/0.9239, allocations: 13.03 kB / 1.087 GB, free: 75.46 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003427/0.9274, allocations: 1.178 MB / 1.088 GB, free: 75.16 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000972/0.9283, allocations: 264.1 kB / 1.088 GB, free: 75.13 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01555/0.9439, allocations: 12.71 MB / 1.1 GB, free: 67.38 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001623/0.9456, allocations: 96.81 kB / 1.1 GB, free: 67.35 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002574/0.9459, allocations: 61.83 kB / 1.101 GB, free: 67.34 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.002607/0.9485, allocations: 1.113 MB / 1.102 GB, free: 66.82 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005187/0.949, allocations: 158.7 kB / 1.102 GB, free: 66.74 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005905/0.9549, allocations: 3.166 MB / 1.105 GB, free: 65.45 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.133e-05/0.9549, allocations: 13.31 kB / 1.105 GB, free: 65.45 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.294e-05/0.955, allocations: 15.44 kB / 1.105 GB, free: 65.45 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.399e-05/0.955, allocations: 8.766 kB / 1.105 GB, free: 65.45 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01212/0.9671, allocations: 6.237 MB / 1.111 GB, free: 62.24 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.506e-05/0.9672, allocations: 5.125 kB / 1.111 GB, free: 62.24 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006018/0.9678, allocations: 150.9 kB / 1.111 GB, free: 62.2 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003038/0.9709, allocations: 1.073 MB / 1.112 GB, free: 61.69 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001046/0.971, allocations: 31.03 kB / 1.112 GB, free: 61.67 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01509/0.9861, allocations: 12.42 MB / 1.124 GB, free: 52.58 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.005e-06/0.9861, allocations: 9.219 kB / 1.124 GB, free: 52.58 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004846/0.991, allocations: 3.139 MB / 1.127 GB, free: 50.7 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009595/0.992, allocations: 432 kB / 1.128 GB, free: 50.38 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004228/0.9924, allocations: 31.38 kB / 1.128 GB, free: 50.36 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001032/0.9935, allocations: 81.83 kB / 1.128 GB, free: 50.31 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003527/0.9938, allocations: 130.5 kB / 1.128 GB, free: 50.24 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.651e-05/0.9939, allocations: 35.81 kB / 1.128 GB, free: 50.23 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001244/0.9952, allocations: 0.7578 MB / 1.129 GB, free: 49.72 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.11e-07/0.9952, allocations: 0 / 1.129 GB, free: 49.72 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002645/0.9978, allocations: 0.6562 MB / 1.13 GB, free: 49.07 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.004641/1.002, allocations: 3.729 MB / 1.133 GB, free: 45.24 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.004463/1.007, allocations: 3.125 MB / 1.136 GB, free: 42.09 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 7.665e-06/1.007, allocations: 4.062 kB / 1.136 GB, free: 42.08 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.002609/1.01, allocations: 1.969 MB / 1.138 GB, free: 40.08 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003049/1.013, allocations: 460.9 kB / 1.139 GB, free: 39.64 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02376/1.036, allocations: 15.11 MB / 1.153 GB, free: 23.98 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002843/1.039, allocations: 2.336 MB / 1.156 GB, free: 21.62 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001179/1.041, allocations: 350.1 kB / 1.156 GB, free: 21.27 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001094/1.042, allocations: 1.003 MB / 1.157 GB, free: 20.27 MB / 0.6823 GB Notification: Performance of SimCode: time 7.22e-07/1.042, allocations: 0 / 1.157 GB, free: 20.27 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3187/1.36, allocations: 49.35 MB / 1.205 GB, free: 3.492 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000219/1.361, allocations: 227 kB / 1.205 GB, free: 3.258 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.191/4.552, allocations: 0 / 1.205 GB, free: 3.258 MB / 0.7136 GB (rm -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N.fmu > Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe 2>&1)