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.001074/0.001074, allocations: 86.72 kB / 15.06 MB, free: 1.09 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.001645/0.001644, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.485/1.485, allocations: 223.3 MB / 240 MB, free: 5.371 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.62/2.62, allocations: 409.4 MB / 0.684 GB, free: 0.957 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0004156/0.0004157, allocations: 15.94 kB / 0.8378 GB, free: 6.488 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7541/0.7546, allocations: 146.8 MB / 0.9812 GB, free: 6.242 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine): time 0.02887/0.7835, allocations: 28.01 MB / 1.009 GB, free: 10.16 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.02091/0.8044, allocations: 12.76 MB / 1.021 GB, free: 13.37 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003649/0.8081, allocations: 123.2 kB / 1.021 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.002414/0.8106, allocations: 0.6317 MB / 1.022 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.008142/0.8187, allocations: 2.209 MB / 1.024 GB, free: 10.39 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.007462/0.8262, allocations: 1.199 MB / 1.025 GB, free: 9.195 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.01606/0.8423, allocations: 8.387 MB / 1.033 GB, free: 0.7891 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01629/0.8586, allocations: 8.533 MB / 1.042 GB, free: 8.18 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005568/0.8643, allocations: 2.561 MB / 1.044 GB, free: 5.609 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005648/0.8699, allocations: 2.849 MB / 1.047 GB, free: 2.75 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.001509/0.8715, allocations: 244 kB / 1.047 GB, free: 2.512 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003426/0.8749, allocations: 0.6945 MB / 1.048 GB, free: 1.816 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.003265/0.8782, allocations: 1.909 MB / 1.05 GB, free: 15.9 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.002234/0.8805, allocations: 0.9758 MB / 1.051 GB, free: 14.92 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.009559/0.89, allocations: 7.73 MB / 1.058 GB, free: 7.168 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 8.657e-06/0.8901, allocations: 0 / 1.058 GB, free: 7.168 MB / 0.8106 GB Notification: Performance of FrontEnd: time 4.128e-06/0.8901, allocations: 4 kB / 1.058 GB, free: 7.164 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 0.0003217/0.8904, allocations: 0 / 1.058 GB, free: 7.164 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.0116/0.902, allocations: 4.201 MB / 1.062 GB, free: 2.887 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 5.431e-05/0.9021, allocations: 8.031 kB / 1.062 GB, free: 2.879 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001909/0.904, allocations: 0.6201 MB / 1.063 GB, free: 2.246 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00633/0.9104, allocations: 1.001 MB / 1.064 GB, free: 1.238 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007096/0.9175, allocations: 2.818 MB / 1.067 GB, free: 14.34 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003389/0.9179, allocations: 316.5 kB / 1.067 GB, free: 14.03 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001693/0.9196, allocations: 427.8 kB / 1.067 GB, free: 13.61 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01568/0.9353, allocations: 6.752 MB / 1.074 GB, free: 6.562 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001269/0.9354, allocations: 19.78 kB / 1.074 GB, free: 6.543 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004804/0.9359, allocations: 184 kB / 1.074 GB, free: 6.363 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007775/0.9367, allocations: 372 kB / 1.074 GB, free: 5.996 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01039/0.9471, allocations: 5.091 MB / 1.079 GB, free: 0.8867 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0391/0.9862, allocations: 30.76 MB / 1.109 GB, free: 15.36 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002476/0.9888, allocations: 1.391 MB / 1.111 GB, free: 13.96 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002055/0.9909, allocations: 1.328 MB / 1.112 GB, free: 12.63 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001403/0.991, allocations: 17.31 kB / 1.112 GB, free: 12.61 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.417e-05/0.9911, allocations: 43.88 kB / 1.112 GB, free: 12.56 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=130): time 3.446e-06/0.9911, allocations: 0 / 1.112 GB, free: 12.56 MB / 0.8731 GB Notification: Performance of matching and sorting (n=199): time 0.08106/1.072, allocations: 22.79 MB / 1.134 GB, free: 5.648 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.85e-05/1.072, allocations: 73.34 kB / 1.134 GB, free: 5.562 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005384/1.078, allocations: 2.047 MB / 1.136 GB, free: 3.5 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 0.0004681/1.078, allocations: 57.7 kB / 1.137 GB, free: 3.438 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.002322/1.081, allocations: 2.006 MB / 1.138 GB, free: 1.406 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009694/1.082, allocations: 0.6816 MB / 1.139 GB, free: 0.7148 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002614/1.082, allocations: 44 kB / 1.139 GB, free: 0.6719 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0002277/1.082, allocations: 402.5 kB / 1.14 GB, free: 280 kB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002373/1.084, allocations: 1.418 MB / 1.141 GB, free: 14.85 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002835/1.087, allocations: 2.017 MB / 1.143 GB, free: 12.59 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002742/1.09, allocations: 1.724 MB / 1.145 GB, free: 10.86 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.827e-05/1.09, allocations: 4 kB / 1.145 GB, free: 10.86 MB / 0.9044 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.01127/1.101, allocations: 5.63 MB / 1.15 GB, free: 5.16 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 4.657e-05/1.101, allocations: 16.95 kB / 1.15 GB, free: 5.145 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-05/1.102, allocations: 20 kB / 1.15 GB, free: 5.125 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006509/1.108, allocations: 2.072 MB / 1.152 GB, free: 2.996 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001607/1.11, allocations: 375.4 kB / 1.153 GB, free: 2.629 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0381/1.148, allocations: 35.5 MB / 1.187 GB, free: 12.72 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002924/1.151, allocations: 131.9 kB / 1.187 GB, free: 12.59 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004982/1.151, allocations: 87.95 kB / 1.187 GB, free: 12.51 MB / 0.9512 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.003696/1.155, allocations: 1.517 MB / 1.189 GB, free: 10.98 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009554/1.156, allocations: 280.6 kB / 1.189 GB, free: 10.7 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01139/1.167, allocations: 5.188 MB / 1.194 GB, free: 5.438 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.965e-05/1.167, allocations: 20 kB / 1.194 GB, free: 5.418 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.645e-05/1.168, allocations: 16 kB / 1.194 GB, free: 5.402 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-05/1.168, allocations: 11.95 kB / 1.194 GB, free: 5.391 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02069/1.188, allocations: 9.669 MB / 1.204 GB, free: 11.52 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.576e-05/1.188, allocations: 4 kB / 1.204 GB, free: 11.51 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009296/1.189, allocations: 215.6 kB / 1.204 GB, free: 11.3 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005717/1.195, allocations: 1.85 MB / 1.206 GB, free: 9.395 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003142/1.195, allocations: 36 kB / 1.206 GB, free: 9.359 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03846/1.234, allocations: 34.51 MB / 1.239 GB, free: 4.445 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-05/1.234, allocations: 11.94 kB / 1.239 GB, free: 4.434 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01015/1.244, allocations: 4.897 MB / 1.244 GB, free: 15.38 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001919/1.246, allocations: 0.6225 MB / 1.245 GB, free: 14.73 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001121/1.247, allocations: 40 kB / 1.245 GB, free: 14.69 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001998/1.249, allocations: 127.8 kB / 1.245 GB, free: 14.57 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007446/1.25, allocations: 185.6 kB / 1.245 GB, free: 14.39 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002329/1.25, allocations: 60 kB / 1.245 GB, free: 14.33 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.002944/1.253, allocations: 1.359 MB / 1.247 GB, free: 12.96 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.6e-07/1.253, allocations: 0 / 1.247 GB, free: 12.96 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.005257/1.259, allocations: 1.043 MB / 1.248 GB, free: 11.92 MB / 1.014 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.01026/1.269, allocations: 5.512 MB / 1.253 GB, free: 6.238 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.576/1.845, allocations: 6.238 MB / 1.259 GB, free: 255.6 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.489e-05/1.845, allocations: 1.594 kB / 1.259 GB, free: 255.6 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.007446/1.852, allocations: 4.408 MB / 1.263 GB, free: 253.6 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004556/1.857, allocations: 0.9136 MB / 1.264 GB, free: 253.6 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04583/1.903, allocations: 25.37 MB / 1.289 GB, free: 241.6 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003253/1.906, allocations: 3.123 MB / 1.292 GB, free: 240.5 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.002302/1.908, allocations: 0.519 MB / 1.293 GB, free: 240.4 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001661/1.91, allocations: 1.676 MB / 1.294 GB, free: 239 MB / 1.014 GB Notification: Performance of SimCode: time 1.814e-06/1.91, allocations: 0 / 1.294 GB, free: 239 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1121/2.022, allocations: 85.65 MB / 1.378 GB, free: 160.7 MB / 1.014 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001535/2.022, allocations: 235.5 kB / 1.378 GB, free: 160.5 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.248/6.27, allocations: 0 / 1.378 GB, free: 160.5 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