Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownYD.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.Conversion.Examples.TransformerStepDownYD,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_TransformerStepDownYD",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownYD,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_TransformerStepDownYD",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.0008431/0.0008428, 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.0008819/0.0008819, 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.442/1.442, allocations: 223.2 MB / 240 MB, free: 5.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.659/2.659, allocations: 409.4 MB / 0.684 GB, free: 0.9023 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0004165/0.0004166, allocations: 8 kB / 0.8378 GB, free: 6.473 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.744/0.7444, allocations: 146.8 MB / 0.9811 GB, free: 6.246 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownYD): time 0.01715/0.7617, allocations: 14.85 MB / 0.9956 GB, free: 7.355 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.008862/0.7706, allocations: 5.551 MB / 1.001 GB, free: 1.785 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001062/0.7717, allocations: 39.88 kB / 1.001 GB, free: 1.746 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.0007752/0.7725, allocations: 301.8 kB / 1.001 GB, free: 1.449 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.001827/0.7743, allocations: 0.7821 MB / 1.002 GB, free: 0.6641 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.001721/0.776, allocations: 0.5956 MB / 1.003 GB, free: 72 kB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.004784/0.7808, allocations: 4.786 MB / 1.007 GB, free: 11.27 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008766/0.7896, allocations: 5.829 MB / 1.013 GB, free: 5.387 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002411/0.7921, allocations: 1.277 MB / 1.014 GB, free: 4.105 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003276/0.7954, allocations: 1.854 MB / 1.016 GB, free: 2.246 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 0.0007921/0.7962, allocations: 184 kB / 1.016 GB, free: 2.066 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002116/0.7983, allocations: 0.6087 MB / 1.017 GB, free: 1.457 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.002529/0.8008, allocations: 1.392 MB / 1.018 GB, free: 64 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.001533/0.8024, allocations: 0.5434 MB / 1.019 GB, free: 15.51 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.005911/0.8083, allocations: 5.281 MB / 1.024 GB, free: 10.22 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 7.254e-06/0.8083, allocations: 0 / 1.024 GB, free: 10.22 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.585e-06/0.8084, allocations: 4 kB / 1.024 GB, free: 10.21 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 0.0001788/0.8085, allocations: 0 / 1.024 GB, free: 10.21 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: 769 * Number of variables: 769 Notification: Performance of Generate backend data structure: time 0.006373/0.8149, allocations: 2.4 MB / 1.026 GB, free: 7.754 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.984e-05/0.815, allocations: 8.031 kB / 1.026 GB, free: 7.746 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001709/0.8167, allocations: 453.5 kB / 1.027 GB, free: 7.293 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01037/0.8271, allocations: 2.006 MB / 1.029 GB, free: 5.281 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003693/0.8308, allocations: 1.576 MB / 1.03 GB, free: 3.664 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003104/0.8312, allocations: 213.8 kB / 1.03 GB, free: 3.453 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001465/0.8327, allocations: 280 kB / 1.031 GB, free: 3.18 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01507/0.8477, allocations: 5.673 MB / 1.036 GB, free: 13.41 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001112/0.8479, allocations: 0 / 1.036 GB, free: 13.41 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008593/0.8488, allocations: 116 kB / 1.036 GB, free: 13.3 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000366/0.8491, allocations: 204.7 kB / 1.037 GB, free: 13.09 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01441/0.8636, allocations: 5.806 MB / 1.042 GB, free: 7.27 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03301/0.8966, allocations: 22.62 MB / 1.064 GB, free: 14.61 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006102/0.9028, allocations: 3.012 MB / 1.067 GB, free: 11.43 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004834/0.9077, allocations: 1.936 MB / 1.069 GB, free: 9.48 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002761/0.908, allocations: 118.1 kB / 1.069 GB, free: 9.344 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.442e-05/0.9081, allocations: 55.48 kB / 1.069 GB, free: 9.281 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=132): time 4.087e-06/0.9081, allocations: 0 / 1.069 GB, free: 9.281 MB / 0.8262 GB Notification: Performance of matching and sorting (n=174): time 0.03972/0.9478, allocations: 12.96 MB / 1.082 GB, free: 12.27 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001552/0.948, allocations: 230.9 kB / 1.082 GB, free: 12 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001672/0.9497, allocations: 0.953 MB / 1.083 GB, free: 11.04 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 0.0003378/0.95, allocations: 53.7 kB / 1.083 GB, free: 10.98 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008981/0.951, allocations: 1.154 MB / 1.084 GB, free: 9.805 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008313/0.9518, allocations: 0.5892 MB / 1.085 GB, free: 9.207 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003262/0.9521, allocations: 48 kB / 1.085 GB, free: 9.16 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0002553/0.9524, allocations: 427.2 kB / 1.085 GB, free: 8.734 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00447/0.9569, allocations: 1.85 MB / 1.087 GB, free: 6.879 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0049/0.9618, allocations: 2.448 MB / 1.09 GB, free: 4.172 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00487/0.9667, allocations: 2.164 MB / 1.092 GB, free: 2.008 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.327e-05/0.9667, allocations: 11.94 kB / 1.092 GB, free: 1.996 MB / 0.8419 GB Notification: Performance of matching and sorting (n=282) (initialization): time 0.01271/0.9795, allocations: 5.38 MB / 1.097 GB, free: 12.6 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005044/0.98, allocations: 0.6188 MB / 1.098 GB, free: 11.73 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.557e-05/0.98, allocations: 16 kB / 1.098 GB, free: 11.71 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003142/0.9832, allocations: 1.235 MB / 1.099 GB, free: 10.47 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003097/0.9863, allocations: 0.737 MB / 1.099 GB, free: 9.734 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01579/1.002, allocations: 10.53 MB / 1.11 GB, free: 14.93 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003242/1.005, allocations: 463.1 kB / 1.11 GB, free: 14.48 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004609/1.006, allocations: 111.9 kB / 1.11 GB, free: 14.37 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.066e-05/1.006, allocations: 8 kB / 1.11 GB, free: 14.36 MB / 0.8731 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01173/1.018, allocations: 5.22 MB / 1.115 GB, free: 9.129 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.814e-05/1.018, allocations: 20 kB / 1.115 GB, free: 9.109 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002409/1.02, allocations: 0.9622 MB / 1.116 GB, free: 8.141 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003024/1.023, allocations: 0.7331 MB / 1.117 GB, free: 7.406 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01398/1.037, allocations: 10.38 MB / 1.127 GB, free: 12.76 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003038/1.04, allocations: 443.4 kB / 1.128 GB, free: 12.33 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000318/1.041, allocations: 108 kB / 1.128 GB, free: 12.22 MB / 0.8887 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.002384/1.043, allocations: 1.281 MB / 1.129 GB, free: 10.93 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004078/1.043, allocations: 122.6 kB / 1.129 GB, free: 10.81 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01128/1.055, allocations: 4.964 MB / 1.134 GB, free: 5.805 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.797e-05/1.055, allocations: 16 kB / 1.134 GB, free: 5.789 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.849e-05/1.055, allocations: 16 kB / 1.134 GB, free: 5.773 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.156e-05/1.055, allocations: 11.97 kB / 1.134 GB, free: 5.762 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01732/1.072, allocations: 8.943 MB / 1.143 GB, free: 12.62 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.806e-05/1.072, allocations: 8 kB / 1.143 GB, free: 12.62 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002169/1.074, allocations: 0.527 MB / 1.143 GB, free: 12.09 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002551/1.077, allocations: 0.9736 MB / 1.144 GB, free: 11.11 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001826/1.077, allocations: 55.95 kB / 1.144 GB, free: 11.05 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0139/1.091, allocations: 9.979 MB / 1.154 GB, free: 0.8008 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.827e-06/1.091, allocations: 16.03 kB / 1.154 GB, free: 0.7852 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01033/1.101, allocations: 4.751 MB / 1.159 GB, free: 11.91 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001019/1.102, allocations: 0.5189 MB / 1.159 GB, free: 11.38 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002399/1.103, allocations: 39.94 kB / 1.159 GB, free: 11.34 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002333/1.105, allocations: 399.3 kB / 1.16 GB, free: 10.95 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003673/1.105, allocations: 156.9 kB / 1.16 GB, free: 10.79 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001462/1.106, allocations: 67.95 kB / 1.16 GB, free: 10.73 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.00105/1.107, allocations: 0.6903 MB / 1.16 GB, free: 10.04 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.4e-07/1.107, allocations: 0 / 1.16 GB, free: 10.04 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.003964/1.111, allocations: 1.184 MB / 1.162 GB, free: 8.855 MB / 0.92 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,(8,53.1%) 28} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01037/1.121, allocations: 5.352 MB / 1.167 GB, free: 3.379 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.01806/1.139, allocations: 8.004 MB / 1.175 GB, free: 11.33 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.213e-05/1.139, allocations: 4.062 kB / 1.175 GB, free: 11.33 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.00615/1.145, allocations: 2.656 MB / 1.177 GB, free: 8.641 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001635/1.147, allocations: 190.4 kB / 1.177 GB, free: 8.457 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04152/1.188, allocations: 18.22 MB / 1.195 GB, free: 5.668 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002539/1.191, allocations: 2.306 MB / 1.198 GB, free: 3.32 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.003854/1.195, allocations: 1.221 MB / 1.199 GB, free: 2.094 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001409/1.196, allocations: 0.8585 MB / 1.2 GB, free: 1.234 MB / 0.9512 GB Notification: Performance of SimCode: time 1.423e-06/1.196, allocations: 0 / 1.2 GB, free: 1.234 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6959/1.892, allocations: 51.61 MB / 1.25 GB, free: 239.2 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000172/1.893, allocations: 253.4 kB / 1.25 GB, free: 238.9 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.841/4.733, allocations: 1.875 kB / 1.25 GB, free: 238.9 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownYD.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownYD.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownYD.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownYD.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownYD_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_TransformerStepDownYD_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_TransformerStepDownYD.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownYD.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownYD_res.mat does not exist to compare? outputFormat=mat