Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.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 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L",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.002324/0.002324, allocations: 99.31 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.002486/0.002486, 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 2.669/2.669, allocations: 223.2 MB / 239.9 MB, free: 5.449 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 4.778/4.778, allocations: 409.2 MB / 0.6838 GB, free: 0.9883 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0006314/0.0006317, allocations: 11.98 kB / 0.8375 GB, free: 6.543 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.422/1.423, allocations: 146.8 MB / 0.9809 GB, free: 6.293 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L): time 0.06036/1.483, allocations: 28.7 MB / 1.009 GB, free: 9.52 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.03136/1.514, allocations: 9.805 MB / 1.018 GB, free: 15.69 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006235/1.521, allocations: 127.2 kB / 1.019 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.004566/1.525, allocations: 0.6328 MB / 1.019 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.01134/1.537, allocations: 1.258 MB / 1.02 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.009538/1.547, allocations: 1.284 MB / 1.022 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.01163/1.558, allocations: 3.429 MB / 1.025 GB, free: 8.949 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.03108/1.589, allocations: 10.33 MB / 1.035 GB, free: 14.55 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008043/1.598, allocations: 1.974 MB / 1.037 GB, free: 12.57 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007804/1.605, allocations: 1.981 MB / 1.039 GB, free: 10.58 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.002761/1.608, allocations: 268 kB / 1.039 GB, free: 10.32 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005751/1.614, allocations: 0.7022 MB / 1.04 GB, free: 9.613 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.00583/1.62, allocations: 1.863 MB / 1.042 GB, free: 7.746 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.004254/1.624, allocations: 0.9563 MB / 1.043 GB, free: 6.781 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0178/1.642, allocations: 8.207 MB / 1.051 GB, free: 14.55 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 6.623e-06/1.642, allocations: 0 / 1.051 GB, free: 14.55 MB / 0.8106 GB Notification: Performance of FrontEnd: time 4.709e-06/1.642, allocations: 0 / 1.051 GB, free: 14.55 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 0.0004253/1.643, allocations: 0 / 1.051 GB, free: 14.55 MB / 0.8106 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1256 * Number of variables: 1256 Notification: Performance of Generate backend data structure: time 0.01737/1.66, allocations: 4.039 MB / 1.055 GB, free: 10.45 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 6.711e-05/1.66, allocations: 8.031 kB / 1.055 GB, free: 10.44 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003647/1.664, allocations: 0.6818 MB / 1.055 GB, free: 9.746 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009935/1.674, allocations: 0.9114 MB / 1.056 GB, free: 8.828 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01178/1.686, allocations: 2.8 MB / 1.059 GB, free: 5.969 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006336/1.686, allocations: 349.3 kB / 1.059 GB, free: 5.625 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003468/1.69, allocations: 471.8 kB / 1.06 GB, free: 5.164 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0304/1.72, allocations: 7.596 MB / 1.067 GB, free: 13.22 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002635/1.721, allocations: 19.78 kB / 1.067 GB, free: 13.2 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001561/1.722, allocations: 204 kB / 1.067 GB, free: 13 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005913/1.723, allocations: 320.9 kB / 1.068 GB, free: 12.68 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02088/1.744, allocations: 5.667 MB / 1.073 GB, free: 7 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06764/1.811, allocations: 35.12 MB / 1.107 GB, free: 0.6758 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00524/1.817, allocations: 2.156 MB / 1.11 GB, free: 14.4 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002318/1.817, allocations: 17.31 kB / 1.11 GB, free: 14.38 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.693e-05/1.817, allocations: 43.88 kB / 1.11 GB, free: 14.33 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=133): time 5.641e-06/1.817, allocations: 0 / 1.11 GB, free: 14.33 MB / 0.8731 GB Notification: Performance of matching and sorting (n=136): time 0.02661/1.844, allocations: 7.073 MB / 1.117 GB, free: 6.988 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001113/1.844, allocations: 68.72 kB / 1.117 GB, free: 6.91 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004995/1.849, allocations: 1.468 MB / 1.118 GB, free: 5.395 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0004392/1.85, allocations: 45.7 kB / 1.118 GB, free: 5.344 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.002784/1.852, allocations: 2.004 MB / 1.12 GB, free: 3.312 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.001347/1.854, allocations: 489 kB / 1.121 GB, free: 2.828 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003685/1.854, allocations: 36 kB / 1.121 GB, free: 2.793 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0004311/1.855, allocations: 385.8 kB / 1.121 GB, free: 2.41 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002644/1.857, allocations: 0.9057 MB / 1.122 GB, free: 1.504 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003203/1.86, allocations: 1.581 MB / 1.123 GB, free: 15.61 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002968/1.863, allocations: 1.177 MB / 1.125 GB, free: 14.44 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.745e-05/1.864, allocations: 8 kB / 1.125 GB, free: 14.43 MB / 0.8887 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.01066/1.874, allocations: 3.523 MB / 1.128 GB, free: 10.86 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 6.726e-05/1.874, allocations: 13.41 kB / 1.128 GB, free: 10.85 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.356e-05/1.874, allocations: 28 kB / 1.128 GB, free: 10.82 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003821/1.878, allocations: 0.9 MB / 1.129 GB, free: 9.883 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00216/1.88, allocations: 355.3 kB / 1.129 GB, free: 9.535 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03111/1.912, allocations: 21.54 MB / 1.15 GB, free: 2.398 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002855/1.915, allocations: 108 kB / 1.15 GB, free: 2.293 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003278/1.915, allocations: 84.08 kB / 1.15 GB, free: 2.211 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 (185): * 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: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 12 {(2,100.0%) 6,(2,100.0%) 6,(3,77.8%) 5,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005244/1.92, allocations: 1.611 MB / 1.152 GB, free: 0.5898 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009876/1.921, allocations: 201.7 kB / 1.152 GB, free: 400 kB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009071/1.93, allocations: 2.975 MB / 1.155 GB, free: 13.36 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.654e-05/1.93, allocations: 20 kB / 1.155 GB, free: 13.34 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-05/1.93, allocations: 8 kB / 1.155 GB, free: 13.34 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.544e-05/1.93, allocations: 7.969 kB / 1.155 GB, free: 13.33 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02367/1.954, allocations: 7.317 MB / 1.162 GB, free: 5.773 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.768e-05/1.954, allocations: 4.562 kB / 1.162 GB, free: 5.77 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001397/1.956, allocations: 175.7 kB / 1.162 GB, free: 5.598 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004127/1.96, allocations: 0.8259 MB / 1.163 GB, free: 4.734 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000314/1.96, allocations: 27.98 kB / 1.163 GB, free: 4.707 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03815/1.998, allocations: 20.63 MB / 1.183 GB, free: 14.47 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-05/1.998, allocations: 7.953 kB / 1.183 GB, free: 14.46 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008784/2.007, allocations: 3.306 MB / 1.187 GB, free: 10.88 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001937/2.009, allocations: 470.4 kB / 1.187 GB, free: 10.4 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004345/2.01, allocations: 32 kB / 1.187 GB, free: 10.37 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001192/2.011, allocations: 75.84 kB / 1.187 GB, free: 10.29 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005211/2.011, allocations: 128.7 kB / 1.187 GB, free: 10.17 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001292/2.012, allocations: 36 kB / 1.187 GB, free: 10.13 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.002197/2.014, allocations: 0.96 MB / 1.188 GB, free: 9.148 MB / 0.9512 GB Notification: Performance of sort global known variables: time 2.21e-07/2.014, allocations: 3.938 kB / 1.188 GB, free: 9.145 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.005456/2.019, allocations: 0.7852 MB / 1.189 GB, free: 8.359 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 (91): * Single equations (assignments): 79 * 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: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 12 {(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01054/2.03, allocations: 5.046 MB / 1.194 GB, free: 3.129 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0116/2.041, allocations: 4.011 MB / 1.198 GB, free: 14.96 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.203e-05/2.042, allocations: 0 / 1.198 GB, free: 14.96 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.008195/2.05, allocations: 2.737 MB / 1.201 GB, free: 12.07 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006044/2.056, allocations: 0.6503 MB / 1.201 GB, free: 11.42 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08693/2.143, allocations: 34 MB / 1.234 GB, free: 8.113 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008097/2.151, allocations: 3.193 MB / 1.238 GB, free: 4.891 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.003612/2.155, allocations: 454 kB / 1.238 GB, free: 4.445 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004626/2.159, allocations: 1.55 MB / 1.24 GB, free: 2.895 MB / 0.9981 GB Notification: Performance of SimCode: time 2.114e-06/2.16, allocations: 4 kB / 1.24 GB, free: 2.891 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.345/3.505, allocations: 58.99 MB / 1.297 GB, free: 236.2 MB / 1.014 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003963/3.505, allocations: 228.7 kB / 1.297 GB, free: 236 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.296/9.801, allocations: 0 / 1.297 GB, free: 236 MB / 1.014 GB (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_res.mat does not exist to compare? outputFormat=mat