Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_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_L_N,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_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.0008809/0.0008807, 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.000891/0.0008909, 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.437/1.437, allocations: 223.2 MB / 240 MB, free: 5.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.488/2.488, allocations: 409.4 MB / 0.684 GB, free: 0.9219 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003622/0.0003624, allocations: 11.98 kB / 0.8378 GB, free: 6.488 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8081/0.8085, allocations: 146.8 MB / 0.9812 GB, free: 6.254 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N): time 0.03285/0.8414, allocations: 31.78 MB / 1.012 GB, free: 6.383 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.01993/0.8614, allocations: 10.91 MB / 1.023 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003508/0.8649, allocations: 135.2 kB / 1.023 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.002547/0.8675, allocations: 0.686 MB / 1.024 GB, free: 10.62 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.005563/0.873, allocations: 1.574 MB / 1.025 GB, free: 9.043 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.004976/0.8781, allocations: 1.428 MB / 1.027 GB, free: 7.617 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.01169/0.8898, allocations: 9.638 MB / 1.036 GB, free: 13.95 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0215/0.9113, allocations: 12.57 MB / 1.048 GB, free: 1.309 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005869/0.9172, allocations: 2.646 MB / 1.051 GB, free: 14.65 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006749/0.924, allocations: 3.481 MB / 1.054 GB, free: 11.16 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.001643/0.9257, allocations: 328 kB / 1.055 GB, free: 10.84 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00406/0.9298, allocations: 0.9676 MB / 1.056 GB, free: 9.867 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.003791/0.9336, allocations: 2.444 MB / 1.058 GB, free: 7.418 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.002641/0.9362, allocations: 1.108 MB / 1.059 GB, free: 6.301 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.01251/0.9487, allocations: 9.929 MB / 1.069 GB, free: 12.35 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 8.096e-06/0.9488, allocations: 0 / 1.069 GB, free: 12.35 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.945e-06/0.9488, allocations: 0 / 1.069 GB, free: 12.35 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 0.0004134/0.9492, allocations: 0 / 1.069 GB, free: 12.35 MB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1488 * Number of variables: 1488 Notification: Performance of Generate backend data structure: time 0.01219/0.9614, allocations: 4.718 MB / 1.073 GB, free: 7.562 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.538e-05/0.9615, allocations: 8.031 kB / 1.073 GB, free: 7.555 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003001/0.9645, allocations: 0.8049 MB / 1.074 GB, free: 6.738 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006906/0.9714, allocations: 1.067 MB / 1.075 GB, free: 5.664 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01014/0.9816, allocations: 3.2 MB / 1.078 GB, free: 2.406 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005785/0.9822, allocations: 415 kB / 1.079 GB, free: 2 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003001/0.9853, allocations: 0.535 MB / 1.079 GB, free: 1.465 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02445/1.01, allocations: 9.04 MB / 1.088 GB, free: 8.105 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004026/1.01, allocations: 27.67 kB / 1.088 GB, free: 8.078 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001871/1.012, allocations: 236 kB / 1.088 GB, free: 7.848 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005115/1.013, allocations: 346.8 kB / 1.089 GB, free: 7.508 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01719/1.03, allocations: 6.783 MB / 1.095 GB, free: 0.7148 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05576/1.086, allocations: 40.17 MB / 1.134 GB, free: 4.824 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004522/1.09, allocations: 3.104 MB / 1.137 GB, free: 1.582 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003112/1.093, allocations: 1.958 MB / 1.139 GB, free: 15.62 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001704/1.094, allocations: 21.98 kB / 1.139 GB, free: 15.6 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.833e-05/1.094, allocations: 52.56 kB / 1.139 GB, free: 15.54 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=179): time 4.579e-06/1.094, allocations: 0 / 1.139 GB, free: 15.54 MB / 0.9044 GB Notification: Performance of matching and sorting (n=182): time 0.02803/1.122, allocations: 9.869 MB / 1.149 GB, free: 5.578 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001809/1.122, allocations: 77.41 kB / 1.149 GB, free: 5.488 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003518/1.125, allocations: 1.511 MB / 1.151 GB, free: 3.934 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 0.0002505/1.126, allocations: 57.7 kB / 1.151 GB, free: 3.871 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.001948/1.128, allocations: 2.253 MB / 1.153 GB, free: 1.586 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.001059/1.129, allocations: 0.6277 MB / 1.153 GB, free: 0.9492 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001796/1.129, allocations: 44 kB / 1.154 GB, free: 0.9062 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0002475/1.129, allocations: 398.4 kB / 1.154 GB, free: 0.5117 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001926/1.131, allocations: 1.168 MB / 1.155 GB, free: 15.34 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002615/1.134, allocations: 1.877 MB / 1.157 GB, free: 13.14 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002421/1.136, allocations: 1.509 MB / 1.158 GB, free: 11.63 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.093e-05/1.136, allocations: 12 kB / 1.158 GB, free: 11.62 MB / 0.92 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.008493/1.145, allocations: 4.551 MB / 1.163 GB, free: 7.047 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 4.299e-05/1.145, allocations: 16 kB / 1.163 GB, free: 7.031 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.609e-05/1.145, allocations: 27.98 kB / 1.163 GB, free: 7.004 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003714/1.149, allocations: 1.573 MB / 1.164 GB, free: 5.422 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001323/1.15, allocations: 347.4 kB / 1.165 GB, free: 5.082 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02426/1.174, allocations: 17.06 MB / 1.181 GB, free: 3.496 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00201/1.176, allocations: 119.9 kB / 1.181 GB, free: 3.379 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003922/1.177, allocations: 96.05 kB / 1.182 GB, free: 3.285 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 (177): * Single equations (assignments): 173 * 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 {(12,31.2%) 26,(6,66.7%) 24,(6,66.7%) 16,(6,66.7%) 16} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004333/1.181, allocations: 1.906 MB / 1.183 GB, free: 1.367 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007462/1.182, allocations: 225.4 kB / 1.184 GB, free: 1.145 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008385/1.19, allocations: 4.071 MB / 1.188 GB, free: 13.04 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.598e-05/1.19, allocations: 20 kB / 1.188 GB, free: 13.02 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.455e-05/1.19, allocations: 16 kB / 1.188 GB, free: 13.01 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.732e-05/1.19, allocations: 7.969 kB / 1.188 GB, free: 13 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01841/1.209, allocations: 9.439 MB / 1.197 GB, free: 3.312 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.406e-05/1.209, allocations: 12 kB / 1.197 GB, free: 3.301 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007921/1.21, allocations: 183.7 kB / 1.197 GB, free: 3.121 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003243/1.213, allocations: 1.346 MB / 1.198 GB, free: 1.766 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001493/1.213, allocations: 36 kB / 1.198 GB, free: 1.73 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02012/1.233, allocations: 15.96 MB / 1.214 GB, free: 1.242 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.895e-06/1.233, allocations: 8.438 kB / 1.214 GB, free: 1.234 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006803/1.24, allocations: 4.054 MB / 1.218 GB, free: 13.09 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001186/1.241, allocations: 0.5257 MB / 1.219 GB, free: 12.54 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000245/1.242, allocations: 35.98 kB / 1.219 GB, free: 12.51 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008204/1.242, allocations: 87.91 kB / 1.219 GB, free: 12.42 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004456/1.243, allocations: 169.6 kB / 1.219 GB, free: 12.25 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001034/1.243, allocations: 48 kB / 1.219 GB, free: 12.21 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.001481/1.245, allocations: 0.9928 MB / 1.22 GB, free: 11.19 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.3e-07/1.245, allocations: 0 / 1.22 GB, free: 11.19 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.003549/1.248, allocations: 0.9844 MB / 1.221 GB, free: 10.21 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 (85): * Single equations (assignments): 81 * 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,66.7%) 16,(6,66.7%) 16,(6,66.7%) 24,(6,66.7%) 24} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.006728/1.255, allocations: 4.649 MB / 1.225 GB, free: 5.461 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.007443/1.262, allocations: 4.289 MB / 1.229 GB, free: 1.121 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 8.967e-06/1.262, allocations: 4 kB / 1.229 GB, free: 1.117 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.004476/1.267, allocations: 2.665 MB / 1.232 GB, free: 14.41 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003574/1.27, allocations: 0.7092 MB / 1.233 GB, free: 13.7 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5753/1.846, allocations: 22.85 MB / 1.255 GB, free: 240.9 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00518/1.851, allocations: 3.574 MB / 1.259 GB, free: 239.8 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.00159/1.853, allocations: 468.3 kB / 1.259 GB, free: 239.8 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001748/1.854, allocations: 1.792 MB / 1.261 GB, free: 238.2 MB / 0.9981 GB Notification: Performance of SimCode: time 1.122e-06/1.854, allocations: 0 / 1.261 GB, free: 238.2 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1017/1.956, allocations: 70.51 MB / 1.33 GB, free: 181.2 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001977/1.956, allocations: 243.1 kB / 1.33 GB, free: 181 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.234/5.191, allocations: 3.25 kB / 1.33 GB, free: 181 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_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_L_N_res.mat does not exist to compare? outputFormat=mat