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.0009654/0.0009661, allocations: 87.11 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.0009442/0.0009444, 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.428/1.428, allocations: 223.2 MB / 240 MB, free: 5.281 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.539/2.539, allocations: 390.4 MB / 0.6655 GB, free: 2.969 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003389/0.0003389, allocations: 11.98 kB / 0.8149 GB, free: 14.15 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.813/0.8134, allocations: 142.3 MB / 0.9539 GB, free: 8.129 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N): time 0.04096/0.8544, allocations: 34.62 MB / 0.9877 GB, free: 13.48 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.01908/0.8735, allocations: 10.48 MB / 0.9979 GB, free: 2.969 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004848/0.8784, allocations: 131.3 kB / 0.998 GB, free: 2.84 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.003471/0.8819, allocations: 0.7635 MB / 0.9988 GB, free: 2.07 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.007504/0.8894, allocations: 1.795 MB / 1.001 GB, free: 272 kB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.005296/0.8947, allocations: 1.284 MB / 1.002 GB, free: 14.98 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0155/0.9103, allocations: 10.36 MB / 1.012 GB, free: 4.598 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02374/0.934, allocations: 12.67 MB / 1.024 GB, free: 7.852 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006511/0.9406, allocations: 2.868 MB / 1.027 GB, free: 4.973 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007399/0.948, allocations: 3.769 MB / 1.031 GB, free: 1.191 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.002357/0.9504, allocations: 348 kB / 1.031 GB, free: 0.8516 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004011/0.9544, allocations: 0.7103 MB / 1.032 GB, free: 144 kB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.004977/0.9594, allocations: 2.518 MB / 1.034 GB, free: 13.61 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.002817/0.9623, allocations: 1.19 MB / 1.035 GB, free: 12.41 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.01147/0.9738, allocations: 10.18 MB / 1.045 GB, free: 2.207 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 6.713e-06/0.9738, allocations: 0 / 1.045 GB, free: 2.207 MB / 0.795 GB Notification: Performance of FrontEnd: time 2.284e-06/0.9738, allocations: 4 kB / 1.045 GB, free: 2.203 MB / 0.795 GB Notification: Performance of Transformations before backend: time 0.0003834/0.9742, allocations: 0 / 1.045 GB, free: 2.203 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.01262/0.9868, allocations: 5.152 MB / 1.05 GB, free: 12.98 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.264e-05/0.9869, allocations: 8.031 kB / 1.05 GB, free: 12.97 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002603/0.9895, allocations: 0.8253 MB / 1.051 GB, free: 12.14 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005774/0.9953, allocations: 1.07 MB / 1.052 GB, free: 11.06 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007287/1.003, allocations: 3.338 MB / 1.056 GB, free: 7.668 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004128/1.003, allocations: 427.4 kB / 1.056 GB, free: 7.25 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001998/1.005, allocations: 0.5467 MB / 1.056 GB, free: 6.703 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02219/1.027, allocations: 9.322 MB / 1.066 GB, free: 13.04 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001517/1.027, allocations: 23.77 kB / 1.066 GB, free: 13.02 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007633/1.028, allocations: 252 kB / 1.066 GB, free: 12.77 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007596/1.029, allocations: 422.9 kB / 1.066 GB, free: 12.36 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01463/1.044, allocations: 7.077 MB / 1.073 GB, free: 5.273 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04861/1.092, allocations: 41.35 MB / 1.114 GB, free: 8.18 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00473/1.097, allocations: 3.104 MB / 1.117 GB, free: 5.07 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002911/1.1, allocations: 2.125 MB / 1.119 GB, free: 2.941 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001197/1.1, allocations: 22 kB / 1.119 GB, free: 2.918 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.494e-05/1.1, allocations: 56.56 kB / 1.119 GB, free: 2.855 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=209): time 3.967e-06/1.1, allocations: 7.938 kB / 1.119 GB, free: 2.848 MB / 0.8731 GB Notification: Performance of matching and sorting (n=212): time 0.02284/1.123, allocations: 10.45 MB / 1.129 GB, free: 8.301 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.699e-05/1.123, allocations: 81.36 kB / 1.129 GB, free: 8.207 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003054/1.126, allocations: 1.986 MB / 1.131 GB, free: 6.203 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 0.0002704/1.127, allocations: 65.7 kB / 1.131 GB, free: 6.133 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.001528/1.128, allocations: 2.4 MB / 1.133 GB, free: 3.699 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.000677/1.129, allocations: 0.7317 MB / 1.134 GB, free: 2.957 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001331/1.129, allocations: 52 kB / 1.134 GB, free: 2.906 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001903/1.129, allocations: 415.4 kB / 1.134 GB, free: 2.496 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001915/1.131, allocations: 1.36 MB / 1.136 GB, free: 1.133 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002306/1.133, allocations: 2.096 MB / 1.138 GB, free: 14.72 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002235/1.136, allocations: 1.724 MB / 1.14 GB, free: 13 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.084e-05/1.136, allocations: 8 kB / 1.14 GB, free: 12.99 MB / 0.9044 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.007559/1.143, allocations: 5.035 MB / 1.144 GB, free: 7.93 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 3.157e-05/1.143, allocations: 17.25 kB / 1.144 GB, free: 7.914 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.654e-05/1.143, allocations: 20 kB / 1.145 GB, free: 7.895 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003194/1.146, allocations: 1.574 MB / 1.146 GB, free: 6.312 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001525/1.148, allocations: 451.2 kB / 1.146 GB, free: 5.871 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02073/1.169, allocations: 17.06 MB / 1.163 GB, free: 4.273 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002235/1.171, allocations: 143.9 kB / 1.163 GB, free: 4.133 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002177/1.171, allocations: 112 kB / 1.163 GB, free: 4.023 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.003346/1.175, allocations: 1.943 MB / 1.165 GB, free: 2.07 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005632/1.175, allocations: 296.6 kB / 1.166 GB, free: 1.777 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006824/1.182, allocations: 4.428 MB / 1.17 GB, free: 13.32 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.776e-05/1.182, allocations: 20 kB / 1.17 GB, free: 13.3 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.003e-05/1.182, allocations: 20 kB / 1.17 GB, free: 13.28 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.764e-05/1.182, allocations: 7.969 kB / 1.17 GB, free: 13.27 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01471/1.197, allocations: 9.641 MB / 1.179 GB, free: 3.484 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.054e-05/1.197, allocations: 4 kB / 1.179 GB, free: 3.48 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009294/1.198, allocations: 236.2 kB / 1.18 GB, free: 3.25 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00305/1.201, allocations: 1.429 MB / 1.181 GB, free: 1.812 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001784/1.201, allocations: 40 kB / 1.181 GB, free: 1.773 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02022/1.221, allocations: 17.08 MB / 1.198 GB, free: 156 kB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.392e-06/1.221, allocations: 11.98 kB / 1.198 GB, free: 144 kB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006895/1.228, allocations: 4.521 MB / 1.202 GB, free: 11.53 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001535/1.23, allocations: 0.6265 MB / 1.203 GB, free: 10.88 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003434/1.23, allocations: 47.94 kB / 1.203 GB, free: 10.84 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001083/1.231, allocations: 115.9 kB / 1.203 GB, free: 10.72 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004908/1.232, allocations: 185.6 kB / 1.203 GB, free: 10.54 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001284/1.232, allocations: 60 kB / 1.203 GB, free: 10.48 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.001851/1.234, allocations: 1.292 MB / 1.204 GB, free: 9.18 MB / 0.9669 GB Notification: Performance of sort global known variables: time 2.71e-07/1.234, allocations: 0 / 1.204 GB, free: 9.18 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.003342/1.237, allocations: 1.145 MB / 1.206 GB, free: 8.035 MB / 0.9669 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.006477/1.244, allocations: 5.125 MB / 1.211 GB, free: 2.816 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.006816/1.25, allocations: 4.68 MB / 1.215 GB, free: 14.09 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 7.424e-06/1.25, allocations: 0 / 1.215 GB, free: 14.09 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.004298/1.255, allocations: 2.914 MB / 1.218 GB, free: 11.12 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00375/1.258, allocations: 0.8407 MB / 1.219 GB, free: 10.28 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04416/1.303, allocations: 26.19 MB / 1.244 GB, free: 14.44 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004364/1.307, allocations: 3.69 MB / 1.248 GB, free: 10.71 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.002341/1.309, allocations: 0.5556 MB / 1.248 GB, free: 10.15 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002266/1.312, allocations: 1.956 MB / 1.25 GB, free: 8.199 MB / 1.014 GB Notification: Performance of SimCode: time 1.132e-06/1.312, allocations: 0 / 1.25 GB, free: 8.199 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7017/2.013, allocations: 82.32 MB / 1.331 GB, free: 227.1 MB / 1.014 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000131/2.014, allocations: 230.4 kB / 1.331 GB, free: 226.9 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.668/5.682, allocations: 3.75 kB / 1.331 GB, free: 226.9 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