Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002312/0.002312, allocations: 99.55 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.003495/0.003495, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.717/2.717, allocations: 223.2 MB / 239.9 MB, free: 5.453 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 4.991/4.991, allocations: 409.2 MB / 0.6838 GB, free: 0.9062 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0006669/0.0006671, allocations: 12 kB / 0.8375 GB, free: 6.516 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.492/1.492, allocations: 146.8 MB / 0.9809 GB, free: 6.254 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine): time 0.04846/1.541, allocations: 26.68 MB / 1.007 GB, free: 11.5 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0328/1.574, allocations: 12.6 MB / 1.019 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006765/1.581, allocations: 119.2 kB / 1.019 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.00613/1.587, allocations: 0.621 MB / 1.02 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.01645/1.603, allocations: 2.121 MB / 1.022 GB, free: 12.01 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.009709/1.613, allocations: 1.215 MB / 1.023 GB, free: 10.79 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.01727/1.63, allocations: 4.015 MB / 1.027 GB, free: 6.773 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02647/1.657, allocations: 8.516 MB / 1.035 GB, free: 14.18 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008876/1.666, allocations: 2.297 MB / 1.038 GB, free: 11.88 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008355/1.674, allocations: 2.043 MB / 1.04 GB, free: 9.824 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.002755/1.677, allocations: 244 kB / 1.04 GB, free: 9.586 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006551/1.684, allocations: 0.5892 MB / 1.04 GB, free: 8.996 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.006081/1.69, allocations: 1.758 MB / 1.042 GB, free: 7.234 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0055/1.696, allocations: 0.9797 MB / 1.043 GB, free: 6.246 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.02105/1.717, allocations: 7.615 MB / 1.051 GB, free: 14.61 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 1.133e-05/1.717, allocations: 0 / 1.051 GB, free: 14.61 MB / 0.8106 GB Notification: Performance of FrontEnd: time 7.614e-06/1.717, allocations: 0 / 1.051 GB, free: 14.61 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 0.0005839/1.717, allocations: 0 / 1.051 GB, free: 14.61 MB / 0.8106 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1133 * Number of variables: 1133 Notification: Performance of Generate backend data structure: time 0.02419/1.742, allocations: 4.171 MB / 1.055 GB, free: 10.37 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 0.0001146/1.742, allocations: 12.03 kB / 1.055 GB, free: 10.36 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005092/1.747, allocations: 0.6201 MB / 1.055 GB, free: 9.723 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01315/1.76, allocations: 0.9699 MB / 1.056 GB, free: 8.746 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01413/1.774, allocations: 2.811 MB / 1.059 GB, free: 5.855 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007876/1.775, allocations: 316.5 kB / 1.059 GB, free: 5.543 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003288/1.779, allocations: 419.9 kB / 1.06 GB, free: 5.133 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03207/1.811, allocations: 6.725 MB / 1.066 GB, free: 14.11 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003608/1.811, allocations: 23.77 kB / 1.066 GB, free: 14.09 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002733/1.814, allocations: 184 kB / 1.066 GB, free: 13.91 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001747/1.816, allocations: 376 kB / 1.067 GB, free: 13.54 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02374/1.839, allocations: 5.083 MB / 1.072 GB, free: 8.438 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08335/1.923, allocations: 30.78 MB / 1.102 GB, free: 6.898 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003681/1.927, allocations: 1.387 MB / 1.103 GB, free: 5.504 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001635/1.927, allocations: 17.3 kB / 1.103 GB, free: 5.488 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.606e-05/1.927, allocations: 51.81 kB / 1.103 GB, free: 5.43 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=130): time 5.661e-06/1.927, allocations: 0 / 1.103 GB, free: 5.43 MB / 0.8575 GB Notification: Performance of matching and sorting (n=199): time 0.13/2.057, allocations: 22.79 MB / 1.125 GB, free: 14.52 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001192/2.057, allocations: 77.41 kB / 1.126 GB, free: 14.43 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005699/2.063, allocations: 2.043 MB / 1.128 GB, free: 12.37 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 0.0006963/2.064, allocations: 61.7 kB / 1.128 GB, free: 12.3 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.002825/2.066, allocations: 2.006 MB / 1.13 GB, free: 10.27 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.001519/2.068, allocations: 0.6777 MB / 1.13 GB, free: 9.582 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002679/2.068, allocations: 47.94 kB / 1.13 GB, free: 9.535 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0003486/2.069, allocations: 406.5 kB / 1.131 GB, free: 9.133 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003677/2.072, allocations: 1.422 MB / 1.132 GB, free: 7.707 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004526/2.077, allocations: 1.994 MB / 1.134 GB, free: 5.465 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004442/2.081, allocations: 1.724 MB / 1.136 GB, free: 3.742 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.507e-05/2.081, allocations: 4 kB / 1.136 GB, free: 3.738 MB / 0.8887 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.0186/2.1, allocations: 5.63 MB / 1.141 GB, free: 14.04 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 5.791e-05/2.1, allocations: 16.95 kB / 1.141 GB, free: 14.02 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-05/2.1, allocations: 20 kB / 1.141 GB, free: 14 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01057/2.111, allocations: 2.076 MB / 1.143 GB, free: 11.87 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002662/2.114, allocations: 375.4 kB / 1.144 GB, free: 11.5 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06051/2.174, allocations: 36.26 MB / 1.179 GB, free: 4.844 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005362/2.18, allocations: 123.9 kB / 1.179 GB, free: 4.723 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008175/2.18, allocations: 99.98 kB / 1.179 GB, free: 4.625 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (204): * Single equations (assignments): 186 * 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: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 18 {(3,100.0%) 5,(3,100.0%) 5,(3,100.0%) 5,(3,100.0%) 5,(3,100.0%) 5,(3,100.0%) 5,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.006345/2.187, allocations: 1.508 MB / 1.181 GB, free: 3.105 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001472/2.188, allocations: 284.6 kB / 1.181 GB, free: 2.824 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01693/2.205, allocations: 5.192 MB / 1.186 GB, free: 13.55 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.413e-05/2.205, allocations: 20 kB / 1.186 GB, free: 13.53 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001069/2.206, allocations: 20 kB / 1.186 GB, free: 13.51 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.375e-05/2.206, allocations: 7.969 kB / 1.186 GB, free: 13.5 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03173/2.237, allocations: 9.665 MB / 1.196 GB, free: 3.637 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.361e-05/2.237, allocations: 8 kB / 1.196 GB, free: 3.629 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001551/2.239, allocations: 211.6 kB / 1.196 GB, free: 3.422 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0091/2.248, allocations: 1.85 MB / 1.198 GB, free: 1.516 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005081/2.249, allocations: 43.94 kB / 1.198 GB, free: 1.473 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05983/2.309, allocations: 35.27 MB / 1.232 GB, free: 11.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.552e-05/2.309, allocations: 11.94 kB / 1.232 GB, free: 11.79 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01599/2.325, allocations: 5.423 MB / 1.237 GB, free: 6.039 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003068/2.328, allocations: 0.6186 MB / 1.238 GB, free: 5.398 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001042/2.329, allocations: 44 kB / 1.238 GB, free: 5.355 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002673/2.332, allocations: 127.8 kB / 1.238 GB, free: 5.23 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001107/2.333, allocations: 201.5 kB / 1.238 GB, free: 5.035 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002589/2.333, allocations: 60 kB / 1.238 GB, free: 4.977 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.003716/2.337, allocations: 1.355 MB / 1.24 GB, free: 3.613 MB / 0.9981 GB Notification: Performance of sort global known variables: time 4.4e-07/2.337, allocations: 0 / 1.24 GB, free: 3.613 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.006783/2.343, allocations: 1.047 MB / 1.241 GB, free: 2.566 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (112): * Single equations (assignments): 94 * 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: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 18 {(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 4,(3,100.0%) 5,(3,100.0%) 5,(3,100.0%) 5,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 4,(3,100.0%) 5,(3,100.0%) 5,(3,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01771/2.361, allocations: 7.68 MB / 1.248 GB, free: 10.62 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.01675/2.378, allocations: 6.252 MB / 1.254 GB, free: 4.129 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.686e-05/2.378, allocations: 0.875 kB / 1.254 GB, free: 4.129 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 1.092/3.47, allocations: 4.39 MB / 1.259 GB, free: 254.5 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01015/3.481, allocations: 0.8801 MB / 1.259 GB, free: 254.5 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1175/3.598, allocations: 36.87 MB / 1.295 GB, free: 232.3 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007715/3.606, allocations: 3.209 MB / 1.299 GB, free: 231.2 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.004544/3.611, allocations: 0.5198 MB / 1.299 GB, free: 231.1 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00448/3.615, allocations: 1.676 MB / 1.301 GB, free: 229.7 MB / 1.014 GB Notification: Performance of SimCode: time 1.442e-06/3.615, allocations: 0 / 1.301 GB, free: 229.7 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2658/3.881, allocations: 85.59 MB / 1.384 GB, free: 153.3 MB / 1.014 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003324/3.882, allocations: 234.7 kB / 1.385 GB, free: 153.1 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.599/11.48, allocations: 0 / 1.385 GB, free: 153.1 MB / 1.014 GB (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_res.mat does not exist to compare? outputFormat=mat