Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.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,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine",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.0009356/0.0009355, allocations: 91.84 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.001126/0.001126, 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.484/1.484, allocations: 223.2 MB / 240 MB, free: 5.328 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.439/2.439, allocations: 390.4 MB / 0.6655 GB, free: 2.965 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003533/0.0003533, allocations: 8 kB / 0.8149 GB, free: 14.15 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6728/0.6732, allocations: 142.3 MB / 0.9539 GB, free: 8.07 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine): time 0.02985/0.7031, allocations: 27.99 MB / 0.9812 GB, free: 2.742 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.02076/0.7239, allocations: 12.77 MB / 0.9937 GB, free: 7.316 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004539/0.7285, allocations: 127.2 kB / 0.9938 GB, free: 7.191 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.002945/0.7314, allocations: 0.6317 MB / 0.9944 GB, free: 6.555 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.008569/0.74, allocations: 2.203 MB / 0.9966 GB, free: 4.34 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.006977/0.747, allocations: 1.2 MB / 0.9977 GB, free: 3.141 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.01212/0.7592, allocations: 8.401 MB / 1.006 GB, free: 10.71 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01567/0.7749, allocations: 8.512 MB / 1.014 GB, free: 2.129 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006228/0.7812, allocations: 2.576 MB / 1.017 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005694/0.7869, allocations: 2.845 MB / 1.02 GB, free: 12.69 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.001363/0.7883, allocations: 244 kB / 1.02 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003124/0.7914, allocations: 0.6984 MB / 1.02 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.003199/0.7946, allocations: 1.917 MB / 1.022 GB, free: 9.828 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.002197/0.7968, allocations: 0.968 MB / 1.023 GB, free: 8.852 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.01072/0.8076, allocations: 7.733 MB / 1.031 GB, free: 1.098 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 8.316e-06/0.8076, allocations: 3.938 kB / 1.031 GB, free: 1.094 MB / 0.7794 GB Notification: Performance of FrontEnd: time 4.719e-06/0.8076, allocations: 4 kB / 1.031 GB, free: 1.09 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 0.0003898/0.808, allocations: 0 / 1.031 GB, free: 1.09 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: 1133 * Number of variables: 1133 Notification: Performance of Generate backend data structure: time 0.01278/0.8208, allocations: 4.2 MB / 1.035 GB, free: 12.81 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 5.202e-05/0.8209, allocations: 12.03 kB / 1.035 GB, free: 12.8 MB / 0.795 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002527/0.8234, allocations: 0.6162 MB / 1.036 GB, free: 12.17 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006709/0.8302, allocations: 1.009 MB / 1.037 GB, free: 11.16 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007522/0.8377, allocations: 2.814 MB / 1.039 GB, free: 8.262 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004237/0.8382, allocations: 312.5 kB / 1.04 GB, free: 7.953 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002026/0.8402, allocations: 423.9 kB / 1.04 GB, free: 7.539 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0188/0.859, allocations: 6.745 MB / 1.047 GB, free: 0.5 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002476/0.8593, allocations: 27.77 kB / 1.047 GB, free: 484 kB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001378/0.8607, allocations: 184 kB / 1.047 GB, free: 300 kB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009368/0.8617, allocations: 372.1 kB / 1.047 GB, free: 15.92 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01235/0.8741, allocations: 5.091 MB / 1.052 GB, free: 10.82 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0485/0.9226, allocations: 30.78 MB / 1.082 GB, free: 9.27 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002631/0.9253, allocations: 1.375 MB / 1.084 GB, free: 7.887 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002111/0.9274, allocations: 1.335 MB / 1.085 GB, free: 6.551 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001129/0.9275, allocations: 13.31 kB / 1.085 GB, free: 6.539 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.185e-05/0.9276, allocations: 47.88 kB / 1.085 GB, free: 6.48 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=130): time 3.176e-06/0.9276, allocations: 0 / 1.085 GB, free: 6.48 MB / 0.8419 GB Notification: Performance of matching and sorting (n=199): time 0.08183/1.009, allocations: 22.79 MB / 1.107 GB, free: 15.57 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.678e-05/1.01, allocations: 73.41 kB / 1.107 GB, free: 15.49 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004651/1.014, allocations: 2.035 MB / 1.109 GB, free: 13.44 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0005137/1.015, allocations: 61.7 kB / 1.109 GB, free: 13.37 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.001972/1.017, allocations: 2.014 MB / 1.111 GB, free: 11.33 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.001044/1.018, allocations: 0.6777 MB / 1.112 GB, free: 10.64 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003012/1.018, allocations: 44 kB / 1.112 GB, free: 10.6 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0002438/1.018, allocations: 394.6 kB / 1.112 GB, free: 10.21 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002598/1.021, allocations: 1.43 MB / 1.114 GB, free: 8.777 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002976/1.024, allocations: 1.998 MB / 1.116 GB, free: 6.527 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002825/1.027, allocations: 1.732 MB / 1.117 GB, free: 4.797 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.618e-05/1.027, allocations: 4 kB / 1.117 GB, free: 4.793 MB / 0.8731 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.01229/1.039, allocations: 5.63 MB / 1.123 GB, free: 15.09 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 4.43e-05/1.039, allocations: 12 kB / 1.123 GB, free: 15.08 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.372e-05/1.039, allocations: 20 kB / 1.123 GB, free: 15.06 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006747/1.046, allocations: 2.084 MB / 1.125 GB, free: 12.92 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001851/1.048, allocations: 371.4 kB / 1.125 GB, free: 12.56 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04179/1.09, allocations: 35.5 MB / 1.16 GB, free: 6.652 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0027/1.093, allocations: 131.9 kB / 1.16 GB, free: 6.523 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005017/1.093, allocations: 88 kB / 1.16 GB, free: 6.438 MB / 0.92 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 (204): * Single equations (assignments): 186 * 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: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 18 {(3,100.0%) 5,(3,100.0%) 5,(3,100.0%) 5,(3,100.0%) 5,(3,100.0%) 5,(3,100.0%) 5,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(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.004067/1.097, allocations: 1.516 MB / 1.162 GB, free: 4.91 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001197/1.098, allocations: 280.7 kB / 1.162 GB, free: 4.633 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0116/1.11, allocations: 5.193 MB / 1.167 GB, free: 15.36 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.448e-05/1.11, allocations: 27.78 kB / 1.167 GB, free: 15.34 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.929e-05/1.11, allocations: 16 kB / 1.167 GB, free: 15.32 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.469e-05/1.11, allocations: 7.969 kB / 1.167 GB, free: 15.31 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02082/1.131, allocations: 9.658 MB / 1.176 GB, free: 5.449 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.256e-05/1.131, allocations: 4 kB / 1.176 GB, free: 5.445 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001003/1.132, allocations: 223.7 kB / 1.177 GB, free: 5.227 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005862/1.138, allocations: 1.838 MB / 1.178 GB, free: 3.332 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003846/1.138, allocations: 36 kB / 1.178 GB, free: 3.297 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03768/1.176, allocations: 34.5 MB / 1.212 GB, free: 14.38 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.447e-06/1.176, allocations: 16 kB / 1.212 GB, free: 14.37 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01016/1.186, allocations: 4.893 MB / 1.217 GB, free: 9.312 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001949/1.188, allocations: 0.6147 MB / 1.218 GB, free: 8.676 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008557/1.189, allocations: 47.98 kB / 1.218 GB, free: 8.629 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001821/1.191, allocations: 131.8 kB / 1.218 GB, free: 8.5 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006232/1.192, allocations: 185.6 kB / 1.218 GB, free: 8.32 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001794/1.192, allocations: 59.98 kB / 1.218 GB, free: 8.262 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.002732/1.195, allocations: 1.355 MB / 1.219 GB, free: 6.898 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.5e-07/1.195, allocations: 0 / 1.219 GB, free: 6.898 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.004338/1.199, allocations: 1.051 MB / 1.22 GB, free: 5.848 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (112): * Single equations (assignments): 94 * 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: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 18 {(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 4,(3,100.0%) 5,(3,100.0%) 5,(3,100.0%) 5,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 4,(3,100.0%) 5,(3,100.0%) 5,(3,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.009458/1.208, allocations: 5.508 MB / 1.226 GB, free: 172 kB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.01043/1.219, allocations: 6.252 MB / 1.232 GB, free: 9.68 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.202e-05/1.219, allocations: 7.938 kB / 1.232 GB, free: 9.672 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.006764/1.226, allocations: 4.391 MB / 1.236 GB, free: 5.055 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004683/1.23, allocations: 0.9251 MB / 1.237 GB, free: 4.137 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5621/1.793, allocations: 25.36 MB / 1.262 GB, free: 269.1 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004748/1.797, allocations: 3.124 MB / 1.265 GB, free: 268.3 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.002725/1.8, allocations: 0.519 MB / 1.265 GB, free: 268.3 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001949/1.802, allocations: 1.676 MB / 1.267 GB, free: 268.3 MB / 1.014 GB Notification: Performance of SimCode: time 1.423e-06/1.802, allocations: 1.781 kB / 1.267 GB, free: 268.3 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1327/1.935, allocations: 85.66 MB / 1.351 GB, free: 207 MB / 1.014 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002323/1.935, allocations: 221.9 kB / 1.351 GB, free: 206.7 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.949/5.884, allocations: 1.375 kB / 1.351 GB, free: 206.7 MB / 1.014 GB (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine.fmu > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_res.mat does not exist to compare? outputFormat=mat