Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_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 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_RL,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_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.0009984/0.0009983, allocations: 84.38 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.001133/0.001133, 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.424/1.424, allocations: 223.3 MB / 240 MB, free: 5.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.506/2.506, allocations: 409.4 MB / 0.684 GB, free: 0.9453 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00035/0.0003501, allocations: 8 kB / 0.8378 GB, free: 6.484 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8/0.8003, allocations: 146.8 MB / 0.9812 GB, free: 6.23 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL): time 0.02649/0.8269, allocations: 24.27 MB / 1.005 GB, free: 13.89 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.01394/0.8409, allocations: 7.683 MB / 1.012 GB, free: 6.195 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002919/0.8439, allocations: 95.44 kB / 1.012 GB, free: 6.102 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.002241/0.8461, allocations: 0.5154 MB / 1.013 GB, free: 5.582 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.004434/0.8506, allocations: 1.282 MB / 1.014 GB, free: 4.293 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.003368/0.854, allocations: 0.9953 MB / 1.015 GB, free: 3.301 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.008578/0.8626, allocations: 6.876 MB / 1.022 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01319/0.8758, allocations: 8.171 MB / 1.03 GB, free: 4.172 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004066/0.8799, allocations: 1.883 MB / 1.032 GB, free: 2.281 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004758/0.8847, allocations: 2.398 MB / 1.034 GB, free: 15.88 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.0009825/0.8857, allocations: 212 kB / 1.034 GB, free: 15.67 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002325/0.888, allocations: 0.597 MB / 1.035 GB, free: 15.07 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.002079/0.8901, allocations: 1.66 MB / 1.036 GB, free: 13.41 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.001704/0.8918, allocations: 0.7966 MB / 1.037 GB, free: 12.6 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.009568/0.9014, allocations: 6.622 MB / 1.044 GB, free: 5.965 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 8.105e-06/0.9015, allocations: 4 kB / 1.044 GB, free: 5.961 MB / 0.795 GB Notification: Performance of FrontEnd: time 3.577e-06/0.9015, allocations: 4 kB / 1.044 GB, free: 5.957 MB / 0.795 GB Notification: Performance of Transformations before backend: time 0.0002817/0.9018, allocations: 0 / 1.044 GB, free: 5.957 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: 976 * Number of variables: 976 Notification: Performance of Generate backend data structure: time 0.008549/0.9103, allocations: 3.46 MB / 1.047 GB, free: 2.434 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.796e-05/0.9104, allocations: 12.03 kB / 1.047 GB, free: 2.422 MB / 0.795 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00155/0.9119, allocations: 0.5419 MB / 1.048 GB, free: 1.871 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004511/0.9165, allocations: 0.7952 MB / 1.048 GB, free: 1.07 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005065/0.9216, allocations: 2.374 MB / 1.051 GB, free: 14.64 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002571/0.9219, allocations: 275.2 kB / 1.051 GB, free: 14.37 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001021/0.9229, allocations: 371.9 kB / 1.051 GB, free: 14.01 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01091/0.9338, allocations: 5.961 MB / 1.057 GB, free: 7.793 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001057/0.9339, allocations: 23.78 kB / 1.057 GB, free: 7.77 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003871/0.9343, allocations: 160 kB / 1.057 GB, free: 7.613 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005475/0.9349, allocations: 294.8 kB / 1.058 GB, free: 7.324 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008748/0.9437, allocations: 4.492 MB / 1.062 GB, free: 2.824 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03768/0.9814, allocations: 27.68 MB / 1.089 GB, free: 4.641 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001791/0.9832, allocations: 1.109 MB / 1.09 GB, free: 3.523 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001421/0.9846, allocations: 1.031 MB / 1.091 GB, free: 2.492 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 9.558e-05/0.9848, allocations: 13 kB / 1.091 GB, free: 2.48 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.031e-05/0.9848, allocations: 43.56 kB / 1.091 GB, free: 2.426 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=110): time 3.306e-06/0.9848, allocations: 0 / 1.091 GB, free: 2.426 MB / 0.8419 GB Notification: Performance of matching and sorting (n=131): time 0.02043/1.005, allocations: 9.674 MB / 1.101 GB, free: 8.539 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.577e-05/1.005, allocations: 68.72 kB / 1.101 GB, free: 8.461 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002306/1.008, allocations: 1.474 MB / 1.102 GB, free: 6.988 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 0.0001117/1.008, allocations: 53.7 kB / 1.102 GB, free: 6.93 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.001079/1.009, allocations: 1.674 MB / 1.104 GB, free: 5.23 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003867/1.009, allocations: 469.3 kB / 1.104 GB, free: 4.766 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001057/1.009, allocations: 36 kB / 1.104 GB, free: 4.73 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001812/1.01, allocations: 373.9 kB / 1.105 GB, free: 4.359 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001379/1.011, allocations: 0.9096 MB / 1.106 GB, free: 3.449 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001702/1.013, allocations: 1.459 MB / 1.107 GB, free: 1.746 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001629/1.014, allocations: 1.142 MB / 1.108 GB, free: 0.6094 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.625e-05/1.014, allocations: 8 kB / 1.108 GB, free: 0.6016 MB / 0.8575 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.005485/1.02, allocations: 3.267 MB / 1.111 GB, free: 13.3 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 3.599e-05/1.02, allocations: 19.98 kB / 1.111 GB, free: 13.28 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.119e-05/1.02, allocations: 16 kB / 1.111 GB, free: 13.26 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002142/1.022, allocations: 0.7452 MB / 1.112 GB, free: 12.49 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0015/1.024, allocations: 379.4 kB / 1.112 GB, free: 12.12 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01574/1.039, allocations: 15.76 MB / 1.128 GB, free: 11.14 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002049/1.041, allocations: 99.91 kB / 1.128 GB, free: 11.05 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000317/1.042, allocations: 76 kB / 1.128 GB, free: 10.97 MB / 0.8887 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 (193): * Single equations (assignments): 184 * 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: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 9 {(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%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003038/1.045, allocations: 1.317 MB / 1.129 GB, free: 9.645 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005359/1.045, allocations: 197.7 kB / 1.129 GB, free: 9.449 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005321/1.051, allocations: 2.777 MB / 1.132 GB, free: 6.629 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.612e-05/1.051, allocations: 12 kB / 1.132 GB, free: 6.617 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.703e-05/1.051, allocations: 8 kB / 1.132 GB, free: 6.609 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.268e-05/1.051, allocations: 7.969 kB / 1.132 GB, free: 6.602 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01137/1.062, allocations: 6.217 MB / 1.138 GB, free: 228 kB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-05/1.062, allocations: 4 kB / 1.138 GB, free: 224 kB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001132/1.063, allocations: 227.7 kB / 1.138 GB, free: 15.99 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00191/1.065, allocations: 0.6714 MB / 1.139 GB, free: 15.3 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001175/1.065, allocations: 31.98 kB / 1.139 GB, free: 15.27 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01419/1.08, allocations: 15.48 MB / 1.154 GB, free: 14.58 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.887e-06/1.08, allocations: 12 kB / 1.154 GB, free: 14.57 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006546/1.086, allocations: 3.997 MB / 1.158 GB, free: 10.46 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001145/1.087, allocations: 462.5 kB / 1.159 GB, free: 9.992 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005161/1.088, allocations: 36 kB / 1.159 GB, free: 9.957 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0011/1.089, allocations: 79.89 kB / 1.159 GB, free: 9.879 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000302/1.089, allocations: 116.9 kB / 1.159 GB, free: 9.766 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.101e-05/1.089, allocations: 40 kB / 1.159 GB, free: 9.727 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.001537/1.091, allocations: 0.9786 MB / 1.16 GB, free: 8.758 MB / 0.92 GB Notification: Performance of sort global known variables: time 2.5e-07/1.091, allocations: 0 / 1.16 GB, free: 8.758 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.00283/1.094, allocations: 0.6836 MB / 1.161 GB, free: 8.074 MB / 0.92 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * Number of states: 6 (RL_3.phase1.i_p[1],RL_3.phase1.i_p[2],RL_3.phase2.i_p[1],RL_3.phase2.i_p[2],RL_3.phase3.i_p[1],RL_3.phase3.i_p[2]) * 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 (101): * Single equations (assignments): 92 * 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: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 9 {(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.006633/1.101, allocations: 4.596 MB / 1.165 GB, free: 3.355 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.005396/1.106, allocations: 3.492 MB / 1.168 GB, free: 15.75 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 8.516e-06/1.106, allocations: 12.25 kB / 1.168 GB, free: 15.73 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.003137/1.109, allocations: 2.275 MB / 1.171 GB, free: 13.34 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003382/1.113, allocations: 0.615 MB / 1.171 GB, free: 12.73 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03265/1.145, allocations: 17.76 MB / 1.189 GB, free: 9.887 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004098/1.149, allocations: 2.668 MB / 1.191 GB, free: 7.188 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.002014/1.151, allocations: 489.4 kB / 1.192 GB, free: 6.707 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001914/1.153, allocations: 1.288 MB / 1.193 GB, free: 5.418 MB / 0.9512 GB Notification: Performance of SimCode: time 8.82e-07/1.153, allocations: 0 / 1.193 GB, free: 5.418 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6606/1.814, allocations: 54.65 MB / 1.246 GB, free: 231.2 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001546/1.814, allocations: 234.5 kB / 1.247 GB, free: 230.9 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.214/5.029, allocations: 0 / 1.247 GB, free: 230.9 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.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_RL_res.mat does not exist to compare? outputFormat=mat