Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_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.ACLineMatrix_RL_N,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_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.0009037/0.0009037, 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.001128/0.001128, 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.479/1.479, allocations: 223.3 MB / 240 MB, free: 5.406 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.47/2.47, allocations: 390.4 MB / 0.6655 GB, free: 2.953 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003762/0.0003763, allocations: 12 kB / 0.8149 GB, free: 14.16 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7911/0.7915, allocations: 142.3 MB / 0.9539 GB, free: 8.141 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N): time 0.01998/0.8116, allocations: 21.27 MB / 0.9746 GB, free: 7.883 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.01086/0.8225, allocations: 6.197 MB / 0.9807 GB, free: 2.918 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00253/0.825, allocations: 85.66 kB / 0.9808 GB, free: 2.883 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.001539/0.8266, allocations: 453.8 kB / 0.9812 GB, free: 2.496 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.004103/0.8307, allocations: 1.546 MB / 0.9827 GB, free: 1.297 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.002771/0.8335, allocations: 0.9123 MB / 0.9836 GB, free: 0.625 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.008697/0.8422, allocations: 8.206 MB / 0.9916 GB, free: 9.406 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01049/0.8527, allocations: 7.106 MB / 0.9986 GB, free: 2.246 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003933/0.8567, allocations: 2.144 MB / 1.001 GB, free: 96 kB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004635/0.8613, allocations: 3.127 MB / 1.004 GB, free: 12.95 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 0.0006021/0.862, allocations: 244 kB / 1.004 GB, free: 12.71 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001735/0.8637, allocations: 0.5776 MB / 1.004 GB, free: 12.14 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.00208/0.8658, allocations: 2.116 MB / 1.007 GB, free: 10.02 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.001092/0.8669, allocations: 0.8433 MB / 1.007 GB, free: 9.164 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.006942/0.8738, allocations: 7.011 MB / 1.014 GB, free: 2.141 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 6.943e-06/0.8739, allocations: 0 / 1.014 GB, free: 2.141 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.854e-06/0.8739, allocations: 4 kB / 1.014 GB, free: 2.137 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 0.0002188/0.8741, allocations: 0 / 1.014 GB, free: 2.137 MB / 0.7637 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1053 * Number of variables: 1053 Notification: Performance of Generate backend data structure: time 0.007376/0.8815, allocations: 3.609 MB / 1.018 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 5.613e-05/0.8816, allocations: 12.03 kB / 1.018 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001718/0.8833, allocations: 0.5712 MB / 1.018 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008246/0.8916, allocations: 1.68 MB / 1.02 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00465/0.8962, allocations: 2.509 MB / 1.022 GB, free: 9.617 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000214/0.8965, allocations: 279.3 kB / 1.023 GB, free: 9.344 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007695/0.8973, allocations: 355.9 kB / 1.023 GB, free: 8.996 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0138/0.9111, allocations: 7.451 MB / 1.03 GB, free: 1.277 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.706e-05/0.9112, allocations: 27.8 kB / 1.03 GB, free: 1.25 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000488/0.9117, allocations: 159.9 kB / 1.03 GB, free: 1.094 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005903/0.9123, allocations: 483.4 kB / 1.031 GB, free: 0.6211 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01062/0.9229, allocations: 5.685 MB / 1.036 GB, free: 10.93 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03995/0.9629, allocations: 31.68 MB / 1.067 GB, free: 8.48 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003117/0.9661, allocations: 2.075 MB / 1.069 GB, free: 6.395 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003035/0.9691, allocations: 2.178 MB / 1.072 GB, free: 4.211 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001502/0.9693, allocations: 17.31 kB / 1.072 GB, free: 4.195 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.542e-05/0.9693, allocations: 43.88 kB / 1.072 GB, free: 4.141 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=146): time 3.476e-06/0.9693, allocations: 3.938 kB / 1.072 GB, free: 4.137 MB / 0.8262 GB Notification: Performance of matching and sorting (n=251): time 0.2634/1.233, allocations: 75.25 MB / 1.145 GB, free: 8.746 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.711e-05/1.233, allocations: 77.41 kB / 1.145 GB, free: 8.66 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002144/1.235, allocations: 1.654 MB / 1.147 GB, free: 6.961 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 0.0004102/1.235, allocations: 65.7 kB / 1.147 GB, free: 6.891 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.00107/1.236, allocations: 1.739 MB / 1.149 GB, free: 5.129 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008837/1.237, allocations: 0.8588 MB / 1.149 GB, free: 4.258 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002336/1.238, allocations: 48 kB / 1.149 GB, free: 4.211 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001774/1.238, allocations: 411.2 kB / 1.15 GB, free: 3.805 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003687/1.242, allocations: 2.722 MB / 1.153 GB, free: 1.078 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004292/1.246, allocations: 3.328 MB / 1.156 GB, free: 13.5 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004332/1.25, allocations: 3.055 MB / 1.159 GB, free: 10.45 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.234e-05/1.25, allocations: 4 kB / 1.159 GB, free: 10.45 MB / 0.92 GB Notification: Performance of matching and sorting (n=331) (initialization): time 0.03024/1.28, allocations: 14.64 MB / 1.173 GB, free: 11.76 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 3.84e-05/1.281, allocations: 12 kB / 1.173 GB, free: 11.75 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.777e-05/1.281, allocations: 20 kB / 1.173 GB, free: 11.73 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02692/1.307, allocations: 9.24 MB / 1.182 GB, free: 2.461 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001242/1.309, allocations: 299.5 kB / 1.182 GB, free: 2.168 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07311/1.382, allocations: 47.06 MB / 1.228 GB, free: 2.262 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002637/1.385, allocations: 227.7 kB / 1.229 GB, free: 2.039 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004586/1.385, allocations: 100 kB / 1.229 GB, free: 1.941 MB / 0.9825 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 (157): * Single equations (assignments): 151 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(19,68.1%) 19,(19,54.6%) 19,(12,50.0%) 18,(12,50.0%) 18,(12,52.8%) 10,(12,53.5%) 10} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002948/1.388, allocations: 1.578 MB / 1.23 GB, free: 360 kB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006547/1.389, allocations: 245 kB / 1.23 GB, free: 112 kB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03237/1.421, allocations: 14.73 MB / 1.245 GB, free: 1.324 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.872e-05/1.421, allocations: 24 kB / 1.245 GB, free: 1.301 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002548/1.421, allocations: 47.95 kB / 1.245 GB, free: 1.254 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.004e-05/1.421, allocations: 15.95 kB / 1.245 GB, free: 1.238 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.7054/2.127, allocations: 20.49 MB / 1.265 GB, free: 270.8 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.861e-05/2.127, allocations: 6.719 kB / 1.265 GB, free: 270.8 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007736/2.128, allocations: 163.2 kB / 1.265 GB, free: 270.7 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02777/2.156, allocations: 8.996 MB / 1.274 GB, free: 270.7 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004743/2.156, allocations: 54.97 kB / 1.274 GB, free: 270.7 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.07173/2.228, allocations: 46.68 MB / 1.319 GB, free: 250.1 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.526e-06/2.228, allocations: 11.09 kB / 1.32 GB, free: 250.1 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02766/2.256, allocations: 14.32 MB / 1.333 GB, free: 236.9 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002134/2.258, allocations: 0.8455 MB / 1.334 GB, free: 236 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009237/2.259, allocations: 44 kB / 1.334 GB, free: 236 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002233/2.261, allocations: 211.7 kB / 1.335 GB, free: 235.7 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001334/2.262, allocations: 245.9 kB / 1.335 GB, free: 235.5 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003101/2.263, allocations: 68 kB / 1.335 GB, free: 235.4 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001741/2.264, allocations: 1.113 MB / 1.336 GB, free: 234.3 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.3e-07/2.264, allocations: 0 / 1.336 GB, free: 234.3 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.005788/2.27, allocations: 1.609 MB / 1.338 GB, free: 232.7 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 (80): * Single equations (assignments): 74 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(12,53.5%) 10,(12,50.0%) 18,(19,64.8%) 19,(12,53.5%) 10,(12,50.0%) 18,(19,54.0%) 19} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.02641/2.297, allocations: 14.94 MB / 1.352 GB, free: 217.6 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.01928/2.316, allocations: 10.33 MB / 1.362 GB, free: 207.2 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.17e-05/2.316, allocations: 0 / 1.362 GB, free: 207.2 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.01486/2.331, allocations: 7.164 MB / 1.369 GB, free: 200 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003911/2.335, allocations: 0.5032 MB / 1.37 GB, free: 199.5 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06673/2.401, allocations: 35.9 MB / 1.405 GB, free: 162.2 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0052/2.407, allocations: 3.224 MB / 1.408 GB, free: 159 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001364/2.408, allocations: 399.3 kB / 1.408 GB, free: 158.6 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001792/2.41, allocations: 1.483 MB / 1.41 GB, free: 157.1 MB / 1.014 GB Notification: Performance of SimCode: time 1.513e-06/2.41, allocations: 0 / 1.41 GB, free: 157.1 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1516/2.562, allocations: 112.4 MB / 1.519 GB, free: 45.22 MB / 1.014 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001477/2.562, allocations: 236.7 kB / 1.52 GB, free: 44.98 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.714/6.276, allocations: 4 kB / 1.52 GB, free: 44.98 MB / 1.014 GB (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N.fmu > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N_res.mat does not exist to compare? outputFormat=mat