Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_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 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_RL,fileNamePrefix="Buildings_9_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_9_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.001181/0.001181, 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.001322/0.001322, 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.36/1.36, allocations: 223.3 MB / 240 MB, free: 5.434 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.52/2.52, allocations: 390.4 MB / 0.6655 GB, free: 2.996 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003544/0.0003547, allocations: 8 kB / 0.8149 GB, free: 14.15 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9258/0.9262, allocations: 142.3 MB / 0.9539 GB, free: 8.055 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL): time 0.02853/0.9548, allocations: 24.26 MB / 0.9776 GB, free: 5.598 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.01587/0.9707, allocations: 7.69 MB / 0.9851 GB, free: 15.46 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003403/0.9742, allocations: 100.8 kB / 0.9852 GB, free: 15.42 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.002/0.9762, allocations: 0.511 MB / 0.9857 GB, free: 14.98 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.005323/0.9815, allocations: 1.28 MB / 0.9869 GB, free: 13.95 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.004461/0.986, allocations: 0.9867 MB / 0.9879 GB, free: 13.2 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.01292/0.9989, allocations: 6.874 MB / 0.9946 GB, free: 6.348 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01662/1.016, allocations: 8.179 MB / 1.003 GB, free: 14.11 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004776/1.02, allocations: 1.887 MB / 1.004 GB, free: 12.22 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005298/1.026, allocations: 2.394 MB / 1.007 GB, free: 9.816 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 0.001413/1.027, allocations: 212 kB / 1.007 GB, free: 9.609 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00343/1.031, allocations: 0.597 MB / 1.008 GB, free: 9.012 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.00341/1.034, allocations: 1.66 MB / 1.009 GB, free: 7.348 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.002451/1.037, allocations: 0.8043 MB / 1.01 GB, free: 6.535 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.00992/1.047, allocations: 6.625 MB / 1.016 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 8.346e-06/1.047, allocations: 0 / 1.016 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.986e-06/1.047, allocations: 3.938 kB / 1.016 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 0.0003329/1.047, allocations: 0 / 1.016 GB, free: 15.89 MB / 0.7794 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.01118/1.058, allocations: 3.46 MB / 1.02 GB, free: 12.37 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 6.615e-05/1.058, allocations: 12.03 kB / 1.02 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002713/1.061, allocations: 0.538 MB / 1.02 GB, free: 11.81 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00555/1.066, allocations: 0.7952 MB / 1.021 GB, free: 11.01 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006647/1.073, allocations: 2.374 MB / 1.023 GB, free: 8.578 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003315/1.074, allocations: 275.3 kB / 1.024 GB, free: 8.309 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001783/1.075, allocations: 371.9 kB / 1.024 GB, free: 7.945 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01641/1.092, allocations: 5.961 MB / 1.03 GB, free: 1.73 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002512/1.092, allocations: 19.78 kB / 1.03 GB, free: 1.711 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001476/1.094, allocations: 160 kB / 1.03 GB, free: 1.555 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006923/1.094, allocations: 286.8 kB / 1.03 GB, free: 1.273 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.011/1.105, allocations: 4.5 MB / 1.035 GB, free: 12.76 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04038/1.146, allocations: 27.68 MB / 1.062 GB, free: 14.58 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00207/1.148, allocations: 1.116 MB / 1.063 GB, free: 13.45 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001629/1.15, allocations: 1.023 MB / 1.064 GB, free: 12.43 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001128/1.15, allocations: 13 kB / 1.064 GB, free: 12.41 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.96e-05/1.15, allocations: 43.56 kB / 1.064 GB, free: 12.36 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=110): time 3.447e-06/1.15, allocations: 0 / 1.064 GB, free: 12.36 MB / 0.8262 GB Notification: Performance of matching and sorting (n=131): time 0.02297/1.173, allocations: 9.667 MB / 1.073 GB, free: 2.48 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.478e-05/1.173, allocations: 68.72 kB / 1.073 GB, free: 2.402 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002731/1.176, allocations: 1.478 MB / 1.075 GB, free: 0.9258 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 0.0002247/1.176, allocations: 53.7 kB / 1.075 GB, free: 0.8672 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.001318/1.177, allocations: 1.671 MB / 1.077 GB, free: 15.17 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006127/1.178, allocations: 465.4 kB / 1.077 GB, free: 14.71 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001519/1.178, allocations: 36 kB / 1.077 GB, free: 14.68 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001916/1.178, allocations: 373.9 kB / 1.077 GB, free: 14.3 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001562/1.18, allocations: 0.9096 MB / 1.078 GB, free: 13.39 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002097/1.182, allocations: 1.459 MB / 1.08 GB, free: 11.69 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002023/1.184, allocations: 1.142 MB / 1.081 GB, free: 10.55 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.267e-05/1.184, allocations: 4 kB / 1.081 GB, free: 10.55 MB / 0.8419 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.006363/1.19, allocations: 3.27 MB / 1.084 GB, free: 7.238 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 4.685e-05/1.19, allocations: 15.95 kB / 1.084 GB, free: 7.223 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.257e-05/1.19, allocations: 16 kB / 1.084 GB, free: 7.207 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00226/1.193, allocations: 0.7376 MB / 1.085 GB, free: 6.441 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001765/1.194, allocations: 383.4 kB / 1.085 GB, free: 6.066 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01591/1.21, allocations: 15.77 MB / 1.1 GB, free: 5.086 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001808/1.212, allocations: 96.09 kB / 1.101 GB, free: 4.992 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003351/1.213, allocations: 80 kB / 1.101 GB, free: 4.914 MB / 0.8575 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.002919/1.215, allocations: 1.319 MB / 1.102 GB, free: 3.586 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005792/1.216, allocations: 197.7 kB / 1.102 GB, free: 3.391 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005091/1.221, allocations: 2.784 MB / 1.105 GB, free: 0.5664 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.422e-05/1.221, allocations: 12 kB / 1.105 GB, free: 0.5547 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.325e-05/1.221, allocations: 8 kB / 1.105 GB, free: 0.5469 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.394e-05/1.221, allocations: 8.109 kB / 1.105 GB, free: 0.5391 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01102/1.232, allocations: 6.213 MB / 1.111 GB, free: 10.16 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.909e-06/1.232, allocations: 4 kB / 1.111 GB, free: 10.16 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001115/1.233, allocations: 235.6 kB / 1.111 GB, free: 9.93 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00189/1.235, allocations: 0.6675 MB / 1.112 GB, free: 9.234 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001279/1.235, allocations: 28 kB / 1.112 GB, free: 9.207 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01343/1.249, allocations: 15.5 MB / 1.127 GB, free: 8.508 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.372e-06/1.249, allocations: 8 kB / 1.127 GB, free: 8.5 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006269/1.255, allocations: 3.989 MB / 1.131 GB, free: 4.402 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001027/1.256, allocations: 466.5 kB / 1.131 GB, free: 3.926 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002373/1.257, allocations: 35.98 kB / 1.131 GB, free: 3.891 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008329/1.257, allocations: 79.89 kB / 1.131 GB, free: 3.812 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002923/1.258, allocations: 112.9 kB / 1.132 GB, free: 3.703 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.833e-05/1.258, allocations: 44 kB / 1.132 GB, free: 3.66 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.001316/1.259, allocations: 0.9786 MB / 1.133 GB, free: 2.691 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.51e-07/1.259, allocations: 3.938 kB / 1.133 GB, free: 2.688 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.002302/1.261, allocations: 0.6875 MB / 1.133 GB, free: 2 MB / 0.8887 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.006098/1.268, allocations: 4.599 MB / 1.138 GB, free: 13.28 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.00514/1.273, allocations: 3.492 MB / 1.141 GB, free: 9.668 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 8.726e-06/1.273, allocations: 0 / 1.141 GB, free: 9.668 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.003294/1.276, allocations: 2.287 MB / 1.143 GB, free: 7.262 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003154/1.279, allocations: 0.6145 MB / 1.144 GB, free: 6.652 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03011/1.309, allocations: 17.76 MB / 1.161 GB, free: 3.812 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002771/1.312, allocations: 2.675 MB / 1.164 GB, free: 1.105 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.001965/1.314, allocations: 489.3 kB / 1.164 GB, free: 0.625 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001749/1.316, allocations: 1.292 MB / 1.166 GB, free: 15.33 MB / 0.9356 GB Notification: Performance of SimCode: time 1.944e-06/1.316, allocations: 0 / 1.166 GB, free: 15.33 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.093/1.409, allocations: 54.66 MB / 1.219 GB, free: 9.402 MB / 0.9825 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001813/1.409, allocations: 223.6 kB / 1.219 GB, free: 9.168 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.824/4.233, allocations: 2.031 kB / 1.219 GB, free: 9.168 MB / 0.9825 GB (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL.fmu > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_res.mat does not exist to compare? outputFormat=mat