Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpYD.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.Conversion.Examples.TransformerStepUpYD,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_TransformerStepUpYD",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpYD,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_TransformerStepUpYD",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.001064/0.001063, allocations: 86.48 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.001241/0.001241, 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.383 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.497/2.497, allocations: 390.4 MB / 0.6655 GB, free: 2.855 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003636/0.0003637, allocations: 8 kB / 0.8149 GB, free: 14.09 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7856/0.786, allocations: 142.3 MB / 0.9539 GB, free: 8.086 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpYD): time 0.01541/0.8015, allocations: 14.85 MB / 0.9684 GB, free: 12.91 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.009243/0.8108, allocations: 5.551 MB / 0.9738 GB, free: 8.559 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001467/0.8122, allocations: 33.59 kB / 0.9738 GB, free: 8.555 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0008054/0.8131, allocations: 294.5 kB / 0.9741 GB, free: 8.309 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.002146/0.8152, allocations: 0.7856 MB / 0.9749 GB, free: 7.699 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.002061/0.8173, allocations: 0.5991 MB / 0.9755 GB, free: 7.266 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.006202/0.8235, allocations: 4.796 MB / 0.9801 GB, free: 4.5 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009028/0.8326, allocations: 5.821 MB / 0.9858 GB, free: 15.3 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002793/0.8354, allocations: 1.281 MB / 0.9871 GB, free: 14.01 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003014/0.8384, allocations: 1.858 MB / 0.9889 GB, free: 12.15 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0003816/0.8388, allocations: 188 kB / 0.9891 GB, free: 11.96 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001728/0.8405, allocations: 0.5931 MB / 0.9896 GB, free: 11.37 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.001413/0.842, allocations: 1.403 MB / 0.991 GB, free: 9.965 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0006703/0.8426, allocations: 0.5394 MB / 0.9915 GB, free: 9.418 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.004966/0.8476, allocations: 5.281 MB / 0.9967 GB, free: 4.125 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 5.601e-06/0.8476, allocations: 0 / 0.9967 GB, free: 4.125 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.894e-06/0.8477, allocations: 0 / 0.9967 GB, free: 4.125 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 0.0001316/0.8478, allocations: 4 kB / 0.9967 GB, free: 4.121 MB / 0.7481 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 769 * Number of variables: 769 Notification: Performance of Generate backend data structure: time 0.005048/0.8528, allocations: 2.408 MB / 0.9991 GB, free: 1.652 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.709e-05/0.8529, allocations: 12.03 kB / 0.9991 GB, free: 1.641 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006622/0.8536, allocations: 441.6 kB / 0.9995 GB, free: 1.199 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009583/0.8632, allocations: 2.013 MB / 1.001 GB, free: 15.18 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003296/0.8665, allocations: 1.568 MB / 1.003 GB, free: 13.57 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001717/0.8667, allocations: 213.8 kB / 1.003 GB, free: 13.36 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000718/0.8674, allocations: 287.9 kB / 1.003 GB, free: 13.07 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01332/0.8807, allocations: 5.661 MB / 1.009 GB, free: 7.312 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001326/0.8809, allocations: 7.938 kB / 1.009 GB, free: 7.305 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001077/0.882, allocations: 116 kB / 1.009 GB, free: 7.191 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003651/0.8824, allocations: 208.7 kB / 1.009 GB, free: 6.984 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01427/0.8967, allocations: 5.812 MB / 1.015 GB, free: 1.156 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02638/0.9231, allocations: 22.62 MB / 1.037 GB, free: 8.504 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005389/0.9285, allocations: 3.006 MB / 1.04 GB, free: 5.332 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004367/0.9329, allocations: 1.932 MB / 1.042 GB, free: 3.379 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002103/0.9331, allocations: 126 kB / 1.042 GB, free: 3.238 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.597e-05/0.9332, allocations: 47.56 kB / 1.042 GB, free: 3.18 MB / 0.795 GB Notification: Performance of pre-optimization done (n=132): time 3.046e-06/0.9332, allocations: 0 / 1.042 GB, free: 3.18 MB / 0.795 GB Notification: Performance of matching and sorting (n=174): time 0.03906/0.9723, allocations: 12.96 MB / 1.055 GB, free: 6.18 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001315/0.9724, allocations: 230.9 kB / 1.055 GB, free: 5.906 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001489/0.9739, allocations: 0.9452 MB / 1.056 GB, free: 4.953 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 0.0003425/0.9743, allocations: 57.7 kB / 1.056 GB, free: 4.891 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007263/0.975, allocations: 1.154 MB / 1.057 GB, free: 3.719 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007745/0.9758, allocations: 0.5931 MB / 1.058 GB, free: 3.117 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000259/0.9761, allocations: 48 kB / 1.058 GB, free: 3.07 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0002471/0.9763, allocations: 431.1 kB / 1.058 GB, free: 2.641 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004343/0.9807, allocations: 1.854 MB / 1.06 GB, free: 0.7812 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00482/0.9855, allocations: 2.448 MB / 1.062 GB, free: 14.07 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004815/0.9904, allocations: 2.168 MB / 1.064 GB, free: 11.91 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.126e-05/0.9904, allocations: 4 kB / 1.064 GB, free: 11.9 MB / 0.8262 GB Notification: Performance of matching and sorting (n=282) (initialization): time 0.01255/1.003, allocations: 5.38 MB / 1.07 GB, free: 6.504 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 0.000474/1.003, allocations: 0.6151 MB / 1.07 GB, free: 5.641 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.536e-05/1.004, allocations: 20 kB / 1.07 GB, free: 5.621 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00314/1.007, allocations: 1.239 MB / 1.071 GB, free: 4.375 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003195/1.01, allocations: 0.7215 MB / 1.072 GB, free: 3.652 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01417/1.024, allocations: 10.56 MB / 1.082 GB, free: 8.82 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002948/1.027, allocations: 463.1 kB / 1.083 GB, free: 8.367 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004241/1.028, allocations: 111.9 kB / 1.083 GB, free: 8.258 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.042e-05/1.028, allocations: 4 kB / 1.083 GB, free: 8.254 MB / 0.8419 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01171/1.039, allocations: 5.231 MB / 1.088 GB, free: 3.012 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.183e-05/1.039, allocations: 16 kB / 1.088 GB, free: 2.996 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002358/1.042, allocations: 0.958 MB / 1.089 GB, free: 2.031 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002998/1.045, allocations: 0.7292 MB / 1.09 GB, free: 1.301 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01415/1.059, allocations: 10.37 MB / 1.1 GB, free: 6.652 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002831/1.062, allocations: 447.2 kB / 1.1 GB, free: 6.215 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000443/1.062, allocations: 107.9 kB / 1.1 GB, free: 6.109 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 81 * 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 (212): * Single equations (assignments): 210 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(7,63.3%) 29,(6,83.3%) 30} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002273/1.065, allocations: 1.277 MB / 1.102 GB, free: 4.82 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004711/1.065, allocations: 126.5 kB / 1.102 GB, free: 4.695 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01141/1.076, allocations: 4.968 MB / 1.107 GB, free: 15.69 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.614e-05/1.076, allocations: 16 kB / 1.107 GB, free: 15.67 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.828e-05/1.077, allocations: 12 kB / 1.107 GB, free: 15.66 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.302e-05/1.077, allocations: 15.97 kB / 1.107 GB, free: 15.64 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01662/1.093, allocations: 8.943 MB / 1.115 GB, free: 6.504 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-05/1.093, allocations: 12.16 kB / 1.115 GB, free: 6.492 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002203/1.095, allocations: 0.5264 MB / 1.116 GB, free: 5.965 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002466/1.098, allocations: 0.9774 MB / 1.117 GB, free: 4.98 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001936/1.098, allocations: 51.95 kB / 1.117 GB, free: 4.93 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.013/1.111, allocations: 9.956 MB / 1.127 GB, free: 10.7 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-05/1.111, allocations: 19.83 kB / 1.127 GB, free: 10.68 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01018/1.121, allocations: 4.755 MB / 1.131 GB, free: 5.812 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001257/1.123, allocations: 0.515 MB / 1.132 GB, free: 5.277 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004947/1.123, allocations: 40 kB / 1.132 GB, free: 5.238 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003543/1.127, allocations: 395.3 kB / 1.132 GB, free: 4.852 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005492/1.127, allocations: 157 kB / 1.132 GB, free: 4.699 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002752/1.128, allocations: 67.95 kB / 1.133 GB, free: 4.633 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.001121/1.129, allocations: 0.6902 MB / 1.133 GB, free: 3.945 MB / 0.8887 GB Notification: Performance of sort global known variables: time 2.9e-07/1.129, allocations: 0 / 1.133 GB, free: 3.945 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.005908/1.135, allocations: 1.184 MB / 1.134 GB, free: 2.762 MB / 0.8887 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 32 * 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 (103): * Single equations (assignments): 101 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(4,100.0%) 32,(6,83.3%) 30} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01681/1.152, allocations: 5.359 MB / 1.14 GB, free: 13.28 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.02443/1.176, allocations: 8.004 MB / 1.147 GB, free: 5.23 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.21e-05/1.176, allocations: 4.125 kB / 1.147 GB, free: 5.227 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.008905/1.185, allocations: 2.633 MB / 1.15 GB, free: 2.562 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002829/1.188, allocations: 182 kB / 1.15 GB, free: 2.387 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06084/1.249, allocations: 18.21 MB / 1.168 GB, free: 15.6 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003521/1.252, allocations: 2.31 MB / 1.17 GB, free: 13.25 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.004463/1.257, allocations: 1.221 MB / 1.171 GB, free: 12.02 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001648/1.258, allocations: 0.8585 MB / 1.172 GB, free: 11.16 MB / 0.9356 GB Notification: Performance of SimCode: time 2.404e-06/1.259, allocations: 3.938 kB / 1.172 GB, free: 11.16 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08863/1.347, allocations: 51.6 MB / 1.223 GB, free: 7.934 MB / 0.9825 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000205/1.347, allocations: 241.8 kB / 1.223 GB, free: 7.629 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.879/4.226, allocations: 4.062 kB / 1.223 GB, free: 7.625 MB / 0.9825 GB (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpYD.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpYD.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpYD.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpYD.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpYD_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_TransformerStepUpYD_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_TransformerStepUpYD.fmu > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpYD.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpYD_res.mat does not exist to compare? outputFormat=mat