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.397/1.397, allocations: 252 MB / 267.3 MB, free: 10.84 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.0009656/0.000966, allocations: 172 kB / 327 MB, free: 2.102 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.978/1.978, allocations: 205.4 MB / 0.578 GB, free: 20.13 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.0008671/0.0008671, allocations: 88.88 kB / 0.6826 GB, free: 12.76 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004711/0.0004712, allocations: 10.09 kB / 0.7971 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2734/0.2739, allocations: 106.3 MB / 0.9009 GB, free: 63.37 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R): time 0.006187/0.2801, allocations: 6.345 MB / 0.9071 GB, free: 56.99 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.004191/0.2843, allocations: 3.068 MB / 0.9101 GB, free: 53.91 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000409/0.2848, allocations: 23.81 kB / 0.9101 GB, free: 53.89 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0003811/0.2852, allocations: 126.9 kB / 0.9103 GB, free: 53.76 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0009565/0.2862, allocations: 485.6 kB / 0.9107 GB, free: 53.29 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008868/0.287, allocations: 405.7 kB / 0.9111 GB, free: 52.89 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.001079/0.2881, allocations: 1.595 MB / 0.9127 GB, free: 51.29 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001436/0.2896, allocations: 1.007 MB / 0.9137 GB, free: 50.27 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000516/0.2901, allocations: 398.2 kB / 0.914 GB, free: 49.88 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005172/0.2906, allocations: 0.4941 MB / 0.9145 GB, free: 49.38 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 6.533e-05/0.2907, allocations: 36 kB / 0.9145 GB, free: 49.34 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006903/0.2914, allocations: 439.1 kB / 0.915 GB, free: 48.91 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0002031/0.2916, allocations: 271.1 kB / 0.9152 GB, free: 48.65 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0003068/0.2919, allocations: 431.5 kB / 0.9156 GB, free: 48.22 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0009073/0.2929, allocations: 1.187 MB / 0.9168 GB, free: 47.03 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 7.163e-06/0.2929, allocations: 0 / 0.9168 GB, free: 47.03 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.685e-06/0.2929, allocations: 0 / 0.9168 GB, free: 47.03 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.163e-05/0.2929, allocations: 4 kB / 0.9168 GB, free: 47.02 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.001465/0.2944, allocations: 1.005 MB / 0.9178 GB, free: 45.96 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.6e-05/0.2944, allocations: 15.97 kB / 0.9178 GB, free: 45.95 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001132/0.2945, allocations: 118.7 kB / 0.9179 GB, free: 45.82 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001392/0.2959, allocations: 243.6 kB / 0.9181 GB, free: 45.59 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006885/0.2966, allocations: 0.5568 MB / 0.9187 GB, free: 44.99 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.356e-05/0.2967, allocations: 53.67 kB / 0.9187 GB, free: 44.94 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.538e-05/0.2968, allocations: 60.36 kB / 0.9188 GB, free: 44.88 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001231/0.298, allocations: 1.093 MB / 0.9199 GB, free: 43.68 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.793e-05/0.2981, allocations: 11.92 kB / 0.9199 GB, free: 43.67 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.251e-05/0.2981, allocations: 27.98 kB / 0.9199 GB, free: 43.64 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001291/0.2983, allocations: 81.27 kB / 0.92 GB, free: 43.56 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009194/0.2992, allocations: 0.7543 MB / 0.9207 GB, free: 42.8 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003986/0.3032, allocations: 5.897 MB / 0.9265 GB, free: 36.48 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008228/0.304, allocations: 0.5623 MB / 0.927 GB, free: 35.91 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003605/0.3044, allocations: 326 kB / 0.9273 GB, free: 35.59 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.264e-05/0.3044, allocations: 12.38 kB / 0.9273 GB, free: 35.57 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.968e-05/0.3045, allocations: 39 kB / 0.9274 GB, free: 35.53 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=47): time 2.955e-06/0.3045, allocations: 0 / 0.9274 GB, free: 35.53 MB / 0.6042 GB Notification: Performance of matching and sorting (n=48): time 0.003376/0.3079, allocations: 1.998 MB / 0.9293 GB, free: 33.43 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.368e-05/0.3079, allocations: 55.84 kB / 0.9294 GB, free: 33.37 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004801/0.3084, allocations: 0.5587 MB / 0.9299 GB, free: 32.8 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 3.12e-05/0.3084, allocations: 33.7 kB / 0.93 GB, free: 32.76 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001885/0.3086, allocations: 410.9 kB / 0.9304 GB, free: 32.35 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 9.17e-05/0.3087, allocations: 173.6 kB / 0.9305 GB, free: 32.18 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.131e-05/0.3088, allocations: 23.94 kB / 0.9305 GB, free: 32.16 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 9.997e-05/0.3089, allocations: 374.7 kB / 0.9309 GB, free: 31.78 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003206/0.3092, allocations: 273.8 kB / 0.9312 GB, free: 31.51 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003981/0.3096, allocations: 497 kB / 0.9316 GB, free: 30.93 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008015/0.3104, allocations: 0.8132 MB / 0.9324 GB, free: 30.02 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/0.3104, allocations: 4 kB / 0.9324 GB, free: 30.02 MB / 0.6042 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001477/0.3119, allocations: 1.086 MB / 0.9335 GB, free: 28.91 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.287e-05/0.3119, allocations: 8 kB / 0.9335 GB, free: 28.9 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.699e-06/0.312, allocations: 4.844 kB / 0.9335 GB, free: 28.89 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007617/0.3127, allocations: 287.1 kB / 0.9338 GB, free: 28.6 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004287/0.3132, allocations: 127.8 kB / 0.9339 GB, free: 28.48 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004901/0.3181, allocations: 6.595 MB / 0.9403 GB, free: 21.35 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004738/0.3186, allocations: 35.97 kB / 0.9404 GB, free: 21.31 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.464e-05/0.3186, allocations: 28 kB / 0.9404 GB, free: 21.29 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 (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,6,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003469/0.319, allocations: 261.4 kB / 0.9407 GB, free: 21.02 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001015/0.3191, allocations: 83.14 kB / 0.9407 GB, free: 20.94 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001306/0.3204, allocations: 0.8848 MB / 0.9416 GB, free: 20.03 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.728e-06/0.3204, allocations: 4 kB / 0.9416 GB, free: 20.02 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/0.3204, allocations: 7.984 kB / 0.9416 GB, free: 20.02 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.3204, allocations: 0 / 0.9416 GB, free: 20.02 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002136/0.3226, allocations: 1.732 MB / 0.9433 GB, free: 18.19 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.995e-06/0.3226, allocations: 0 / 0.9433 GB, free: 18.19 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002376/0.3228, allocations: 59.89 kB / 0.9434 GB, free: 18.13 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006457/0.3235, allocations: 279.4 kB / 0.9436 GB, free: 17.85 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.154e-05/0.3235, allocations: 8 kB / 0.9436 GB, free: 17.84 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004635/0.3282, allocations: 6.595 MB / 0.9501 GB, free: 10.71 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.397e-06/0.3282, allocations: 0 / 0.9501 GB, free: 10.71 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001291/0.3295, allocations: 0.9873 MB / 0.951 GB, free: 9.68 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000229/0.3297, allocations: 192.2 kB / 0.9512 GB, free: 9.473 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.842e-05/0.3298, allocations: 15.94 kB / 0.9512 GB, free: 9.457 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003382/0.3302, allocations: 23.97 kB / 0.9513 GB, free: 9.434 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.926e-05/0.3303, allocations: 43.94 kB / 0.9513 GB, free: 9.391 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.091e-05/0.3303, allocations: 16 kB / 0.9513 GB, free: 9.375 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0004009/0.3307, allocations: 391.1 kB / 0.9517 GB, free: 9 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3307, allocations: 0 / 0.9517 GB, free: 9 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0007746/0.3315, allocations: 220 kB / 0.9519 GB, free: 8.785 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 (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001544/0.3331, allocations: 1.555 MB / 0.9534 GB, free: 7.172 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001706/0.3348, allocations: 1.28 MB / 0.9547 GB, free: 5.84 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 5.32e-06/0.3348, allocations: 0 / 0.9547 GB, free: 5.84 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.001031/0.3358, allocations: 0.8932 MB / 0.9555 GB, free: 4.895 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001046/0.3369, allocations: 208.2 kB / 0.9557 GB, free: 4.691 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008003/0.3449, allocations: 6.859 MB / 0.9624 GB, free: 13.5 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006968/0.3456, allocations: 1.017 MB / 0.9634 GB, free: 12.46 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0005078/0.3461, allocations: 126 kB / 0.9635 GB, free: 12.34 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003402/0.3465, allocations: 247.4 kB / 0.9638 GB, free: 12.09 MB / 0.6198 GB Notification: Performance of SimCode: time 9.92e-07/0.3465, allocations: 3.938 kB / 0.9638 GB, free: 12.09 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03436/0.3809, allocations: 16.45 MB / 0.9799 GB, free: 11.94 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002195/0.3812, allocations: 251.3 kB / 0.9801 GB, free: 11.69 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.713/3.094, allocations: 0 / 0.9801 GB, free: 11.69 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)