Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.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,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL",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.001164/0.001164, allocations: 90.75 kB / 15.06 MB, free: 1.098 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.001604/0.001604, allocations: 172.7 kB / 15.95 MB, free: 208 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.472/1.472, allocations: 223.3 MB / 240 MB, free: 5.441 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.458/2.458, allocations: 390.4 MB / 0.6655 GB, free: 2.906 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003974/0.0003975, allocations: 8 kB / 0.8149 GB, free: 14.13 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7148/0.7152, allocations: 142.3 MB / 0.9539 GB, free: 8.062 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL): time 0.02257/0.7378, allocations: 20.53 MB / 0.9739 GB, free: 8.391 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.01109/0.749, allocations: 5.951 MB / 0.9797 GB, free: 3.625 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002161/0.7512, allocations: 80.06 kB / 0.9798 GB, free: 3.594 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.00127/0.7524, allocations: 431.8 kB / 0.9802 GB, free: 3.227 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.003908/0.7564, allocations: 1.344 MB / 0.9815 GB, free: 2.176 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.002919/0.7593, allocations: 0.8202 MB / 0.9823 GB, free: 1.57 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.009093/0.7684, allocations: 6.891 MB / 0.989 GB, free: 11.99 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01114/0.7796, allocations: 6.219 MB / 0.9951 GB, free: 5.719 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004385/0.784, allocations: 1.813 MB / 0.9969 GB, free: 3.898 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005552/0.7896, allocations: 2.562 MB / 0.9994 GB, free: 1.328 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0009368/0.7906, allocations: 200 kB / 0.9996 GB, free: 1.133 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002257/0.7929, allocations: 0.5385 MB / 1 GB, free: 0.5938 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.002183/0.7951, allocations: 1.719 MB / 1.002 GB, free: 14.87 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.001401/0.7965, allocations: 0.7303 MB / 1.003 GB, free: 14.13 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.008153/0.8046, allocations: 5.998 MB / 1.008 GB, free: 8.121 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 1.021e-05/0.8047, allocations: 0 / 1.008 GB, free: 8.121 MB / 0.7637 GB Notification: Performance of FrontEnd: time 3.426e-06/0.8047, allocations: 0 / 1.008 GB, free: 8.121 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 0.0002604/0.805, allocations: 4 kB / 1.008 GB, free: 8.117 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: 913 * Number of variables: 913 Notification: Performance of Generate backend data structure: time 0.007749/0.8127, allocations: 3.116 MB / 1.011 GB, free: 4.941 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 5.395e-05/0.8128, allocations: 8.031 kB / 1.011 GB, free: 4.934 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001506/0.8143, allocations: 0.4974 MB / 1.012 GB, free: 4.426 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00626/0.8206, allocations: 1.216 MB / 1.013 GB, free: 3.203 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004659/0.8253, allocations: 2.158 MB / 1.015 GB, free: 0.9883 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002487/0.8256, allocations: 246.4 kB / 1.015 GB, free: 0.7461 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001127/0.8267, allocations: 311.9 kB / 1.016 GB, free: 452 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0125/0.8392, allocations: 6.193 MB / 1.022 GB, free: 9.992 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.879e-05/0.8393, allocations: 15.94 kB / 1.022 GB, free: 9.977 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004206/0.8398, allocations: 135.9 kB / 1.022 GB, free: 9.844 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005292/0.8403, allocations: 410.3 kB / 1.022 GB, free: 9.441 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009949/0.8503, allocations: 4.639 MB / 1.027 GB, free: 4.793 MB / 0.7794 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03725/0.8876, allocations: 29.07 MB / 1.055 GB, free: 5.012 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002231/0.8898, allocations: 1.41 MB / 1.057 GB, free: 3.586 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00205/0.8919, allocations: 1.479 MB / 1.058 GB, free: 2.105 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001066/0.892, allocations: 17 kB / 1.058 GB, free: 2.09 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.946e-05/0.8921, allocations: 47.45 kB / 1.058 GB, free: 2.035 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=110): time 2.966e-06/0.8921, allocations: 0 / 1.058 GB, free: 2.035 MB / 0.8106 GB Notification: Performance of matching and sorting (n=179): time 0.1212/1.013, allocations: 36.3 MB / 1.094 GB, free: 13.65 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.899e-05/1.013, allocations: 77.34 kB / 1.094 GB, free: 13.57 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002342/1.016, allocations: 1.415 MB / 1.095 GB, free: 12.14 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 0.0002464/1.016, allocations: 49.7 kB / 1.095 GB, free: 12.09 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.001117/1.017, allocations: 1.546 MB / 1.097 GB, free: 10.52 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006882/1.018, allocations: 0.6045 MB / 1.097 GB, free: 9.91 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002108/1.018, allocations: 40 kB / 1.097 GB, free: 9.871 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001972/1.018, allocations: 381.9 kB / 1.098 GB, free: 9.492 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002606/1.021, allocations: 1.776 MB / 1.099 GB, free: 7.711 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002979/1.024, allocations: 2.346 MB / 1.102 GB, free: 5.109 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002956/1.027, allocations: 2.055 MB / 1.104 GB, free: 3.055 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.334e-05/1.027, allocations: 8 kB / 1.104 GB, free: 3.047 MB / 0.8575 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.0172/1.044, allocations: 8.54 MB / 1.112 GB, free: 10.47 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 3.651e-05/1.044, allocations: 16 kB / 1.112 GB, free: 10.45 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.928e-05/1.044, allocations: 16.84 kB / 1.112 GB, free: 10.44 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01364/1.058, allocations: 4.632 MB / 1.117 GB, free: 5.789 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001487/1.059, allocations: 303.5 kB / 1.117 GB, free: 5.492 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04474/1.104, allocations: 29.44 MB / 1.146 GB, free: 7.238 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002175/1.106, allocations: 151.8 kB / 1.146 GB, free: 7.09 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003926/1.107, allocations: 83.98 kB / 1.146 GB, free: 7.008 MB / 0.9044 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 {(11,90.1%) 13,(11,91.7%) 13,(6,100.0%) 12,(6,100.0%) 12,(6,100.0%) 6,(6,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002728/1.11, allocations: 1.326 MB / 1.147 GB, free: 5.672 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005266/1.11, allocations: 205.5 kB / 1.147 GB, free: 5.469 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01714/1.127, allocations: 8.422 MB / 1.155 GB, free: 13 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.357e-05/1.127, allocations: 20 kB / 1.156 GB, free: 12.98 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.772e-05/1.127, allocations: 24 kB / 1.156 GB, free: 12.96 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.276e-05/1.127, allocations: 11.92 kB / 1.156 GB, free: 12.95 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02595/1.153, allocations: 12.81 MB / 1.168 GB, free: 15.96 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.506e-05/1.153, allocations: 8 kB / 1.168 GB, free: 15.95 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007151/1.154, allocations: 167.7 kB / 1.168 GB, free: 15.79 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01348/1.168, allocations: 4.483 MB / 1.173 GB, free: 11.29 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003466/1.168, allocations: 36 kB / 1.173 GB, free: 11.25 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04394/1.212, allocations: 29.06 MB / 1.201 GB, free: 13.38 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.816e-06/1.212, allocations: 11.94 kB / 1.201 GB, free: 13.37 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01674/1.229, allocations: 8.218 MB / 1.209 GB, free: 5.02 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001696/1.231, allocations: 0.6234 MB / 1.21 GB, free: 4.375 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006376/1.231, allocations: 39.95 kB / 1.21 GB, free: 4.336 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001584/1.233, allocations: 139.8 kB / 1.21 GB, free: 4.199 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007556/1.234, allocations: 164.9 kB / 1.21 GB, free: 4.039 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001989/1.234, allocations: 55.98 kB / 1.21 GB, free: 3.984 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.001601/1.235, allocations: 0.9431 MB / 1.211 GB, free: 3.047 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.1e-07/1.235, allocations: 4 kB / 1.211 GB, free: 3.043 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.003813/1.239, allocations: 1.109 MB / 1.212 GB, free: 1.934 MB / 0.9669 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 {(6,100.0%) 6,(6,100.0%) 12,(11,91.7%) 13,(6,100.0%) 6,(6,100.0%) 12,(11,91.7%) 13} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01664/1.256, allocations: 8.821 MB / 1.221 GB, free: 8.969 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.01268/1.269, allocations: 6.411 MB / 1.227 GB, free: 2.484 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.005e-05/1.269, allocations: 0 / 1.227 GB, free: 2.484 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.008434/1.277, allocations: 4.277 MB / 1.231 GB, free: 14.13 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002815/1.28, allocations: 489.8 kB / 1.232 GB, free: 13.65 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04576/1.326, allocations: 24.54 MB / 1.256 GB, free: 4.035 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003874/1.33, allocations: 2.723 MB / 1.258 GB, free: 1.277 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001168/1.331, allocations: 392.5 kB / 1.259 GB, free: 0.8906 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.541/1.872, allocations: 1.21 MB / 1.26 GB, free: 279.6 MB / 1.014 GB Notification: Performance of SimCode: time 2.134e-06/1.872, allocations: 0 / 1.26 GB, free: 279.6 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1081/1.98, allocations: 78.68 MB / 1.337 GB, free: 228.6 MB / 1.014 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001647/1.98, allocations: 246.7 kB / 1.337 GB, free: 228.3 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.055/5.035, allocations: 3.234 kB / 1.337 GB, free: 228.3 MB / 1.014 GB (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL.fmu > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_res.mat does not exist to compare? outputFormat=mat