Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.54/1.54, allocations: 251.9 MB / 266.9 MB, free: 11.09 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001057/0.001057, allocations: 173.7 kB / 326.5 MB, free: 2.289 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.926/1.926, allocations: 205.4 MB / 0.5775 GB, free: 20.28 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008664/0.0008667, allocations: 92.75 kB / 0.6821 GB, free: 12.93 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004622/0.0004624, allocations: 8.281 kB / 0.7963 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2712/0.2716, allocations: 106.3 MB / 0.9002 GB, free: 63.89 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R): time 0.006276/0.278, allocations: 5.776 MB / 0.9058 GB, free: 58.09 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.00476/0.2828, allocations: 2.933 MB / 0.9087 GB, free: 55.14 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006419/0.2835, allocations: 23.81 kB / 0.9087 GB, free: 55.12 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0003558/0.2839, allocations: 119.1 kB / 0.9088 GB, free: 55 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.001066/0.2849, allocations: 426.7 kB / 0.9092 GB, free: 54.58 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009946/0.2859, allocations: 333.4 kB / 0.9095 GB, free: 54.26 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0007552/0.2867, allocations: 0.7467 MB / 0.9103 GB, free: 53.51 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001401/0.2881, allocations: 0.9171 MB / 0.9112 GB, free: 52.57 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004316/0.2886, allocations: 354.7 kB / 0.9115 GB, free: 52.22 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004956/0.2891, allocations: 394.5 kB / 0.9119 GB, free: 51.84 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 6.221e-05/0.2891, allocations: 36 kB / 0.9119 GB, free: 51.8 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003931/0.2895, allocations: 143.8 kB / 0.912 GB, free: 51.66 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001874/0.2897, allocations: 255.2 kB / 0.9123 GB, free: 51.41 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001335/0.2899, allocations: 173.3 kB / 0.9124 GB, free: 51.23 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0006714/0.2906, allocations: 0.8651 MB / 0.9133 GB, free: 50.37 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.2906, allocations: 4 kB / 0.9133 GB, free: 50.36 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.254e-06/0.2906, allocations: 0 / 0.9133 GB, free: 50.36 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.124e-05/0.2906, allocations: 0 / 0.9133 GB, free: 50.36 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.001562/0.2922, allocations: 1.013 MB / 0.9143 GB, free: 49.3 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.673e-05/0.2922, allocations: 8.031 kB / 0.9143 GB, free: 49.29 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001093/0.2923, allocations: 118.5 kB / 0.9144 GB, free: 49.16 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001171/0.2935, allocations: 222.6 kB / 0.9146 GB, free: 48.95 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007499/0.2943, allocations: 0.5365 MB / 0.9151 GB, free: 48.37 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.691e-05/0.2943, allocations: 53.3 kB / 0.9152 GB, free: 48.32 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.613e-05/0.2944, allocations: 63.94 kB / 0.9153 GB, free: 48.25 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001245/0.2957, allocations: 1.073 MB / 0.9163 GB, free: 47.07 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.813e-05/0.2957, allocations: 7.938 kB / 0.9163 GB, free: 47.07 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.686e-05/0.2958, allocations: 28 kB / 0.9163 GB, free: 47.04 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001358/0.2959, allocations: 85.25 kB / 0.9164 GB, free: 46.95 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009082/0.2968, allocations: 0.7464 MB / 0.9171 GB, free: 46.2 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004339/0.3012, allocations: 5.897 MB / 0.9229 GB, free: 39.88 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008509/0.3021, allocations: 0.561 MB / 0.9235 GB, free: 39.31 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.391e-05/0.3021, allocations: 8.438 kB / 0.9235 GB, free: 39.3 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.771e-05/0.3021, allocations: 38.94 kB / 0.9235 GB, free: 39.25 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=47): time 4.428e-06/0.3022, allocations: 0 / 0.9235 GB, free: 39.25 MB / 0.6042 GB Notification: Performance of matching and sorting (n=48): time 0.003368/0.3055, allocations: 1.984 MB / 0.9254 GB, free: 37.18 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.929e-05/0.3056, allocations: 59.84 kB / 0.9255 GB, free: 37.11 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004862/0.3061, allocations: 0.5509 MB / 0.926 GB, free: 36.55 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 3.111e-05/0.3061, allocations: 33.7 kB / 0.9261 GB, free: 36.51 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001783/0.3063, allocations: 414.9 kB / 0.9265 GB, free: 36.1 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 9.516e-05/0.3064, allocations: 173.6 kB / 0.9266 GB, free: 35.93 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.944e-05/0.3064, allocations: 16 kB / 0.9266 GB, free: 35.91 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 9.472e-05/0.3065, allocations: 374.8 kB / 0.927 GB, free: 35.54 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003185/0.3069, allocations: 269.8 kB / 0.9273 GB, free: 35.27 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004402/0.3073, allocations: 492.9 kB / 0.9277 GB, free: 34.69 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004064/0.3077, allocations: 346 kB / 0.9281 GB, free: 34.35 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.3077, allocations: 4 kB / 0.9281 GB, free: 34.35 MB / 0.6042 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001437/0.3092, allocations: 1.079 MB / 0.9291 GB, free: 33.25 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.062e-05/0.3092, allocations: 8 kB / 0.9291 GB, free: 33.24 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.094e-05/0.3092, allocations: 8.875 kB / 0.9291 GB, free: 33.23 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007627/0.31, allocations: 283.2 kB / 0.9294 GB, free: 32.95 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004353/0.3104, allocations: 127.7 kB / 0.9295 GB, free: 32.82 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004647/0.3151, allocations: 6.7 MB / 0.9361 GB, free: 25.58 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006507/0.3158, allocations: 35.97 kB / 0.9361 GB, free: 25.54 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.133e-05/0.3158, allocations: 28 kB / 0.9361 GB, free: 25.52 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (67): * Single equations (assignments): 63 * 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 {(2,100.0%) 6,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003658/0.3162, allocations: 261.5 kB / 0.9364 GB, free: 25.25 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.435e-05/0.3163, allocations: 67.25 kB / 0.9364 GB, free: 25.18 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001328/0.3176, allocations: 0.8886 MB / 0.9373 GB, free: 24.27 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.338e-06/0.3176, allocations: 4 kB / 0.9373 GB, free: 24.27 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.3177, allocations: 4 kB / 0.9373 GB, free: 24.26 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.101e-06/0.3177, allocations: 8.359 kB / 0.9373 GB, free: 24.25 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002135/0.3198, allocations: 1.732 MB / 0.939 GB, free: 22.43 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.62e-06/0.3198, allocations: 7.953 kB / 0.939 GB, free: 22.43 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002299/0.3201, allocations: 59.89 kB / 0.9391 GB, free: 22.37 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006567/0.3207, allocations: 271.3 kB / 0.9393 GB, free: 22.09 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.264e-05/0.3208, allocations: 8 kB / 0.9393 GB, free: 22.08 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004548/0.3253, allocations: 6.69 MB / 0.9459 GB, free: 14.86 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.915e-06/0.3253, allocations: 0 / 0.9459 GB, free: 14.86 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001425/0.3268, allocations: 1.052 MB / 0.9469 GB, free: 13.73 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003306/0.3271, allocations: 192.2 kB / 0.9471 GB, free: 13.52 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.478e-05/0.3272, allocations: 12 kB / 0.9471 GB, free: 13.51 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003588/0.3276, allocations: 27.92 kB / 0.9471 GB, free: 13.48 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000101/0.3277, allocations: 51.83 kB / 0.9472 GB, free: 13.43 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.035e-05/0.3277, allocations: 16 kB / 0.9472 GB, free: 13.41 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0003884/0.3281, allocations: 383.1 kB / 0.9476 GB, free: 13.05 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3281, allocations: 0 / 0.9476 GB, free: 13.05 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.000804/0.3289, allocations: 224 kB / 0.9478 GB, free: 12.83 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (31): * Single equations (assignments): 27 * 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 {(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00152/0.3305, allocations: 2.021 MB / 0.9497 GB, free: 10.72 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001705/0.3322, allocations: 1.276 MB / 0.951 GB, free: 9.398 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.516e-06/0.3322, allocations: 0 / 0.951 GB, free: 9.398 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0009837/0.3332, allocations: 0.8932 MB / 0.9519 GB, free: 8.453 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008807/0.3341, allocations: 197.4 kB / 0.9521 GB, free: 8.262 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007171/0.3413, allocations: 8.923 MB / 0.9608 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008252/0.3421, allocations: 1.028 MB / 0.9618 GB, free: 14.06 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0005347/0.3427, allocations: 126.1 kB / 0.9619 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003681/0.3431, allocations: 251.3 kB / 0.9621 GB, free: 13.69 MB / 0.6198 GB Notification: Performance of SimCode: time 1.542e-06/0.3431, allocations: 0 / 0.9621 GB, free: 13.69 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03653/0.3796, allocations: 16.32 MB / 0.9781 GB, free: 13.68 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002/0.3799, allocations: 231.4 kB / 0.9783 GB, free: 13.44 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.419/2.799, allocations: 4 kB / 0.9783 GB, free: 13.43 MB / 0.6355 GB (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R.fmu > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe 2>&1)