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.0009426/0.0009426, allocations: 100 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.0009567/0.0009567, 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.419/1.419, allocations: 223.2 MB / 239.9 MB, free: 5.461 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.465/2.465, allocations: 390.3 MB / 0.6653 GB, free: 2.992 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003302/0.0003304, allocations: 12 kB / 0.8146 GB, free: 14.19 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.742/0.7424, allocations: 142.3 MB / 0.9536 GB, free: 8.02 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpYD): time 0.01502/0.7574, allocations: 14.5 MB / 0.9678 GB, free: 13.19 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.009548/0.767, allocations: 5.507 MB / 0.9731 GB, free: 8.902 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001103/0.7682, allocations: 37.16 kB / 0.9732 GB, free: 8.895 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0008748/0.7691, allocations: 309 kB / 0.9735 GB, free: 8.621 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.002206/0.7713, allocations: 0.6147 MB / 0.9741 GB, free: 8.102 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.002318/0.7736, allocations: 0.6324 MB / 0.9747 GB, free: 7.629 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.002942/0.7766, allocations: 1.74 MB / 0.9764 GB, free: 6.473 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009835/0.7864, allocations: 5.835 MB / 0.9821 GB, free: 2.863 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002312/0.7887, allocations: 1.032 MB / 0.9831 GB, free: 1.828 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001929/0.7907, allocations: 1.219 MB / 0.9843 GB, free: 0.6055 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0003407/0.791, allocations: 188 kB / 0.9845 GB, free: 432 kB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001481/0.7925, allocations: 0.5696 MB / 0.985 GB, free: 15.85 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.001358/0.7939, allocations: 1.306 MB / 0.9863 GB, free: 14.54 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.000675/0.7946, allocations: 0.5394 MB / 0.9868 GB, free: 14 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.005329/0.7999, allocations: 5.258 MB / 0.992 GB, free: 8.727 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.7999, allocations: 0 / 0.992 GB, free: 8.727 MB / 0.7481 GB Notification: Performance of FrontEnd: time 2.304e-06/0.8, allocations: 0 / 0.992 GB, free: 8.727 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 0.0001735/0.8001, allocations: 0 / 0.992 GB, free: 8.727 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.00647/0.8066, allocations: 2.412 MB / 0.9943 GB, free: 6.254 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.616e-05/0.8067, allocations: 11.97 kB / 0.9943 GB, free: 6.242 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001103/0.8078, allocations: 441.6 kB / 0.9947 GB, free: 5.801 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01091/0.8187, allocations: 2.072 MB / 0.9968 GB, free: 3.723 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003942/0.8227, allocations: 1.576 MB / 0.9983 GB, free: 2.102 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001859/0.8229, allocations: 217.8 kB / 0.9985 GB, free: 1.887 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007613/0.8237, allocations: 279.9 kB / 0.9988 GB, free: 1.613 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01179/0.8355, allocations: 5.641 MB / 1.004 GB, free: 11.87 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.098e-05/0.8356, allocations: 3.938 kB / 1.004 GB, free: 11.87 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003495/0.8359, allocations: 128 kB / 1.004 GB, free: 11.74 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003381/0.8363, allocations: 192.8 kB / 1.005 GB, free: 11.55 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01378/0.85, allocations: 5.816 MB / 1.01 GB, free: 5.719 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02994/0.88, allocations: 22.84 MB / 1.033 GB, free: 12.85 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006302/0.8864, allocations: 3.091 MB / 1.036 GB, free: 9.59 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002267/0.8867, allocations: 114.1 kB / 1.036 GB, free: 9.461 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.133e-05/0.8867, allocations: 59.48 kB / 1.036 GB, free: 9.395 MB / 0.795 GB Notification: Performance of pre-optimization done (n=132): time 3.116e-06/0.8867, allocations: 0 / 1.036 GB, free: 9.395 MB / 0.795 GB Notification: Performance of matching and sorting (n=132): time 0.01821/0.9049, allocations: 6.089 MB / 1.042 GB, free: 3.27 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001254/0.9051, allocations: 222.6 kB / 1.042 GB, free: 3.004 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001348/0.9065, allocations: 0.953 MB / 1.043 GB, free: 2.043 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 0.0001577/0.9066, allocations: 45.7 kB / 1.043 GB, free: 1.992 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007469/0.9074, allocations: 1.153 MB / 1.044 GB, free: 0.8203 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004564/0.9078, allocations: 469.3 kB / 1.044 GB, free: 364 kB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001355/0.908, allocations: 44 kB / 1.045 GB, free: 320 kB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0002081/0.9082, allocations: 418.7 kB / 1.045 GB, free: 15.89 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004307/0.9125, allocations: 1.67 MB / 1.047 GB, free: 14.22 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004581/0.9171, allocations: 2.221 MB / 1.049 GB, free: 11.76 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004338/0.9215, allocations: 1.938 MB / 1.051 GB, free: 9.82 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.325e-05/0.9215, allocations: 8 kB / 1.051 GB, free: 9.812 MB / 0.8106 GB Notification: Performance of matching and sorting (n=240) (initialization): time 0.01041/0.9319, allocations: 4.489 MB / 1.055 GB, free: 5.309 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 0.002522/0.9345, allocations: 6.881 MB / 1.062 GB, free: 13.89 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.866e-05/0.9345, allocations: 16 kB / 1.062 GB, free: 13.87 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001641/0.9362, allocations: 0.6374 MB / 1.062 GB, free: 13.23 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003255/0.9394, allocations: 0.7292 MB / 1.063 GB, free: 12.5 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00701/0.9465, allocations: 5.366 MB / 1.068 GB, free: 7 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003039/0.9495, allocations: 0.5638 MB / 1.069 GB, free: 6.434 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002514/0.9498, allocations: 103.9 kB / 1.069 GB, free: 6.332 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.247e-05/0.9498, allocations: 4 kB / 1.069 GB, free: 6.328 MB / 0.8262 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009846/0.9597, allocations: 4.345 MB / 1.073 GB, free: 1.977 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.708e-05/0.9597, allocations: 16 kB / 1.073 GB, free: 1.961 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009421/0.9607, allocations: 448.8 kB / 1.074 GB, free: 1.52 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003072/0.9638, allocations: 0.7292 MB / 1.074 GB, free: 0.7891 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006766/0.9705, allocations: 5.245 MB / 1.079 GB, free: 11.41 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002998/0.9736, allocations: 0.529 MB / 1.08 GB, free: 10.88 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000229/0.9738, allocations: 103.9 kB / 1.08 GB, free: 10.77 MB / 0.8419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 79 * 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 (205): * Single equations (assignments): 204 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(6,75.0%) 30} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002069/0.9759, allocations: 1.224 MB / 1.081 GB, free: 9.539 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003752/0.9763, allocations: 110.7 kB / 1.081 GB, free: 9.43 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009753/0.986, allocations: 3.944 MB / 1.085 GB, free: 5.453 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.018e-05/0.9861, allocations: 16 kB / 1.085 GB, free: 5.438 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.362e-05/0.9861, allocations: 8 kB / 1.085 GB, free: 5.43 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.595e-05/0.9861, allocations: 7.969 kB / 1.085 GB, free: 5.422 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01465/1.001, allocations: 7.394 MB / 1.093 GB, free: 13.89 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-05/1.001, allocations: 8 kB / 1.093 GB, free: 13.88 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002361/1.003, allocations: 0.5231 MB / 1.093 GB, free: 13.36 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001076/1.004, allocations: 476.5 kB / 1.093 GB, free: 12.89 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001162/1.004, allocations: 43.95 kB / 1.094 GB, free: 12.84 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006413/1.011, allocations: 5.237 MB / 1.099 GB, free: 7.477 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.822e-06/1.011, allocations: 7.938 kB / 1.099 GB, free: 7.469 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009181/1.02, allocations: 4.124 MB / 1.103 GB, free: 3.141 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001193/1.021, allocations: 499.3 kB / 1.103 GB, free: 2.633 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003247/1.022, allocations: 31.98 kB / 1.103 GB, free: 2.602 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002487/1.024, allocations: 391.3 kB / 1.104 GB, free: 2.219 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003061/1.024, allocations: 108.7 kB / 1.104 GB, free: 2.109 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001397/1.025, allocations: 55.95 kB / 1.104 GB, free: 2.055 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.001298/1.026, allocations: 0.6825 MB / 1.104 GB, free: 1.379 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.7e-07/1.026, allocations: 0 / 1.104 GB, free: 1.379 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.004636/1.031, allocations: 1.443 MB / 1.106 GB, free: 15.93 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 (94): * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(4,100.0%) 32} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01087/1.041, allocations: 6.164 MB / 1.112 GB, free: 9.594 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.01593/1.057, allocations: 6.449 MB / 1.118 GB, free: 3.117 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 7.905e-06/1.057, allocations: 4.062 kB / 1.118 GB, free: 3.113 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.004975/1.062, allocations: 2.002 MB / 1.12 GB, free: 1.098 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001123/1.064, allocations: 148 kB / 1.12 GB, free: 0.9531 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04615/1.11, allocations: 28.11 MB / 1.148 GB, free: 4.211 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002251/1.112, allocations: 2.235 MB / 1.15 GB, free: 1.941 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.003693/1.116, allocations: 1.216 MB / 1.151 GB, free: 0.7227 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00124/1.117, allocations: 0.7999 MB / 1.152 GB, free: 15.92 MB / 0.92 GB Notification: Performance of SimCode: time 7.71e-07/1.117, allocations: 4 kB / 1.152 GB, free: 15.92 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06814/1.185, allocations: 40.82 MB / 1.192 GB, free: 7.414 MB / 0.9512 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001849/1.185, allocations: 238.4 kB / 1.192 GB, free: 7.176 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.49/3.675, allocations: 0 / 1.192 GB, free: 7.176 MB / 0.9512 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