Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_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 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_L,fileNamePrefix="Buildings_9_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_9_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.0009449/0.0009448, 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.001116/0.001115, 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.435/1.435, allocations: 223.2 MB / 240 MB, free: 5.426 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.455/2.455, allocations: 390.4 MB / 0.6655 GB, free: 2.898 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003296/0.0003299, allocations: 8 kB / 0.8149 GB, free: 14.08 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.825/0.8253, allocations: 142.3 MB / 0.9539 GB, free: 8.094 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L): time 0.0334/0.8588, allocations: 29.72 MB / 0.9829 GB, free: 1.57 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.01836/0.8772, allocations: 9.751 MB / 0.9924 GB, free: 8.578 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004145/0.8814, allocations: 123.3 kB / 0.9925 GB, free: 8.457 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.004048/0.8855, allocations: 0.62 MB / 0.9931 GB, free: 7.832 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.006173/0.8917, allocations: 1.466 MB / 0.9946 GB, free: 6.359 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.005181/0.8969, allocations: 1.257 MB / 0.9958 GB, free: 5.105 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.01245/0.9094, allocations: 8.274 MB / 1.004 GB, free: 12.81 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0172/0.9266, allocations: 10.33 MB / 1.014 GB, free: 2.402 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004715/0.9313, allocations: 2.268 MB / 1.016 GB, free: 128 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005457/0.9368, allocations: 2.896 MB / 1.019 GB, free: 13.22 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0008768/0.9377, allocations: 264 kB / 1.019 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00289/0.9406, allocations: 0.8427 MB / 1.02 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.002407/0.943, allocations: 2.038 MB / 1.022 GB, free: 10.07 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.001614/0.9447, allocations: 0.9525 MB / 1.023 GB, free: 9.113 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.009528/0.9542, allocations: 8.351 MB / 1.031 GB, free: 0.7422 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 8.606e-06/0.9543, allocations: 0 / 1.031 GB, free: 0.7422 MB / 0.7794 GB Notification: Performance of FrontEnd: time 3.567e-06/0.9543, allocations: 4 kB / 1.031 GB, free: 0.7383 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 0.0003234/0.9546, allocations: 0 / 1.031 GB, free: 0.7383 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: 1256 * Number of variables: 1256 Notification: Performance of Generate backend data structure: time 0.009901/0.9645, allocations: 4.066 MB / 1.035 GB, free: 12.6 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 5.112e-05/0.9646, allocations: 12.03 kB / 1.035 GB, free: 12.59 MB / 0.795 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001876/0.9665, allocations: 0.6818 MB / 1.036 GB, free: 11.9 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00544/0.9719, allocations: 0.9503 MB / 1.037 GB, free: 10.94 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005863/0.9778, allocations: 2.808 MB / 1.039 GB, free: 8.074 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002553/0.9781, allocations: 349.3 kB / 1.04 GB, free: 7.73 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009175/0.979, allocations: 459.9 kB / 1.04 GB, free: 7.281 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0146/0.9936, allocations: 7.628 MB / 1.048 GB, free: 15.3 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001314/0.9938, allocations: 35.61 kB / 1.048 GB, free: 15.27 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004602/0.9942, allocations: 207.9 kB / 1.048 GB, free: 15.06 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003345/0.9946, allocations: 309 kB / 1.048 GB, free: 14.76 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01053/1.005, allocations: 5.679 MB / 1.054 GB, free: 9.062 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0412/1.046, allocations: 35.12 MB / 1.088 GB, free: 2.738 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003045/1.049, allocations: 2.142 MB / 1.09 GB, free: 488 kB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001758/1.051, allocations: 1.266 MB / 1.091 GB, free: 15.21 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 8.612e-05/1.051, allocations: 29.23 kB / 1.091 GB, free: 15.18 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.938e-05/1.051, allocations: 47.83 kB / 1.091 GB, free: 15.13 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=133): time 3.647e-06/1.051, allocations: 0 / 1.091 GB, free: 15.13 MB / 0.8575 GB Notification: Performance of matching and sorting (n=136): time 0.01709/1.069, allocations: 7.085 MB / 1.098 GB, free: 7.773 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.519e-05/1.069, allocations: 68.72 kB / 1.098 GB, free: 7.695 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002393/1.071, allocations: 1.468 MB / 1.1 GB, free: 6.18 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 0.0001583/1.071, allocations: 45.7 kB / 1.1 GB, free: 6.129 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.001663/1.073, allocations: 2.011 MB / 1.102 GB, free: 4.09 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005139/1.073, allocations: 485.1 kB / 1.102 GB, free: 3.609 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.357e-05/1.074, allocations: 36 kB / 1.102 GB, free: 3.574 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0002129/1.074, allocations: 389.8 kB / 1.103 GB, free: 3.188 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001419/1.075, allocations: 0.9096 MB / 1.104 GB, free: 2.277 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001902/1.077, allocations: 1.581 MB / 1.105 GB, free: 392 kB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001833/1.079, allocations: 1.181 MB / 1.106 GB, free: 15.2 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.09e-05/1.079, allocations: 8 kB / 1.106 GB, free: 15.2 MB / 0.8731 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.006567/1.085, allocations: 3.507 MB / 1.11 GB, free: 11.64 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 3.418e-05/1.086, allocations: 12 kB / 1.11 GB, free: 11.63 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.067e-05/1.086, allocations: 24 kB / 1.11 GB, free: 11.61 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002381/1.088, allocations: 0.9044 MB / 1.111 GB, free: 10.66 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001188/1.089, allocations: 347.4 kB / 1.111 GB, free: 10.32 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02106/1.11, allocations: 21.19 MB / 1.132 GB, free: 3.531 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001571/1.112, allocations: 99.91 kB / 1.132 GB, free: 3.434 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001603/1.112, allocations: 91.95 kB / 1.132 GB, free: 3.344 MB / 0.8887 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.003138/1.115, allocations: 1.606 MB / 1.133 GB, free: 1.727 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004929/1.116, allocations: 205.6 kB / 1.134 GB, free: 1.523 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005407/1.121, allocations: 2.971 MB / 1.137 GB, free: 14.5 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.848e-05/1.121, allocations: 19.94 kB / 1.137 GB, free: 14.48 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.353e-05/1.121, allocations: 12.22 kB / 1.137 GB, free: 14.47 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.717e-05/1.121, allocations: 11.97 kB / 1.137 GB, free: 14.46 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01285/1.134, allocations: 7.325 MB / 1.144 GB, free: 6.906 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.174e-05/1.134, allocations: 4 kB / 1.144 GB, free: 6.902 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007686/1.135, allocations: 171.7 kB / 1.144 GB, free: 6.734 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002831/1.138, allocations: 0.822 MB / 1.145 GB, free: 5.875 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002107/1.138, allocations: 35.98 kB / 1.145 GB, free: 5.84 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02512/1.163, allocations: 20.29 MB / 1.165 GB, free: 15.95 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.51e-06/1.163, allocations: 7.938 kB / 1.165 GB, free: 15.94 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006243/1.169, allocations: 3.015 MB / 1.168 GB, free: 12.8 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001475/1.171, allocations: 458.5 kB / 1.168 GB, free: 12.34 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003831/1.171, allocations: 35.89 kB / 1.168 GB, free: 12.3 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001144/1.172, allocations: 75.91 kB / 1.168 GB, free: 12.23 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004657/1.173, allocations: 124.7 kB / 1.168 GB, free: 12.11 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001263/1.173, allocations: 40 kB / 1.168 GB, free: 12.07 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.002096/1.175, allocations: 0.9561 MB / 1.169 GB, free: 11.09 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2.11e-07/1.175, allocations: 4 kB / 1.169 GB, free: 11.08 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.004866/1.18, allocations: 0.7812 MB / 1.17 GB, free: 10.3 MB / 0.9356 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.008001/1.188, allocations: 3.608 MB / 1.173 GB, free: 6.57 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.00778/1.196, allocations: 4.011 MB / 1.177 GB, free: 2.406 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 9.318e-06/1.196, allocations: 0 / 1.177 GB, free: 2.406 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.00393/1.2, allocations: 2.733 MB / 1.18 GB, free: 15.52 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003084/1.203, allocations: 0.6673 MB / 1.181 GB, free: 14.85 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03641/1.239, allocations: 19.03 MB / 1.199 GB, free: 10.65 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00466/1.244, allocations: 3.109 MB / 1.202 GB, free: 7.508 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.001625/1.246, allocations: 450 kB / 1.203 GB, free: 7.066 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001976/1.248, allocations: 1.554 MB / 1.204 GB, free: 5.512 MB / 0.9669 GB Notification: Performance of SimCode: time 9.42e-07/1.248, allocations: 0 / 1.204 GB, free: 5.512 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6812/1.929, allocations: 59.03 MB / 1.262 GB, free: 261.4 MB / 1.014 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002205/1.929, allocations: 225.6 kB / 1.262 GB, free: 261.2 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.092/5.021, allocations: 3.25 kB / 1.262 GB, free: 261.2 MB / 1.014 GB (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L.fmu > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_res.mat does not exist to compare? outputFormat=mat