Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpDY.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.TransformerStepUpDY,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_TransformerStepUpDY",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpDY,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_TransformerStepUpDY",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.001321/0.001321, allocations: 99.7 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.001705/0.001705, allocations: 177.3 kB / 15.95 MB, free: 216 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.407/1.407, allocations: 223.2 MB / 239.9 MB, free: 5.465 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.508/2.508, allocations: 390.3 MB / 0.6653 GB, free: 2.918 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0005713/0.0005715, allocations: 12 kB / 0.8146 GB, free: 14.17 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7485/0.7491, allocations: 142.3 MB / 0.9536 GB, free: 8.113 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpDY): time 0.01745/0.7666, allocations: 15.06 MB / 0.9683 GB, free: 12.87 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.01066/0.7773, allocations: 5.639 MB / 0.9738 GB, free: 8.48 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001613/0.779, allocations: 34.41 kB / 0.9739 GB, free: 8.477 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.001463/0.7804, allocations: 343.9 kB / 0.9742 GB, free: 8.172 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.002607/0.7831, allocations: 0.6143 MB / 0.9748 GB, free: 7.652 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.002376/0.7855, allocations: 0.6377 MB / 0.9754 GB, free: 7.176 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.002918/0.7884, allocations: 1.784 MB / 0.9771 GB, free: 5.992 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01109/0.7995, allocations: 6.295 MB / 0.9833 GB, free: 1.629 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003281/0.8028, allocations: 1.087 MB / 0.9844 GB, free: 0.5391 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002712/0.8056, allocations: 1.258 MB / 0.9856 GB, free: 15.28 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0008852/0.8065, allocations: 192 kB / 0.9858 GB, free: 15.09 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001868/0.8084, allocations: 0.5853 MB / 0.9863 GB, free: 14.5 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.002068/0.8105, allocations: 1.353 MB / 0.9877 GB, free: 13.15 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.001426/0.8119, allocations: 0.5629 MB / 0.9882 GB, free: 12.58 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.00745/0.8194, allocations: 5.566 MB / 0.9936 GB, free: 7 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.8194, allocations: 4 kB / 0.9936 GB, free: 6.996 MB / 0.7481 GB Notification: Performance of FrontEnd: time 3.006e-06/0.8194, allocations: 0 / 0.9936 GB, free: 6.996 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 0.000352/0.8198, allocations: 0 / 0.9936 GB, free: 6.996 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.008037/0.8279, allocations: 2.487 MB / 0.9961 GB, free: 4.449 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.86e-05/0.8279, allocations: 8.031 kB / 0.9961 GB, free: 4.441 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001989/0.8299, allocations: 466.6 kB / 0.9965 GB, free: 3.973 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01537/0.8453, allocations: 2.091 MB / 0.9986 GB, free: 1.875 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005824/0.8512, allocations: 1.627 MB / 1 GB, free: 208 kB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004504/0.8517, allocations: 230.1 kB / 1 GB, free: 15.97 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00174/0.8534, allocations: 296 kB / 1.001 GB, free: 15.68 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02335/0.8768, allocations: 5.88 MB / 1.006 GB, free: 9.719 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000192/0.8771, allocations: 0 / 1.006 GB, free: 9.719 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001583/0.8787, allocations: 124 kB / 1.007 GB, free: 9.598 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005895/0.8793, allocations: 205 kB / 1.007 GB, free: 9.395 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.023/0.9023, allocations: 5.95 MB / 1.013 GB, free: 3.43 MB / 0.7637 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.05148/0.9538, allocations: 23.03 MB / 1.035 GB, free: 10.39 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00685/0.9607, allocations: 2.555 MB / 1.038 GB, free: 7.715 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002758/0.961, allocations: 114.1 kB / 1.038 GB, free: 7.586 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.369e-05/0.9611, allocations: 55.48 kB / 1.038 GB, free: 7.523 MB / 0.795 GB Notification: Performance of pre-optimization done (n=123): time 4.429e-06/0.9612, allocations: 4 kB / 1.038 GB, free: 7.52 MB / 0.795 GB Notification: Performance of matching and sorting (n=123): time 0.0157/0.9769, allocations: 5.148 MB / 1.043 GB, free: 2.297 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001544/0.9771, allocations: 219.3 kB / 1.043 GB, free: 2.035 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002034/0.9791, allocations: 1.067 MB / 1.044 GB, free: 0.9531 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 0.0002397/0.9794, allocations: 45.7 kB / 1.044 GB, free: 0.9023 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.001129/0.9805, allocations: 1.261 MB / 1.045 GB, free: 15.62 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006626/0.9812, allocations: 433.9 kB / 1.046 GB, free: 15.19 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002164/0.9814, allocations: 44 kB / 1.046 GB, free: 15.15 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0002809/0.9817, allocations: 422.7 kB / 1.046 GB, free: 14.73 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004515/0.9862, allocations: 1.647 MB / 1.048 GB, free: 13.08 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005014/0.9913, allocations: 2.307 MB / 1.05 GB, free: 10.48 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004739/0.996, allocations: 1.938 MB / 1.052 GB, free: 8.539 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.808e-05/0.9961, allocations: 4 kB / 1.052 GB, free: 8.535 MB / 0.8106 GB Notification: Performance of matching and sorting (n=252) (initialization): time 0.01158/1.008, allocations: 4.417 MB / 1.056 GB, free: 4.098 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 0.004092/1.012, allocations: 8.435 MB / 1.064 GB, free: 11 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.905e-05/1.012, allocations: 20 kB / 1.064 GB, free: 10.98 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001615/1.013, allocations: 430.2 kB / 1.065 GB, free: 10.55 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00356/1.017, allocations: 0.7604 MB / 1.066 GB, free: 9.793 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007966/1.025, allocations: 6.288 MB / 1.072 GB, free: 3.102 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003421/1.029, allocations: 0.5675 MB / 1.072 GB, free: 2.531 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005004/1.029, allocations: 119.9 kB / 1.072 GB, free: 2.414 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.357e-05/1.029, allocations: 4 kB / 1.072 GB, free: 2.41 MB / 0.8262 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01175/1.041, allocations: 4.257 MB / 1.077 GB, free: 14.14 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001066/1.041, allocations: 20 kB / 1.077 GB, free: 14.12 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00092/1.042, allocations: 318.6 kB / 1.077 GB, free: 13.8 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003508/1.045, allocations: 0.7643 MB / 1.078 GB, free: 13.04 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006725/1.052, allocations: 6.076 MB / 1.084 GB, free: 6.559 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003244/1.055, allocations: 0.5058 MB / 1.084 GB, free: 6.051 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005208/1.056, allocations: 104 kB / 1.084 GB, free: 5.949 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.002954/1.059, allocations: 1.301 MB / 1.085 GB, free: 4.637 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006225/1.06, allocations: 114.7 kB / 1.086 GB, free: 4.523 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01035/1.07, allocations: 3.737 MB / 1.089 GB, free: 0.7383 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.646e-05/1.07, allocations: 23.95 kB / 1.089 GB, free: 0.7148 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.352e-05/1.07, allocations: 7.984 kB / 1.089 GB, free: 0.707 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.22e-05/1.07, allocations: 3.984 kB / 1.089 GB, free: 0.7031 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01758/1.088, allocations: 6.965 MB / 1.096 GB, free: 9.594 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.746e-05/1.088, allocations: 4 kB / 1.096 GB, free: 9.59 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002497/1.09, allocations: 0.5148 MB / 1.097 GB, free: 9.074 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001006/1.091, allocations: 327 kB / 1.097 GB, free: 8.746 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001616/1.091, allocations: 47.95 kB / 1.097 GB, free: 8.699 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006899/1.098, allocations: 6.147 MB / 1.103 GB, free: 2.152 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.478e-06/1.098, allocations: 12.02 kB / 1.103 GB, free: 2.141 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009804/1.108, allocations: 3.821 MB / 1.107 GB, free: 14.11 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001266/1.11, allocations: 483.2 kB / 1.107 GB, free: 13.61 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004269/1.11, allocations: 24 kB / 1.107 GB, free: 13.59 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002563/1.113, allocations: 379.4 kB / 1.107 GB, free: 13.22 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003884/1.113, allocations: 96.77 kB / 1.108 GB, free: 13.12 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001837/1.113, allocations: 51.95 kB / 1.108 GB, free: 13.07 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.001432/1.115, allocations: 0.7722 MB / 1.108 GB, free: 12.3 MB / 0.8731 GB Notification: Performance of sort global known variables: time 3.7e-07/1.115, allocations: 0 / 1.108 GB, free: 12.3 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.006088/1.121, allocations: 1.455 MB / 1.11 GB, free: 10.84 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.01077/1.131, allocations: 5.857 MB / 1.115 GB, free: 4.809 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.01684/1.148, allocations: 6.534 MB / 1.122 GB, free: 14.2 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 1.7e-05/1.148, allocations: 4.062 kB / 1.122 GB, free: 14.2 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.005542/1.154, allocations: 2.036 MB / 1.124 GB, free: 12.13 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001343/1.155, allocations: 148.3 kB / 1.124 GB, free: 11.98 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05/1.205, allocations: 30.9 MB / 1.154 GB, free: 12.34 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003242/1.209, allocations: 2.289 MB / 1.156 GB, free: 10.02 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.004251/1.213, allocations: 1.272 MB / 1.158 GB, free: 8.742 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001577/1.215, allocations: 0.8483 MB / 1.158 GB, free: 7.895 MB / 0.92 GB Notification: Performance of SimCode: time 9.72e-07/1.215, allocations: 0 / 1.158 GB, free: 7.895 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07035/1.285, allocations: 39.42 MB / 1.197 GB, free: 0.7695 MB / 0.9512 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001894/1.285, allocations: 239.5 kB / 1.197 GB, free: 0.5312 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.663/3.948, allocations: 4.062 kB / 1.197 GB, free: 0.5273 MB / 0.9512 GB (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpDY.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpDY.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpDY.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpDY.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpDY_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_TransformerStepUpDY_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_TransformerStepUpDY.fmu > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpDY.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpDY_res.mat does not exist to compare? outputFormat=mat