Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.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_R_N,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N",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.002508/0.002508, allocations: 99.7 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.00403/0.00403, 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.882/2.882, allocations: 223.2 MB / 239.9 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 5.089/5.089, allocations: 409.2 MB / 0.6838 GB, free: 0.8867 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0007324/0.0007327, allocations: 8 kB / 0.8375 GB, free: 6.531 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.72/1.72, allocations: 146.8 MB / 0.9809 GB, free: 6.281 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N): time 0.05975/1.78, allocations: 33.04 MB / 1.013 GB, free: 5.156 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.03164/1.812, allocations: 10.7 MB / 1.024 GB, free: 10.43 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006925/1.819, allocations: 127.2 kB / 1.024 GB, free: 10.3 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.006328/1.825, allocations: 0.7569 MB / 1.024 GB, free: 9.543 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.01438/1.84, allocations: 1.717 MB / 1.026 GB, free: 7.82 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.009653/1.85, allocations: 1.293 MB / 1.027 GB, free: 6.531 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.01622/1.866, allocations: 4.454 MB / 1.032 GB, free: 2.066 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.04015/1.906, allocations: 12.65 MB / 1.044 GB, free: 5.336 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01224/1.918, allocations: 2.495 MB / 1.047 GB, free: 2.832 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0112/1.93, allocations: 2.647 MB / 1.049 GB, free: 180 kB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.005549/1.935, allocations: 344 kB / 1.049 GB, free: 15.84 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008239/1.944, allocations: 0.5893 MB / 1.05 GB, free: 15.25 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.01212/1.956, allocations: 2.315 MB / 1.052 GB, free: 12.93 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.007549/1.964, allocations: 1.19 MB / 1.053 GB, free: 11.73 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.02817/1.992, allocations: 10.04 MB / 1.063 GB, free: 1.668 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 7.995e-06/1.992, allocations: 0 / 1.063 GB, free: 1.668 MB / 0.8106 GB Notification: Performance of FrontEnd: time 5.922e-06/1.992, allocations: 4 kB / 1.063 GB, free: 1.664 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 0.0008045/1.993, allocations: 0 / 1.063 GB, free: 1.664 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: 1524 * Number of variables: 1524 Notification: Performance of Generate backend data structure: time 0.02846/2.021, allocations: 5.094 MB / 1.068 GB, free: 12.5 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 9.99e-05/2.022, allocations: 11.97 kB / 1.068 GB, free: 12.49 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006447/2.028, allocations: 0.8253 MB / 1.069 GB, free: 11.65 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01123/2.039, allocations: 1.019 MB / 1.07 GB, free: 10.62 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01603/2.055, allocations: 3.342 MB / 1.073 GB, free: 7.23 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001185/2.057, allocations: 431.3 kB / 1.074 GB, free: 6.809 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005236/2.062, allocations: 0.5467 MB / 1.074 GB, free: 6.262 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0485/2.111, allocations: 9.272 MB / 1.083 GB, free: 12.66 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003981/2.111, allocations: 27.8 kB / 1.083 GB, free: 12.63 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003974/2.115, allocations: 248 kB / 1.084 GB, free: 12.39 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001259/2.116, allocations: 422.9 kB / 1.084 GB, free: 11.97 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03221/2.149, allocations: 7.077 MB / 1.091 GB, free: 4.887 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09956/2.248, allocations: 41.37 MB / 1.131 GB, free: 7.777 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008318/2.257, allocations: 3.092 MB / 1.134 GB, free: 4.684 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000289/2.257, allocations: 30.06 kB / 1.134 GB, free: 4.656 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001009/2.257, allocations: 56.56 kB / 1.134 GB, free: 4.594 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=209): time 9.177e-06/2.257, allocations: 4 kB / 1.134 GB, free: 4.59 MB / 0.8887 GB Notification: Performance of matching and sorting (n=212): time 0.04945/2.307, allocations: 10.44 MB / 1.145 GB, free: 10.05 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000112/2.307, allocations: 77.39 kB / 1.145 GB, free: 9.965 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005051/2.312, allocations: 1.982 MB / 1.147 GB, free: 7.965 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 0.0007164/2.313, allocations: 65.7 kB / 1.147 GB, free: 7.895 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.003312/2.316, allocations: 2.396 MB / 1.149 GB, free: 5.465 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.001756/2.318, allocations: 0.7434 MB / 1.15 GB, free: 4.711 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002885/2.318, allocations: 52 kB / 1.15 GB, free: 4.66 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0003279/2.318, allocations: 411.4 kB / 1.15 GB, free: 4.254 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003533/2.322, allocations: 1.364 MB / 1.151 GB, free: 2.887 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005497/2.327, allocations: 2.08 MB / 1.154 GB, free: 500 kB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005612/2.333, allocations: 1.72 MB / 1.155 GB, free: 14.77 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.004e-05/2.333, allocations: 8 kB / 1.155 GB, free: 14.76 MB / 0.92 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.01721/2.35, allocations: 5.046 MB / 1.16 GB, free: 9.688 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 9.739e-05/2.351, allocations: 19.89 kB / 1.16 GB, free: 9.668 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.666e-05/2.351, allocations: 24 kB / 1.16 GB, free: 9.645 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008591/2.359, allocations: 1.558 MB / 1.162 GB, free: 8.078 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003765/2.363, allocations: 451.2 kB / 1.162 GB, free: 7.637 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04441/2.408, allocations: 17.71 MB / 1.179 GB, free: 5.395 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004796/2.413, allocations: 147.9 kB / 1.18 GB, free: 5.25 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001276/2.414, allocations: 104 kB / 1.18 GB, free: 5.148 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (231): * Single equations (assignments): 227 * 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 {(6,69.4%) 32,(6,66.7%) 24,(4,100.0%) 18,(4,100.0%) 18} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.009456/2.423, allocations: 1.95 MB / 1.182 GB, free: 3.188 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002042/2.426, allocations: 292.6 kB / 1.182 GB, free: 2.898 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01472/2.44, allocations: 4.424 MB / 1.186 GB, free: 14.45 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.558e-05/2.44, allocations: 20 kB / 1.186 GB, free: 14.43 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.763e-05/2.44, allocations: 16 kB / 1.186 GB, free: 14.41 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.868e-05/2.441, allocations: 11.95 kB / 1.186 GB, free: 14.4 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0304/2.471, allocations: 9.656 MB / 1.196 GB, free: 4.594 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.906e-05/2.471, allocations: 4 kB / 1.196 GB, free: 4.59 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001784/2.473, allocations: 231.6 kB / 1.196 GB, free: 4.363 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005644/2.479, allocations: 1.428 MB / 1.197 GB, free: 2.926 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006479/2.479, allocations: 36 kB / 1.197 GB, free: 2.891 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04279/2.522, allocations: 17.74 MB / 1.215 GB, free: 0.6172 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.62e-05/2.522, allocations: 4 kB / 1.215 GB, free: 0.6133 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01578/2.538, allocations: 4.875 MB / 1.219 GB, free: 11.54 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003921/2.542, allocations: 0.6381 MB / 1.22 GB, free: 10.88 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009879/2.543, allocations: 43.94 kB / 1.22 GB, free: 10.84 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002377/2.545, allocations: 115.9 kB / 1.22 GB, free: 10.73 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009758/2.546, allocations: 177.6 kB / 1.22 GB, free: 10.55 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002402/2.547, allocations: 60 kB / 1.22 GB, free: 10.49 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.003586/2.55, allocations: 1.299 MB / 1.222 GB, free: 9.184 MB / 0.9825 GB Notification: Performance of sort global known variables: time 2.41e-07/2.55, allocations: 0 / 1.222 GB, free: 9.184 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.007868/2.558, allocations: 1.141 MB / 1.223 GB, free: 8.043 MB / 0.9825 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 (107): * Single equations (assignments): 103 * 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 {(4,100.0%) 18,(6,66.7%) 24,(4,100.0%) 18,(6,66.7%) 32} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01627/2.575, allocations: 6.58 MB / 1.229 GB, free: 1.297 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.01414/2.589, allocations: 4.673 MB / 1.234 GB, free: 12.57 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.796e-05/2.589, allocations: 8.172 kB / 1.234 GB, free: 12.57 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.008871/2.598, allocations: 2.917 MB / 1.237 GB, free: 9.602 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008597/2.606, allocations: 0.8045 MB / 1.237 GB, free: 8.797 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.38/3.987, allocations: 41.17 MB / 1.278 GB, free: 221 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01253/3.999, allocations: 3.784 MB / 1.281 GB, free: 219.7 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.004882/4.004, allocations: 0.5545 MB / 1.282 GB, free: 219.6 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005608/4.01, allocations: 1.957 MB / 1.284 GB, free: 217.9 MB / 0.9981 GB Notification: Performance of SimCode: time 1.853e-06/4.01, allocations: 0 / 1.284 GB, free: 217.9 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3185/4.328, allocations: 82.28 MB / 1.364 GB, free: 146.1 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003767/4.329, allocations: 234.4 kB / 1.364 GB, free: 145.9 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.463/11.79, allocations: 0 / 1.364 GB, free: 145.9 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.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_R_N_res.mat does not exist to compare? outputFormat=mat