Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_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 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_R_N,fileNamePrefix="Buildings_9_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_9_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.0009404/0.0009406, allocations: 100.1 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.000937/0.000937, allocations: 177.3 kB / 15.95 MB, free: 216 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.471/1.471, 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 9.1.1-maint.9.1.x/package.mo): time 2.555/2.555, allocations: 390.3 MB / 0.6653 GB, free: 2.945 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003429/0.0003429, allocations: 16 kB / 0.8146 GB, free: 14.15 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7774/0.7778, allocations: 142.3 MB / 0.9536 GB, free: 8.094 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N): time 0.03412/0.812, allocations: 33.04 MB / 0.9859 GB, free: 15.05 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.01939/0.8314, allocations: 10.7 MB / 0.9963 GB, free: 4.328 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003901/0.8354, allocations: 127.2 kB / 0.9964 GB, free: 4.203 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.002568/0.8379, allocations: 0.7531 MB / 0.9972 GB, free: 3.445 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.00564/0.8436, allocations: 1.713 MB / 0.9988 GB, free: 1.727 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.003898/0.8475, allocations: 1.292 MB / 1 GB, free: 448 kB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.007705/0.8552, allocations: 4.455 MB / 1.004 GB, free: 11.97 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02484/0.8801, allocations: 12.65 MB / 1.017 GB, free: 15.24 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006493/0.8867, allocations: 2.499 MB / 1.019 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005646/0.8924, allocations: 2.655 MB / 1.022 GB, free: 10.07 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.001938/0.8943, allocations: 344 kB / 1.022 GB, free: 9.734 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003121/0.8975, allocations: 0.5816 MB / 1.023 GB, free: 9.152 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.004211/0.9017, allocations: 2.311 MB / 1.025 GB, free: 6.836 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.002939/0.9047, allocations: 1.194 MB / 1.026 GB, free: 5.633 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.01247/0.9172, allocations: 10.03 MB / 1.036 GB, free: 11.57 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 2.945e-06/0.9172, allocations: 0 / 1.036 GB, free: 11.57 MB / 0.795 GB Notification: Performance of FrontEnd: time 2.144e-06/0.9172, allocations: 4 kB / 1.036 GB, free: 11.57 MB / 0.795 GB Notification: Performance of Transformations before backend: time 0.0004791/0.9177, allocations: 0 / 1.036 GB, free: 11.57 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: 1524 * Number of variables: 1524 Notification: Performance of Generate backend data structure: time 0.01525/0.933, allocations: 5.106 MB / 1.041 GB, free: 6.395 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.954e-05/0.933, allocations: 8.031 kB / 1.041 GB, free: 6.387 MB / 0.795 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003078/0.9361, allocations: 0.8214 MB / 1.042 GB, free: 5.555 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00601/0.9421, allocations: 1.019 MB / 1.043 GB, free: 4.527 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009397/0.9516, allocations: 3.349 MB / 1.046 GB, free: 1.125 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005212/0.9521, allocations: 419.4 kB / 1.046 GB, free: 0.7148 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002418/0.9546, allocations: 0.5429 MB / 1.047 GB, free: 176 kB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02399/0.9786, allocations: 9.283 MB / 1.056 GB, free: 6.551 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000329/0.979, allocations: 31.67 kB / 1.056 GB, free: 6.52 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001873/0.9809, allocations: 244 kB / 1.056 GB, free: 6.281 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007776/0.9817, allocations: 422.9 kB / 1.057 GB, free: 5.867 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01573/0.9974, allocations: 7.077 MB / 1.064 GB, free: 14.78 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05357/1.051, allocations: 41.36 MB / 1.104 GB, free: 1.68 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005262/1.056, allocations: 3.092 MB / 1.107 GB, free: 14.58 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000217/1.057, allocations: 26 kB / 1.107 GB, free: 14.56 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.889e-05/1.057, allocations: 60.5 kB / 1.107 GB, free: 14.49 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=209): time 4.929e-06/1.057, allocations: 4 kB / 1.107 GB, free: 14.49 MB / 0.8731 GB Notification: Performance of matching and sorting (n=212): time 0.02582/1.082, allocations: 10.44 MB / 1.117 GB, free: 3.949 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.548e-05/1.083, allocations: 73.41 kB / 1.117 GB, free: 3.863 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003062/1.086, allocations: 1.994 MB / 1.119 GB, free: 1.852 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0003033/1.086, allocations: 65.7 kB / 1.119 GB, free: 1.781 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.001768/1.088, allocations: 2.4 MB / 1.122 GB, free: 15.35 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008816/1.089, allocations: 0.7317 MB / 1.122 GB, free: 14.61 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002498/1.089, allocations: 52 kB / 1.122 GB, free: 14.55 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0002226/1.089, allocations: 427.3 kB / 1.123 GB, free: 14.13 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002177/1.091, allocations: 1.356 MB / 1.124 GB, free: 12.77 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002699/1.094, allocations: 2.08 MB / 1.126 GB, free: 10.38 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002695/1.097, allocations: 1.72 MB / 1.128 GB, free: 8.656 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.802e-05/1.097, allocations: 8 kB / 1.128 GB, free: 8.648 MB / 0.8887 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.008649/1.105, allocations: 5.034 MB / 1.133 GB, free: 3.59 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 3.689e-05/1.106, allocations: 12 kB / 1.133 GB, free: 3.578 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.342e-05/1.106, allocations: 24 kB / 1.133 GB, free: 3.555 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003484/1.109, allocations: 1.567 MB / 1.134 GB, free: 1.98 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001821/1.111, allocations: 455.2 kB / 1.135 GB, free: 1.535 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02157/1.132, allocations: 17.72 MB / 1.152 GB, free: 15.28 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002444/1.135, allocations: 147.9 kB / 1.152 GB, free: 15.14 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004481/1.135, allocations: 104 kB / 1.152 GB, free: 15.04 MB / 0.92 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.003942/1.139, allocations: 1.953 MB / 1.154 GB, free: 13.07 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008631/1.14, allocations: 288.7 kB / 1.155 GB, free: 12.79 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007359/1.148, allocations: 4.428 MB / 1.159 GB, free: 8.328 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.062e-05/1.148, allocations: 23.94 kB / 1.159 GB, free: 8.305 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.936e-05/1.148, allocations: 16 kB / 1.159 GB, free: 8.289 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.559e-05/1.148, allocations: 11.95 kB / 1.159 GB, free: 8.277 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01662/1.164, allocations: 9.652 MB / 1.168 GB, free: 14.48 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.744e-05/1.164, allocations: 4 kB / 1.168 GB, free: 14.47 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00102/1.165, allocations: 231.6 kB / 1.169 GB, free: 14.25 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003382/1.169, allocations: 1.424 MB / 1.17 GB, free: 12.81 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001864/1.169, allocations: 39.98 kB / 1.17 GB, free: 12.77 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02106/1.19, allocations: 17.74 MB / 1.187 GB, free: 10.51 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.168e-06/1.19, allocations: 15.89 kB / 1.187 GB, free: 10.5 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007415/1.198, allocations: 4.863 MB / 1.192 GB, free: 5.438 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001906/1.2, allocations: 0.6381 MB / 1.193 GB, free: 4.777 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004885/1.2, allocations: 47.95 kB / 1.193 GB, free: 4.73 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001309/1.201, allocations: 111.9 kB / 1.193 GB, free: 4.621 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004784/1.202, allocations: 181.6 kB / 1.193 GB, free: 4.441 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001281/1.202, allocations: 56 kB / 1.193 GB, free: 4.387 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.00187/1.204, allocations: 1.295 MB / 1.194 GB, free: 3.082 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.9e-07/1.204, allocations: 0 / 1.194 GB, free: 3.082 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.003495/1.207, allocations: 1.145 MB / 1.195 GB, free: 1.938 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 (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.007514/1.215, allocations: 6.586 MB / 1.202 GB, free: 11.18 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.00749/1.222, allocations: 4.673 MB / 1.206 GB, free: 6.465 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.264e-05/1.223, allocations: 8.062 kB / 1.207 GB, free: 6.457 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.004823/1.227, allocations: 2.913 MB / 1.209 GB, free: 3.484 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004072/1.231, allocations: 0.8026 MB / 1.21 GB, free: 2.684 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05381/1.285, allocations: 41.19 MB / 1.25 GB, free: 7.727 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005266/1.291, allocations: 3.784 MB / 1.254 GB, free: 3.906 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.002363/1.293, allocations: 0.5556 MB / 1.255 GB, free: 3.344 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002315/1.295, allocations: 1.956 MB / 1.257 GB, free: 1.391 MB / 1.014 GB Notification: Performance of SimCode: time 1.032e-06/1.295, allocations: 0 / 1.257 GB, free: 1.391 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7441/2.039, allocations: 82.28 MB / 1.337 GB, free: 220.8 MB / 1.014 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000141/2.04, allocations: 233.9 kB / 1.337 GB, free: 220.6 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.719/5.759, allocations: 0 / 1.337 GB, free: 220.6 MB / 1.014 GB (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N.fmu > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N_res.mat does not exist to compare? outputFormat=mat