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.368/1.368, allocations: 251.5 MB / 266.7 MB, free: 11.07 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.0009142/0.0009142, allocations: 179.6 kB / 325.8 MB, free: 2.703 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.574/1.574, allocations: 205 MB / 0.576 GB, free: 20.99 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.0007492/0.0007492, allocations: 107.8 kB / 0.6797 GB, free: 14.72 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003088/0.0003089, allocations: 9.125 kB / 0.7933 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1961/0.1964, allocations: 105.4 MB / 0.8962 GB, free: 68.1 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R): time 0.005454/0.2019, allocations: 6.443 MB / 0.9025 GB, free: 61.63 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.003838/0.2058, allocations: 3.107 MB / 0.9055 GB, free: 58.51 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004366/0.2062, allocations: 23.81 kB / 0.9056 GB, free: 58.48 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.001765/0.208, allocations: 0.8892 MB / 0.9064 GB, free: 57.59 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.000889/0.2089, allocations: 481.7 kB / 0.9069 GB, free: 57.12 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008123/0.2097, allocations: 410 kB / 0.9073 GB, free: 56.72 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0009574/0.2107, allocations: 1.583 MB / 0.9088 GB, free: 55.14 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006804/0.2114, allocations: 0.6404 MB / 0.9095 GB, free: 54.49 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003327/0.2117, allocations: 402.2 kB / 0.9098 GB, free: 54.1 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003951/0.2121, allocations: 498 kB / 0.9103 GB, free: 53.61 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 6.145e-05/0.2122, allocations: 40 kB / 0.9103 GB, free: 53.57 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005507/0.2128, allocations: 443.1 kB / 0.9108 GB, free: 53.14 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001661/0.2129, allocations: 275.1 kB / 0.911 GB, free: 52.87 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0002444/0.2132, allocations: 401.8 kB / 0.9114 GB, free: 52.47 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0007227/0.2139, allocations: 1.187 MB / 0.9126 GB, free: 51.28 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.2139, allocations: 0 / 0.9126 GB, free: 51.28 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.513e-06/0.2139, allocations: 0 / 0.9126 GB, free: 51.28 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 9.287e-06/0.214, allocations: 0 / 0.9126 GB, free: 51.28 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.001244/0.2152, allocations: 1.009 MB / 0.9136 GB, free: 50.22 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.754e-05/0.2152, allocations: 11.97 kB / 0.9136 GB, free: 50.21 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001001/0.2153, allocations: 118.7 kB / 0.9137 GB, free: 50.08 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001278/0.2166, allocations: 239.6 kB / 0.9139 GB, free: 49.85 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006144/0.2173, allocations: 0.5607 MB / 0.9145 GB, free: 49.25 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.748e-05/0.2173, allocations: 53.67 kB / 0.9145 GB, free: 49.2 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.425e-05/0.2174, allocations: 64.3 kB / 0.9146 GB, free: 49.13 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001023/0.2184, allocations: 1.085 MB / 0.9156 GB, free: 47.94 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.345e-05/0.2184, allocations: 11.94 kB / 0.9156 GB, free: 47.93 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.562e-05/0.2185, allocations: 31.98 kB / 0.9157 GB, free: 47.9 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001127/0.2186, allocations: 85.25 kB / 0.9158 GB, free: 47.81 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008449/0.2195, allocations: 0.7504 MB / 0.9165 GB, free: 47.06 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003369/0.2228, allocations: 5.909 MB / 0.9223 GB, free: 40.73 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007442/0.2236, allocations: 0.5477 MB / 0.9228 GB, free: 40.16 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003187/0.2239, allocations: 330 kB / 0.9231 GB, free: 39.84 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.346e-05/0.224, allocations: 4.438 kB / 0.9231 GB, free: 39.84 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.405e-05/0.224, allocations: 43 kB / 0.9232 GB, free: 39.79 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=47): time 2.244e-06/0.224, allocations: 0 / 0.9232 GB, free: 39.79 MB / 0.6042 GB Notification: Performance of matching and sorting (n=48): time 0.002973/0.227, allocations: 2.002 MB / 0.9251 GB, free: 37.69 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.596e-05/0.227, allocations: 55.84 kB / 0.9252 GB, free: 37.62 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004132/0.2275, allocations: 0.5587 MB / 0.9257 GB, free: 37.05 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.667e-05/0.2275, allocations: 37.7 kB / 0.9257 GB, free: 37.01 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001533/0.2276, allocations: 418.9 kB / 0.9261 GB, free: 36.59 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 7.529e-05/0.2277, allocations: 173.6 kB / 0.9263 GB, free: 36.42 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.029e-05/0.2278, allocations: 57.69 kB / 0.9264 GB, free: 36.36 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.316e-05/0.2279, allocations: 378.7 kB / 0.9267 GB, free: 35.98 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002975/0.2282, allocations: 277.8 kB / 0.927 GB, free: 35.71 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003665/0.2286, allocations: 497 kB / 0.9275 GB, free: 35.12 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007434/0.2293, allocations: 0.8054 MB / 0.9283 GB, free: 34.22 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.095e-06/0.2293, allocations: 4 kB / 0.9283 GB, free: 34.22 MB / 0.6042 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001388/0.2307, allocations: 1.086 MB / 0.9293 GB, free: 33.11 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.906e-05/0.2307, allocations: 8 kB / 0.9293 GB, free: 33.1 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.608e-06/0.2308, allocations: 4 kB / 0.9293 GB, free: 33.1 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007091/0.2315, allocations: 279.9 kB / 0.9296 GB, free: 32.81 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004046/0.2319, allocations: 123.8 kB / 0.9297 GB, free: 32.69 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004217/0.2361, allocations: 6.606 MB / 0.9362 GB, free: 25.55 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004926/0.2366, allocations: 39.95 kB / 0.9362 GB, free: 25.51 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.875e-05/0.2367, allocations: 28 kB / 0.9362 GB, free: 25.48 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.0002888/0.237, allocations: 257.7 kB / 0.9365 GB, free: 25.22 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.37e-05/0.2371, allocations: 71.16 kB / 0.9365 GB, free: 25.15 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001224/0.2383, allocations: 0.8887 MB / 0.9374 GB, free: 24.24 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.918e-06/0.2383, allocations: 4 kB / 0.9374 GB, free: 24.24 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.2383, allocations: 4 kB / 0.9374 GB, free: 24.23 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.159e-06/0.2383, allocations: 7.922 kB / 0.9374 GB, free: 24.23 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001939/0.2403, allocations: 1.732 MB / 0.9391 GB, free: 22.4 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.118e-06/0.2403, allocations: 0 / 0.9391 GB, free: 22.4 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002223/0.2405, allocations: 67.88 kB / 0.9392 GB, free: 22.34 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006237/0.2411, allocations: 283.4 kB / 0.9395 GB, free: 22.05 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.322e-05/0.2412, allocations: 12 kB / 0.9395 GB, free: 22.04 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004038/0.2452, allocations: 6.587 MB / 0.9459 GB, free: 14.91 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.2452, allocations: 0 / 0.9459 GB, free: 14.91 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00118/0.2464, allocations: 0.9835 MB / 0.9469 GB, free: 13.88 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001971/0.2466, allocations: 192.2 kB / 0.947 GB, free: 13.68 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.098e-05/0.2467, allocations: 19.92 kB / 0.9471 GB, free: 13.66 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003262/0.2471, allocations: 27.97 kB / 0.9471 GB, free: 13.63 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.6e-05/0.2471, allocations: 39.89 kB / 0.9471 GB, free: 13.59 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.641e-05/0.2472, allocations: 15.98 kB / 0.9471 GB, free: 13.57 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0003192/0.2475, allocations: 395.1 kB / 0.9475 GB, free: 13.2 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2475, allocations: 0 / 0.9475 GB, free: 13.2 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0006759/0.2482, allocations: 224 kB / 0.9477 GB, free: 12.98 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.00134/0.2495, allocations: 1.544 MB / 0.9492 GB, free: 11.37 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.00144/0.251, allocations: 1.268 MB / 0.9505 GB, free: 10.05 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.251, allocations: 4.062 kB / 0.9505 GB, free: 10.05 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0008801/0.2519, allocations: 0.9008 MB / 0.9514 GB, free: 9.094 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009627/0.2529, allocations: 207 kB / 0.9516 GB, free: 8.891 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006357/0.2592, allocations: 6.832 MB / 0.9582 GB, free: 1.734 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003552/0.2596, allocations: 1.009 MB / 0.9592 GB, free: 0.6992 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0003484/0.26, allocations: 130 kB / 0.9593 GB, free: 0.5703 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002207/0.2602, allocations: 251.4 kB / 0.9596 GB, free: 332 kB / 0.6042 GB Notification: Performance of SimCode: time 4.61e-07/0.2602, allocations: 3.938 kB / 0.9596 GB, free: 328 kB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.655/0.9152, allocations: 16.45 MB / 0.9756 GB, free: 176 kB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002378/0.9155, allocations: 258.4 kB / 0.9759 GB, free: 15.91 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.524/3.44, allocations: 0 / 0.9759 GB, free: 15.91 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)