Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_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_N,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_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.0009389/0.0009389, allocations: 99.08 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.0009653/0.0009654, allocations: 177.3 kB / 15.94 MB, free: 220 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.373/1.373, allocations: 223.2 MB / 239.9 MB, free: 5.465 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.513/2.513, allocations: 390.3 MB / 0.6653 GB, free: 3.016 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003832/0.0003833, allocations: 12 kB / 0.8146 GB, free: 14.2 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8275/0.8279, allocations: 142.3 MB / 0.9536 GB, free: 8.109 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N): time 0.03239/0.8604, allocations: 28.83 MB / 0.9818 GB, free: 2.422 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.02619/0.8866, allocations: 13.81 MB / 0.9952 GB, free: 5.43 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004585/0.8912, allocations: 135.1 kB / 0.9954 GB, free: 5.297 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.003334/0.8946, allocations: 0.6987 MB / 0.996 GB, free: 4.594 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.00981/0.9044, allocations: 2.269 MB / 0.9983 GB, free: 2.32 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.005493/0.9099, allocations: 1.403 MB / 0.9996 GB, free: 0.918 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.009874/0.9198, allocations: 4.588 MB / 1.004 GB, free: 12.32 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01713/0.937, allocations: 9.852 MB / 1.014 GB, free: 2.398 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006804/0.9438, allocations: 2.625 MB / 1.016 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005861/0.9497, allocations: 2.429 MB / 1.019 GB, free: 13.33 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.001264/0.951, allocations: 296 kB / 1.019 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003052/0.9541, allocations: 0.6945 MB / 1.02 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.002604/0.9567, allocations: 2.105 MB / 1.022 GB, free: 10.23 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.002173/0.9589, allocations: 1.132 MB / 1.023 GB, free: 9.094 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.01128/0.9702, allocations: 9.041 MB / 1.032 GB, free: 32 kB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.9702, allocations: 0 / 1.032 GB, free: 32 kB / 0.7794 GB Notification: Performance of FrontEnd: time 3.467e-06/0.9702, allocations: 0 / 1.032 GB, free: 32 kB / 0.7794 GB Notification: Performance of Transformations before backend: time 0.0004025/0.9706, allocations: 4 kB / 1.032 GB, free: 28 kB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1338 * Number of variables: 1338 Notification: Performance of Generate backend data structure: time 0.01284/0.9835, allocations: 4.86 MB / 1.036 GB, free: 11.09 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 5.247e-05/0.9836, allocations: 8.031 kB / 1.036 GB, free: 11.08 MB / 0.795 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002868/0.9864, allocations: 0.7269 MB / 1.037 GB, free: 10.34 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007411/0.9939, allocations: 1.117 MB / 1.038 GB, free: 9.219 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008822/1.003, allocations: 3.236 MB / 1.041 GB, free: 5.906 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003624/1.003, allocations: 374 kB / 1.042 GB, free: 5.539 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002035/1.005, allocations: 0.492 MB / 1.042 GB, free: 5.047 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01717/1.022, allocations: 7.919 MB / 1.05 GB, free: 12.85 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001516/1.023, allocations: 27.73 kB / 1.05 GB, free: 12.82 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006102/1.023, allocations: 216 kB / 1.05 GB, free: 12.61 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001082/1.024, allocations: 437.6 kB / 1.051 GB, free: 12.18 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0125/1.037, allocations: 6.046 MB / 1.056 GB, free: 6.121 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04524/1.082, allocations: 35.22 MB / 1.091 GB, free: 15.72 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003002/1.085, allocations: 2.015 MB / 1.093 GB, free: 13.7 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001589/1.085, allocations: 22 kB / 1.093 GB, free: 13.68 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.761e-05/1.085, allocations: 56.5 kB / 1.093 GB, free: 13.62 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=171): time 4.068e-06/1.085, allocations: 4 kB / 1.093 GB, free: 13.61 MB / 0.8575 GB Notification: Performance of matching and sorting (n=276): time 0.161/1.246, allocations: 38.97 MB / 1.131 GB, free: 6.543 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.116e-05/1.246, allocations: 81.53 kB / 1.131 GB, free: 6.449 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004303/1.251, allocations: 2.262 MB / 1.133 GB, free: 4.172 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 0.0004499/1.251, allocations: 73.7 kB / 1.133 GB, free: 4.094 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.001817/1.253, allocations: 2.272 MB / 1.136 GB, free: 1.793 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.001241/1.254, allocations: 0.9319 MB / 1.136 GB, free: 0.8477 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003215/1.255, allocations: 64 kB / 1.137 GB, free: 0.7852 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.000279/1.255, allocations: 424.1 kB / 1.137 GB, free: 372 kB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003286/1.258, allocations: 1.966 MB / 1.139 GB, free: 14.39 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003929/1.262, allocations: 2.575 MB / 1.141 GB, free: 11.57 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003974/1.266, allocations: 2.372 MB / 1.144 GB, free: 9.184 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.262e-05/1.266, allocations: 4 kB / 1.144 GB, free: 9.18 MB / 0.9044 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.01627/1.282, allocations: 7.72 MB / 1.151 GB, free: 1.391 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 4.132e-05/1.283, allocations: 25.19 kB / 1.151 GB, free: 1.367 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.83e-05/1.283, allocations: 16 kB / 1.151 GB, free: 1.352 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01016/1.293, allocations: 3.198 MB / 1.154 GB, free: 14.13 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001948/1.295, allocations: 403.3 kB / 1.155 GB, free: 13.74 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04912/1.344, allocations: 32.37 MB / 1.186 GB, free: 12.56 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00401/1.348, allocations: 163.8 kB / 1.187 GB, free: 12.4 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000694/1.349, allocations: 107.9 kB / 1.187 GB, free: 12.29 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 (202): * Single equations (assignments): 196 * 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 {(10,71.0%) 28,(10,65.0%) 28,(6,77.8%) 24,(6,77.8%) 24,(5,92.0%) 17,(5,92.0%) 17} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004379/1.353, allocations: 1.801 MB / 1.188 GB, free: 10.48 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001092/1.354, allocations: 332.1 kB / 1.189 GB, free: 10.15 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01529/1.37, allocations: 7.326 MB / 1.196 GB, free: 2.746 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.798e-05/1.37, allocations: 28 kB / 1.196 GB, free: 2.719 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001544/1.37, allocations: 31.94 kB / 1.196 GB, free: 2.688 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.568e-05/1.37, allocations: 15.94 kB / 1.196 GB, free: 2.672 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03024/1.4, allocations: 12.9 MB / 1.209 GB, free: 5.605 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.036e-05/1.4, allocations: 8.844 kB / 1.209 GB, free: 5.598 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001102/1.401, allocations: 227.6 kB / 1.209 GB, free: 5.375 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008803/1.41, allocations: 2.857 MB / 1.212 GB, free: 2.5 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004921/1.411, allocations: 51.98 kB / 1.212 GB, free: 2.449 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04741/1.458, allocations: 31.19 MB / 1.242 GB, free: 2.449 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.197e-06/1.458, allocations: 4 kB / 1.242 GB, free: 2.445 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01522/1.473, allocations: 7.427 MB / 1.249 GB, free: 10.57 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002858/1.476, allocations: 0.7783 MB / 1.25 GB, free: 9.766 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001208/1.478, allocations: 56 kB / 1.25 GB, free: 9.711 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002611/1.48, allocations: 167.8 kB / 1.25 GB, free: 9.547 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001077/1.481, allocations: 253.4 kB / 1.251 GB, free: 9.297 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003301/1.482, allocations: 76 kB / 1.251 GB, free: 9.223 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.003448/1.485, allocations: 1.502 MB / 1.252 GB, free: 7.719 MB / 1.014 GB Notification: Performance of sort global known variables: time 4.91e-07/1.485, allocations: 0 / 1.252 GB, free: 7.719 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.007438/1.493, allocations: 1.367 MB / 1.253 GB, free: 6.352 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 (105): * Single equations (assignments): 99 * 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 {(5,84.0%) 17,(6,77.8%) 24,(10,65.0%) 28,(5,92.0%) 17,(6,77.8%) 24,(10,65.0%) 28} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.714/2.207, allocations: 9.655 MB / 1.263 GB, free: 271.1 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0156/2.222, allocations: 6.902 MB / 1.27 GB, free: 270.1 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.564e-05/2.222, allocations: 2.25 kB / 1.27 GB, free: 270.1 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.009032/2.231, allocations: 4.426 MB / 1.274 GB, free: 269 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005246/2.237, allocations: 0.9817 MB / 1.275 GB, free: 268.8 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06874/2.305, allocations: 43.79 MB / 1.318 GB, free: 239.7 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005217/2.311, allocations: 3.738 MB / 1.321 GB, free: 238.1 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.002574/2.313, allocations: 0.5566 MB / 1.322 GB, free: 237.8 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002295/2.316, allocations: 1.976 MB / 1.324 GB, free: 236 MB / 1.014 GB Notification: Performance of SimCode: time 1.402e-06/2.316, allocations: 4 kB / 1.324 GB, free: 236 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1497/2.465, allocations: 107.3 MB / 1.429 GB, free: 133 MB / 1.014 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001576/2.466, allocations: 233.5 kB / 1.429 GB, free: 132.7 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.191/6.656, allocations: 0 / 1.429 GB, free: 132.7 MB / 1.014 GB (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N.fmu > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N_res.mat does not exist to compare? outputFormat=mat