Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_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 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.TransformerStepDownYD,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_TransformerStepDownYD",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownYD,fileNamePrefix="Buildings_9_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.0008517/0.0008517, allocations: 91.61 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.0008274/0.0008276, 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.458/1.458, allocations: 223.3 MB / 240 MB, free: 5.43 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.507/2.507, allocations: 390.4 MB / 0.6655 GB, free: 2.973 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003457/0.0003459, allocations: 8 kB / 0.8149 GB, free: 14.16 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7847/0.7851, allocations: 142.3 MB / 0.9539 GB, free: 8.129 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownYD): time 0.01717/0.8023, allocations: 14.85 MB / 0.9684 GB, free: 12.96 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.009638/0.812, allocations: 5.55 MB / 0.9738 GB, free: 8.605 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001311/0.8133, allocations: 39.09 kB / 0.9738 GB, free: 8.598 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0008248/0.8142, allocations: 289.6 kB / 0.9741 GB, free: 8.355 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.002318/0.8165, allocations: 0.7814 MB / 0.9749 GB, free: 7.75 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001969/0.8185, allocations: 0.5991 MB / 0.9754 GB, free: 7.316 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.005949/0.8244, allocations: 4.785 MB / 0.9801 GB, free: 4.562 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009935/0.8344, allocations: 5.836 MB / 0.9858 GB, free: 15.32 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003588/0.8381, allocations: 1.285 MB / 0.9871 GB, free: 14.03 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003868/0.8419, allocations: 1.854 MB / 0.9889 GB, free: 12.17 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.001013/0.843, allocations: 188 kB / 0.9891 GB, free: 11.98 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002271/0.8453, allocations: 0.5931 MB / 0.9896 GB, free: 11.39 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.001948/0.8472, allocations: 1.399 MB / 0.991 GB, free: 9.988 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0009366/0.8482, allocations: 0.5394 MB / 0.9915 GB, free: 9.441 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.005972/0.8542, allocations: 5.285 MB / 0.9967 GB, free: 4.145 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 7.213e-06/0.8542, allocations: 4 kB / 0.9967 GB, free: 4.141 MB / 0.7481 GB Notification: Performance of FrontEnd: time 2.404e-06/0.8542, allocations: 0 / 0.9967 GB, free: 4.141 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 0.000175/0.8544, allocations: 0 / 0.9967 GB, free: 4.141 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.005787/0.8602, allocations: 2.408 MB / 0.999 GB, free: 1.672 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.564e-05/0.8602, allocations: 8.031 kB / 0.9991 GB, free: 1.664 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009726/0.8612, allocations: 445.5 kB / 0.9995 GB, free: 1.219 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009619/0.8709, allocations: 2.01 MB / 1.001 GB, free: 15.2 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003341/0.8742, allocations: 1.572 MB / 1.003 GB, free: 13.59 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001918/0.8745, allocations: 213.8 kB / 1.003 GB, free: 13.38 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009894/0.8755, allocations: 279.9 kB / 1.003 GB, free: 13.1 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01391/0.8894, allocations: 5.673 MB / 1.009 GB, free: 7.332 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.102e-05/0.8895, allocations: 0 / 1.009 GB, free: 7.332 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007161/0.8902, allocations: 124 kB / 1.009 GB, free: 7.211 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003493/0.8906, allocations: 196.8 kB / 1.009 GB, free: 7.016 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01377/0.9044, allocations: 5.822 MB / 1.015 GB, free: 1.18 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03071/0.9351, allocations: 22.62 MB / 1.037 GB, free: 8.527 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005912/0.9411, allocations: 3.019 MB / 1.04 GB, free: 5.344 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004599/0.9457, allocations: 1.932 MB / 1.042 GB, free: 3.391 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002413/0.946, allocations: 118 kB / 1.042 GB, free: 3.258 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.869e-05/0.9461, allocations: 55.5 kB / 1.042 GB, free: 3.191 MB / 0.795 GB Notification: Performance of pre-optimization done (n=132): time 3.797e-06/0.9461, allocations: 0 / 1.042 GB, free: 3.191 MB / 0.795 GB Notification: Performance of matching and sorting (n=174): time 0.03883/0.9849, allocations: 12.95 MB / 1.055 GB, free: 6.195 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001353/0.9851, allocations: 230.9 kB / 1.055 GB, free: 5.922 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001547/0.9866, allocations: 0.9452 MB / 1.056 GB, free: 4.969 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 0.0003457/0.987, allocations: 57.7 kB / 1.056 GB, free: 4.906 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007694/0.9878, allocations: 1.15 MB / 1.057 GB, free: 3.738 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008423/0.9886, allocations: 0.597 MB / 1.058 GB, free: 3.133 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002741/0.9889, allocations: 44 kB / 1.058 GB, free: 3.09 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.000273/0.9892, allocations: 427.1 kB / 1.058 GB, free: 2.664 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004432/0.9936, allocations: 1.854 MB / 1.06 GB, free: 0.8047 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004791/0.9984, allocations: 2.452 MB / 1.062 GB, free: 14.09 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004716/1.003, allocations: 2.156 MB / 1.064 GB, free: 11.94 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.006e-05/1.003, allocations: 8 kB / 1.064 GB, free: 11.93 MB / 0.8262 GB Notification: Performance of matching and sorting (n=282) (initialization): time 0.01269/1.016, allocations: 5.384 MB / 1.07 GB, free: 6.527 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005511/1.017, allocations: 0.619 MB / 1.07 GB, free: 5.66 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.176e-05/1.017, allocations: 16 kB / 1.07 GB, free: 5.645 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003223/1.02, allocations: 1.235 MB / 1.071 GB, free: 4.402 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003275/1.023, allocations: 0.7292 MB / 1.072 GB, free: 3.672 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01488/1.038, allocations: 10.54 MB / 1.082 GB, free: 8.863 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003714/1.042, allocations: 459.1 kB / 1.083 GB, free: 8.414 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008346/1.043, allocations: 111.9 kB / 1.083 GB, free: 8.305 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.999e-05/1.043, allocations: 4 kB / 1.083 GB, free: 8.301 MB / 0.8419 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01362/1.056, allocations: 5.231 MB / 1.088 GB, free: 3.059 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.258e-05/1.056, allocations: 20.06 kB / 1.088 GB, free: 3.039 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002462/1.059, allocations: 0.9581 MB / 1.089 GB, free: 2.074 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003074/1.062, allocations: 0.7292 MB / 1.09 GB, free: 1.344 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01391/1.076, allocations: 10.38 MB / 1.1 GB, free: 6.695 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002915/1.079, allocations: 439.2 kB / 1.1 GB, free: 6.266 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005301/1.079, allocations: 108 kB / 1.1 GB, free: 6.16 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.002606/1.082, allocations: 1.282 MB / 1.102 GB, free: 4.867 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006231/1.083, allocations: 130.5 kB / 1.102 GB, free: 4.738 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01145/1.094, allocations: 4.96 MB / 1.107 GB, free: 15.74 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.103e-05/1.094, allocations: 20 kB / 1.107 GB, free: 15.72 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.035e-05/1.094, allocations: 16 kB / 1.107 GB, free: 15.7 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.156e-05/1.094, allocations: 7.969 kB / 1.107 GB, free: 15.7 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01787/1.112, allocations: 8.947 MB / 1.115 GB, free: 6.551 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.704e-05/1.112, allocations: 15.94 kB / 1.115 GB, free: 6.535 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002293/1.115, allocations: 0.5264 MB / 1.116 GB, free: 6.008 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002532/1.117, allocations: 0.9773 MB / 1.117 GB, free: 5.023 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001879/1.117, allocations: 55.95 kB / 1.117 GB, free: 4.969 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01371/1.131, allocations: 9.971 MB / 1.127 GB, free: 10.72 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.026e-05/1.131, allocations: 15.89 kB / 1.127 GB, free: 10.71 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01033/1.141, allocations: 4.747 MB / 1.131 GB, free: 5.844 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009663/1.142, allocations: 0.5188 MB / 1.132 GB, free: 5.305 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003473/1.143, allocations: 44 kB / 1.132 GB, free: 5.262 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002335/1.145, allocations: 395.3 kB / 1.132 GB, free: 4.875 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003485/1.145, allocations: 160.9 kB / 1.132 GB, free: 4.719 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001672/1.146, allocations: 67.95 kB / 1.133 GB, free: 4.652 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.001055/1.147, allocations: 0.6825 MB / 1.133 GB, free: 3.973 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.8e-07/1.147, allocations: 0 / 1.133 GB, free: 3.973 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.004497/1.151, allocations: 1.184 MB / 1.134 GB, free: 2.789 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,(8,53.1%) 28} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01054/1.162, allocations: 5.358 MB / 1.14 GB, free: 13.31 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0187/1.181, allocations: 8.008 MB / 1.147 GB, free: 5.25 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.29e-05/1.181, allocations: 4 kB / 1.147 GB, free: 5.246 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.00615/1.187, allocations: 2.661 MB / 1.15 GB, free: 2.559 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002094/1.189, allocations: 190.6 kB / 1.15 GB, free: 2.375 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04171/1.231, allocations: 18.22 MB / 1.168 GB, free: 15.58 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003498/1.234, allocations: 2.306 MB / 1.17 GB, free: 13.23 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.004309/1.238, allocations: 1.221 MB / 1.171 GB, free: 12.01 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00167/1.24, allocations: 0.8663 MB / 1.172 GB, free: 11.14 MB / 0.9356 GB Notification: Performance of SimCode: time 1.122e-06/1.24, allocations: 0 / 1.172 GB, free: 11.14 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08078/1.321, allocations: 51.62 MB / 1.223 GB, free: 7.887 MB / 0.9825 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002096/1.321, allocations: 257.7 kB / 1.223 GB, free: 7.551 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.886/4.207, allocations: 0 / 1.223 GB, free: 7.551 MB / 0.9825 GB (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownYD.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownYD.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownYD.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownYD.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownYD_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_TransformerStepDownYD_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_TransformerStepDownYD.fmu > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownYD.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownYD_res.mat does not exist to compare? outputFormat=mat