Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownDY.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.TransformerStepDownDY,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_TransformerStepDownDY",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownDY,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_TransformerStepDownDY",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.00092/0.00092, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.0009274/0.0009275, allocations: 177.3 kB / 15.94 MB, free: 228 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.378/1.378, allocations: 223.2 MB / 239.9 MB, free: 5.348 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.558/2.558, allocations: 390.2 MB / 0.6653 GB, free: 3.004 MB / 0.5138 GB Notification: Performance of FrontEnd - loaded program: time 0.0003555/0.0003556, allocations: 8 kB / 0.8146 GB, free: 14.25 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7495/0.7499, allocations: 142.3 MB / 0.9536 GB, free: 8.094 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownDY): time 0.0161/0.7661, allocations: 15.06 MB / 0.9683 GB, free: 12.85 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.009747/0.7759, allocations: 5.642 MB / 0.9738 GB, free: 8.461 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001332/0.7772, allocations: 33.72 kB / 0.9738 GB, free: 8.457 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0009471/0.7782, allocations: 344.6 kB / 0.9742 GB, free: 8.152 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.002342/0.7806, allocations: 0.618 MB / 0.9748 GB, free: 7.629 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.00205/0.7826, allocations: 0.6424 MB / 0.9754 GB, free: 7.148 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.002799/0.7854, allocations: 1.783 MB / 0.9771 GB, free: 5.965 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009379/0.7948, allocations: 6.284 MB / 0.9833 GB, free: 1.68 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002126/0.797, allocations: 1.083 MB / 0.9843 GB, free: 0.5938 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002025/0.799, allocations: 1.266 MB / 0.9856 GB, free: 15.32 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0003875/0.7994, allocations: 196 kB / 0.9858 GB, free: 15.13 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001435/0.8009, allocations: 0.5813 MB / 0.9863 GB, free: 14.55 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.001364/0.8022, allocations: 1.349 MB / 0.9876 GB, free: 13.2 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0006841/0.8029, allocations: 0.5628 MB / 0.9882 GB, free: 12.63 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.006122/0.8091, allocations: 5.574 MB / 0.9936 GB, free: 7.043 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.8091, allocations: 0 / 0.9936 GB, free: 7.043 MB / 0.7481 GB Notification: Performance of FrontEnd: time 2.405e-06/0.8091, allocations: 0 / 0.9936 GB, free: 7.043 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 0.00018/0.8093, allocations: 0 / 0.9936 GB, free: 7.043 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: 809 * Number of variables: 809 Notification: Performance of Generate backend data structure: time 0.006278/0.8156, allocations: 2.491 MB / 0.9961 GB, free: 4.492 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 5.503e-05/0.8157, allocations: 8.031 kB / 0.9961 GB, free: 4.484 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001144/0.8168, allocations: 466.6 kB / 0.9965 GB, free: 4.016 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0112/0.828, allocations: 2.087 MB / 0.9986 GB, free: 1.922 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004028/0.8321, allocations: 1.634 MB / 1 GB, free: 248 kB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000203/0.8323, allocations: 230 kB / 1 GB, free: 16 kB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009303/0.8333, allocations: 296 kB / 1.001 GB, free: 15.72 MB / 0.7638 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01242/0.8457, allocations: 5.876 MB / 1.006 GB, free: 9.758 MB / 0.7638 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.199e-05/0.8458, allocations: 0 / 1.006 GB, free: 9.758 MB / 0.7638 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003663/0.8461, allocations: 128 kB / 1.007 GB, free: 9.633 MB / 0.7638 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003163/0.8465, allocations: 197 kB / 1.007 GB, free: 9.438 MB / 0.7638 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01444/0.8609, allocations: 5.958 MB / 1.013 GB, free: 3.465 MB / 0.7638 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03162/0.8926, allocations: 23.02 MB / 1.035 GB, free: 10.43 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005277/0.8979, allocations: 2.546 MB / 1.037 GB, free: 7.762 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001995/0.8981, allocations: 122 kB / 1.038 GB, free: 7.625 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.924e-05/0.8982, allocations: 55.5 kB / 1.038 GB, free: 7.562 MB / 0.795 GB Notification: Performance of pre-optimization done (n=123): time 3.186e-06/0.8982, allocations: 0 / 1.038 GB, free: 7.562 MB / 0.795 GB Notification: Performance of matching and sorting (n=123): time 0.01518/0.9134, allocations: 5.144 MB / 1.043 GB, free: 2.344 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001218/0.9135, allocations: 222.6 kB / 1.043 GB, free: 2.078 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0016/0.9151, allocations: 1.063 MB / 1.044 GB, free: 1 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 0.0001656/0.9153, allocations: 45.7 kB / 1.044 GB, free: 0.9492 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008506/0.9162, allocations: 1.258 MB / 1.045 GB, free: 15.67 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004972/0.9167, allocations: 445.8 kB / 1.046 GB, free: 15.23 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001303/0.9168, allocations: 39.94 kB / 1.046 GB, free: 15.19 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0002277/0.917, allocations: 422.7 kB / 1.046 GB, free: 14.77 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004292/0.9213, allocations: 1.647 MB / 1.048 GB, free: 13.12 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00472/0.9261, allocations: 2.307 MB / 1.05 GB, free: 10.52 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004523/0.9306, allocations: 1.942 MB / 1.052 GB, free: 8.578 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-05/0.9307, allocations: 8 kB / 1.052 GB, free: 8.57 MB / 0.8106 GB Notification: Performance of matching and sorting (n=252) (initialization): time 0.01105/0.9417, allocations: 4.409 MB / 1.056 GB, free: 4.141 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 0.00338/0.9451, allocations: 8.435 MB / 1.064 GB, free: 11.05 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.371e-05/0.9452, allocations: 24 kB / 1.064 GB, free: 11.02 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001543/0.9468, allocations: 434.2 kB / 1.065 GB, free: 10.59 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00359/0.9504, allocations: 0.7604 MB / 1.066 GB, free: 9.828 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006817/0.9572, allocations: 6.291 MB / 1.072 GB, free: 3.133 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003255/0.9605, allocations: 0.5636 MB / 1.072 GB, free: 2.566 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002935/0.9608, allocations: 112 kB / 1.072 GB, free: 2.457 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 1.236e-05/0.9608, allocations: 5.094 kB / 1.072 GB, free: 2.453 MB / 0.8263 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01019/0.971, allocations: 4.257 MB / 1.077 GB, free: 14.18 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.969e-05/0.9711, allocations: 20 kB / 1.077 GB, free: 14.16 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007912/0.9719, allocations: 318.3 kB / 1.077 GB, free: 13.84 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003319/0.9752, allocations: 0.7646 MB / 1.078 GB, free: 13.08 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005589/0.9808, allocations: 6.081 MB / 1.084 GB, free: 6.598 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003032/0.9839, allocations: 0.5058 MB / 1.084 GB, free: 6.09 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002644/0.9842, allocations: 108 kB / 1.084 GB, free: 5.984 MB / 0.8419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 97 * 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 (231): * Single equations (assignments): 228 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002273/0.9865, allocations: 1.289 MB / 1.085 GB, free: 4.684 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004188/0.9869, allocations: 114.7 kB / 1.086 GB, free: 4.57 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009897/0.9968, allocations: 3.749 MB / 1.089 GB, free: 0.7734 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.898e-05/0.9968, allocations: 15.95 kB / 1.089 GB, free: 0.7578 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.167e-05/0.9969, allocations: 4 kB / 1.089 GB, free: 0.7539 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.927e-05/0.9969, allocations: 15.91 kB / 1.089 GB, free: 0.7383 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01571/1.013, allocations: 6.957 MB / 1.096 GB, free: 9.637 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.888e-05/1.013, allocations: 8 kB / 1.096 GB, free: 9.629 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002537/1.015, allocations: 0.5114 MB / 1.096 GB, free: 9.117 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009977/1.016, allocations: 334.3 kB / 1.097 GB, free: 8.781 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001613/1.016, allocations: 47.95 kB / 1.097 GB, free: 8.734 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006333/1.023, allocations: 6.146 MB / 1.103 GB, free: 2.188 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.336e-06/1.023, allocations: 7.938 kB / 1.103 GB, free: 2.18 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009188/1.032, allocations: 3.817 MB / 1.107 GB, free: 14.14 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001052/1.033, allocations: 483.2 kB / 1.107 GB, free: 13.65 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002356/1.033, allocations: 31.98 kB / 1.107 GB, free: 13.62 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002371/1.036, allocations: 371.4 kB / 1.107 GB, free: 13.26 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001954/1.036, allocations: 104.7 kB / 1.108 GB, free: 13.16 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001135/1.036, allocations: 43.97 kB / 1.108 GB, free: 13.11 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0009955/1.037, allocations: 0.7761 MB / 1.108 GB, free: 12.34 MB / 0.8731 GB Notification: Performance of sort global known variables: time 2.21e-07/1.037, allocations: 0 / 1.108 GB, free: 12.34 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.003954/1.041, allocations: 1.458 MB / 1.11 GB, free: 10.88 MB / 0.8731 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * 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 (96): * Single equations (assignments): 93 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.009996/1.051, allocations: 5.856 MB / 1.115 GB, free: 4.844 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.01632/1.067, allocations: 6.534 MB / 1.122 GB, free: 14.24 MB / 0.8888 GB Notification: Performance of simCode: created event and clocks part: time 1.029e-05/1.067, allocations: 0 / 1.122 GB, free: 14.24 MB / 0.8888 GB Notification: Performance of simCode: created simulation system equations: time 0.005403/1.073, allocations: 2.04 MB / 1.124 GB, free: 12.16 MB / 0.8888 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001219/1.074, allocations: 157.8 kB / 1.124 GB, free: 12.01 MB / 0.8888 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04382/1.118, allocations: 30.89 MB / 1.154 GB, free: 12.38 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002423/1.12, allocations: 2.293 MB / 1.156 GB, free: 10.05 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.004278/1.125, allocations: 1.271 MB / 1.158 GB, free: 8.773 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001427/1.126, allocations: 0.839 MB / 1.158 GB, free: 7.934 MB / 0.92 GB Notification: Performance of SimCode: time 7.01e-07/1.126, allocations: 0 / 1.158 GB, free: 7.934 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06631/1.192, allocations: 39.43 MB / 1.197 GB, free: 0.8047 MB / 0.9513 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002367/1.193, allocations: 235.6 kB / 1.197 GB, free: 0.5703 MB / 0.9513 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.574/3.767, allocations: 0 / 1.197 GB, free: 0.5703 MB / 0.9513 GB (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownDY.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownDY.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownDY.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownDY.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownDY_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_TransformerStepDownDY_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_TransformerStepDownDY.fmu > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownDY.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownDY_res.mat does not exist to compare? outputFormat=mat