Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_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 9.1.1-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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_9_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_9_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.001227/0.001227, 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.0009637/0.0009637, 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 1.402/1.402, 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 9.1.1-maint.9.1.x/package.mo): time 2.445/2.445, allocations: 390.3 MB / 0.6653 GB, free: 2.922 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003601/0.0003602, allocations: 12 kB / 0.8146 GB, free: 14.13 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8165/0.8168, allocations: 142.3 MB / 0.9536 GB, free: 8.105 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N): time 0.03649/0.8534, allocations: 30.67 MB / 0.9836 GB, free: 1.148 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.02101/0.8744, allocations: 10.99 MB / 0.9943 GB, free: 6.379 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004618/0.8791, allocations: 131.2 kB / 0.9944 GB, free: 6.25 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.003444/0.8826, allocations: 0.6949 MB / 0.9951 GB, free: 5.551 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.007064/0.8897, allocations: 1.328 MB / 0.9964 GB, free: 4.219 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.006672/0.8964, allocations: 1.462 MB / 0.9978 GB, free: 2.758 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.009459/0.9059, allocations: 3.87 MB / 1.002 GB, free: 14.88 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02355/0.9295, allocations: 12.57 MB / 1.014 GB, free: 2.234 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005409/0.9349, allocations: 2.289 MB / 1.016 GB, free: 15.94 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005072/0.94, allocations: 2.375 MB / 1.018 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.001844/0.9419, allocations: 328 kB / 1.019 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003812/0.9457, allocations: 0.8154 MB / 1.02 GB, free: 12.42 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.004409/0.9501, allocations: 2.241 MB / 1.022 GB, free: 10.17 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.003081/0.9532, allocations: 1.108 MB / 1.023 GB, free: 9.055 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0148/0.9681, allocations: 9.781 MB / 1.032 GB, free: 15.25 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 6.332e-06/0.9681, allocations: 0 / 1.032 GB, free: 15.25 MB / 0.795 GB Notification: Performance of FrontEnd: time 3.196e-06/0.9681, allocations: 0 / 1.032 GB, free: 15.25 MB / 0.795 GB Notification: Performance of Transformations before backend: time 0.000549/0.9687, allocations: 0 / 1.032 GB, free: 15.25 MB / 0.795 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.01519/0.9839, allocations: 4.675 MB / 1.037 GB, free: 10.5 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 5.571e-05/0.984, allocations: 8.031 kB / 1.037 GB, free: 10.5 MB / 0.795 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003128/0.9871, allocations: 0.8049 MB / 1.038 GB, free: 9.68 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006728/0.9938, allocations: 1.035 MB / 1.039 GB, free: 8.637 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009327/1.003, allocations: 3.196 MB / 1.042 GB, free: 5.383 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004966/1.004, allocations: 411.1 kB / 1.042 GB, free: 4.98 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002281/1.006, allocations: 0.5427 MB / 1.043 GB, free: 4.438 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02444/1.03, allocations: 8.993 MB / 1.052 GB, free: 11.12 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003873/1.031, allocations: 35.72 kB / 1.052 GB, free: 11.09 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002188/1.033, allocations: 236 kB / 1.052 GB, free: 10.86 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005613/1.034, allocations: 342.8 kB / 1.052 GB, free: 10.52 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01587/1.05, allocations: 6.787 MB / 1.059 GB, free: 3.723 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05131/1.101, allocations: 40.17 MB / 1.098 GB, free: 7.84 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004258/1.105, allocations: 3.108 MB / 1.101 GB, free: 4.586 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000167/1.105, allocations: 21.94 kB / 1.101 GB, free: 4.566 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.193e-05/1.105, allocations: 56.55 kB / 1.101 GB, free: 4.504 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=179): time 4.278e-06/1.105, allocations: 0 / 1.101 GB, free: 4.504 MB / 0.8575 GB Notification: Performance of matching and sorting (n=182): time 0.02447/1.13, allocations: 9.869 MB / 1.111 GB, free: 10.54 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.726e-05/1.13, allocations: 69.41 kB / 1.111 GB, free: 10.46 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002144/1.132, allocations: 1.511 MB / 1.112 GB, free: 8.902 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0001461/1.132, allocations: 53.7 kB / 1.112 GB, free: 8.844 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.001433/1.134, allocations: 2.257 MB / 1.115 GB, free: 6.555 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005953/1.134, allocations: 0.6277 MB / 1.115 GB, free: 5.918 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001186/1.135, allocations: 48 kB / 1.115 GB, free: 5.871 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.000189/1.135, allocations: 394.4 kB / 1.116 GB, free: 5.48 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001534/1.136, allocations: 1.168 MB / 1.117 GB, free: 4.309 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002021/1.138, allocations: 1.869 MB / 1.119 GB, free: 2.125 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001914/1.14, allocations: 1.501 MB / 1.12 GB, free: 0.6211 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.326e-05/1.14, allocations: 11.95 kB / 1.12 GB, free: 0.6094 MB / 0.8731 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.007255/1.148, allocations: 4.551 MB / 1.124 GB, free: 12.03 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 3.642e-05/1.148, allocations: 16.25 kB / 1.124 GB, free: 12.02 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.973e-05/1.148, allocations: 24 kB / 1.124 GB, free: 11.99 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003752/1.151, allocations: 1.584 MB / 1.126 GB, free: 10.4 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001369/1.153, allocations: 351.4 kB / 1.126 GB, free: 10.05 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0229/1.176, allocations: 17.69 MB / 1.144 GB, free: 7.836 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001876/1.178, allocations: 119.9 kB / 1.144 GB, free: 7.719 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002877/1.178, allocations: 96 kB / 1.144 GB, free: 7.625 MB / 0.9044 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.003621/1.182, allocations: 1.894 MB / 1.146 GB, free: 5.719 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004968/1.182, allocations: 229.2 kB / 1.146 GB, free: 5.492 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007427/1.189, allocations: 4.075 MB / 1.15 GB, free: 1.391 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.895e-05/1.19, allocations: 20 kB / 1.15 GB, free: 1.371 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.159e-05/1.19, allocations: 16 kB / 1.15 GB, free: 1.355 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.704e-05/1.19, allocations: 11.97 kB / 1.15 GB, free: 1.344 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01694/1.207, allocations: 9.45 MB / 1.159 GB, free: 7.641 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.266e-05/1.207, allocations: 4 kB / 1.159 GB, free: 7.637 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007962/1.207, allocations: 184.2 kB / 1.159 GB, free: 7.457 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003758/1.211, allocations: 1.352 MB / 1.161 GB, free: 6.094 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002056/1.211, allocations: 36 kB / 1.161 GB, free: 6.059 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02334/1.235, allocations: 16.55 MB / 1.177 GB, free: 4.98 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.845e-06/1.235, allocations: 4 kB / 1.177 GB, free: 4.977 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007409/1.242, allocations: 4.358 MB / 1.181 GB, free: 380 kB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001355/1.244, allocations: 0.5334 MB / 1.182 GB, free: 15.81 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002764/1.244, allocations: 39.98 kB / 1.182 GB, free: 15.77 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008774/1.245, allocations: 87.91 kB / 1.182 GB, free: 15.69 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004724/1.245, allocations: 157.7 kB / 1.182 GB, free: 15.53 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001066/1.245, allocations: 48 kB / 1.182 GB, free: 15.48 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.001455/1.247, allocations: 0.9889 MB / 1.183 GB, free: 14.47 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.7e-07/1.247, allocations: 4 kB / 1.183 GB, free: 14.47 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.003393/1.25, allocations: 0.9883 MB / 1.184 GB, free: 13.48 MB / 0.9512 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.007448/1.258, allocations: 6.084 MB / 1.19 GB, free: 7.23 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.007428/1.265, allocations: 4.293 MB / 1.194 GB, free: 2.891 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 8.837e-06/1.265, allocations: 0 / 1.194 GB, free: 2.891 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.004545/1.27, allocations: 2.67 MB / 1.197 GB, free: 176 kB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003178/1.273, allocations: 0.6801 MB / 1.197 GB, free: 15.5 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04882/1.322, allocations: 37.85 MB / 1.234 GB, free: 8.188 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004862/1.327, allocations: 3.668 MB / 1.238 GB, free: 4.48 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001591/1.328, allocations: 467.9 kB / 1.238 GB, free: 4.02 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002127/1.33, allocations: 1.788 MB / 1.24 GB, free: 2.23 MB / 0.9981 GB Notification: Performance of SimCode: time 1.643e-06/1.331, allocations: 4 kB / 1.24 GB, free: 2.227 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7023/2.033, allocations: 70.49 MB / 1.309 GB, free: 249.3 MB / 1.014 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001628/2.033, allocations: 225.1 kB / 1.309 GB, free: 249.1 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.119/5.152, allocations: 0 / 1.309 GB, free: 249.1 MB / 1.014 GB (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N.fmu > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N_res.mat does not exist to compare? outputFormat=mat