Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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 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.TransformerStepDownDY,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_TransformerStepDownDY",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownDY,fileNamePrefix="Buildings_latest_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.001477/0.001477, 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.001579/0.001579, 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 2.675/2.675, 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 10.0.0-master/package.mo): time 5.111/5.111, allocations: 409.2 MB / 0.6838 GB, free: 1.051 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0005547/0.0005552, allocations: 12 kB / 0.8375 GB, free: 6.609 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.396/1.396, allocations: 146.8 MB / 0.9809 GB, free: 6.465 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownDY): time 0.02678/1.423, allocations: 15.06 MB / 0.9956 GB, free: 7.359 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.01363/1.437, allocations: 5.645 MB / 1.001 GB, free: 1.695 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00213/1.439, allocations: 39.88 kB / 1.001 GB, free: 1.656 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.001673/1.441, allocations: 334 kB / 1.001 GB, free: 1.328 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.003954/1.445, allocations: 0.6191 MB / 1.002 GB, free: 0.707 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.003378/1.448, allocations: 0.6346 MB / 1.003 GB, free: 76 kB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.005121/1.453, allocations: 1.786 MB / 1.004 GB, free: 14.29 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01397/1.467, allocations: 6.284 MB / 1.011 GB, free: 7.941 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003487/1.471, allocations: 1.083 MB / 1.012 GB, free: 6.855 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003677/1.475, allocations: 1.258 MB / 1.013 GB, free: 5.594 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 0.0009061/1.476, allocations: 196 kB / 1.013 GB, free: 5.402 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002522/1.478, allocations: 0.5853 MB / 1.014 GB, free: 4.816 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.002308/1.48, allocations: 1.341 MB / 1.015 GB, free: 3.473 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.001268/1.482, allocations: 0.5706 MB / 1.015 GB, free: 2.895 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.008809/1.49, allocations: 5.562 MB / 1.021 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 6.062e-06/1.491, allocations: 0 / 1.021 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of FrontEnd: time 3.537e-06/1.491, allocations: 0 / 1.021 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 0.0002413/1.491, allocations: 0 / 1.021 GB, free: 13.32 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: 809 * Number of variables: 809 Notification: Performance of Generate backend data structure: time 0.01074/1.502, allocations: 2.491 MB / 1.023 GB, free: 10.77 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 7.365e-05/1.502, allocations: 12.03 kB / 1.023 GB, free: 10.76 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002537/1.504, allocations: 466.6 kB / 1.024 GB, free: 10.29 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01736/1.522, allocations: 2.084 MB / 1.026 GB, free: 8.199 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00772/1.529, allocations: 1.634 MB / 1.027 GB, free: 6.52 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004465/1.53, allocations: 242.1 kB / 1.028 GB, free: 6.281 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002063/1.532, allocations: 288 kB / 1.028 GB, free: 6 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02421/1.556, allocations: 5.874 MB / 1.034 GB, free: 36 kB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000114/1.556, allocations: 4 kB / 1.034 GB, free: 32 kB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001203/1.558, allocations: 131.9 kB / 1.034 GB, free: 15.9 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005311/1.558, allocations: 216.9 kB / 1.034 GB, free: 15.69 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02494/1.583, allocations: 5.947 MB / 1.04 GB, free: 9.723 MB / 0.795 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.04939/1.633, allocations: 23.01 MB / 1.062 GB, free: 0.6992 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008126/1.641, allocations: 2.555 MB / 1.065 GB, free: 14.03 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000317/1.641, allocations: 121.9 kB / 1.065 GB, free: 13.89 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.389e-05/1.641, allocations: 51.55 kB / 1.065 GB, free: 13.84 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=123): time 6.612e-06/1.641, allocations: 0 / 1.065 GB, free: 13.84 MB / 0.8262 GB Notification: Performance of matching and sorting (n=123): time 0.02222/1.664, allocations: 5.148 MB / 1.07 GB, free: 8.617 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001766/1.664, allocations: 222.6 kB / 1.07 GB, free: 8.352 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002312/1.666, allocations: 1.067 MB / 1.071 GB, free: 7.27 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 0.0003211/1.666, allocations: 45.7 kB / 1.071 GB, free: 7.219 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.001264/1.668, allocations: 1.254 MB / 1.072 GB, free: 5.945 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007574/1.668, allocations: 441.9 kB / 1.073 GB, free: 5.508 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002021/1.669, allocations: 40 kB / 1.073 GB, free: 5.469 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0003356/1.669, allocations: 418.7 kB / 1.073 GB, free: 5.051 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006187/1.675, allocations: 1.643 MB / 1.075 GB, free: 3.406 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007159/1.682, allocations: 2.307 MB / 1.077 GB, free: 0.8086 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007105/1.69, allocations: 1.942 MB / 1.079 GB, free: 14.86 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.137e-05/1.69, allocations: 4 kB / 1.079 GB, free: 14.86 MB / 0.8419 GB Notification: Performance of matching and sorting (n=252) (initialization): time 0.01747/1.707, allocations: 4.417 MB / 1.083 GB, free: 10.42 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 0.005251/1.713, allocations: 8.439 MB / 1.092 GB, free: 1.32 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001143/1.713, allocations: 24 kB / 1.092 GB, free: 1.297 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002288/1.715, allocations: 430.1 kB / 1.092 GB, free: 0.8672 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005544/1.721, allocations: 0.7605 MB / 1.093 GB, free: 108 kB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01107/1.732, allocations: 6.287 MB / 1.099 GB, free: 9.418 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005254/1.737, allocations: 0.5714 MB / 1.1 GB, free: 8.844 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006853/1.738, allocations: 107.9 kB / 1.1 GB, free: 8.738 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.577e-05/1.738, allocations: 4 kB / 1.1 GB, free: 8.734 MB / 0.8575 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01609/1.754, allocations: 4.249 MB / 1.104 GB, free: 4.473 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001294/1.754, allocations: 28.22 kB / 1.104 GB, free: 4.445 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001125/1.755, allocations: 318.3 kB / 1.104 GB, free: 4.125 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005293/1.761, allocations: 0.7682 MB / 1.105 GB, free: 3.355 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009012/1.77, allocations: 6.073 MB / 1.111 GB, free: 12.88 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004734/1.774, allocations: 0.5058 MB / 1.111 GB, free: 12.37 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005477/1.775, allocations: 108 kB / 1.111 GB, free: 12.27 MB / 0.8731 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.0038/1.779, allocations: 1.289 MB / 1.113 GB, free: 10.96 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007574/1.78, allocations: 110.7 kB / 1.113 GB, free: 10.86 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01472/1.794, allocations: 3.757 MB / 1.116 GB, free: 7.047 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.603e-05/1.794, allocations: 12 kB / 1.116 GB, free: 7.035 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.734e-05/1.794, allocations: 8 kB / 1.116 GB, free: 7.027 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.561e-05/1.795, allocations: 7.969 kB / 1.116 GB, free: 7.02 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02394/1.818, allocations: 6.973 MB / 1.123 GB, free: 15.9 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.937e-05/1.819, allocations: 4 kB / 1.123 GB, free: 15.9 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003664/1.822, allocations: 0.5108 MB / 1.124 GB, free: 15.39 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001435/1.824, allocations: 334.5 kB / 1.124 GB, free: 15.05 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003607/1.824, allocations: 43.95 kB / 1.124 GB, free: 15.01 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0102/1.834, allocations: 6.155 MB / 1.13 GB, free: 8.453 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.125e-06/1.834, allocations: 4 kB / 1.13 GB, free: 8.449 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01405/1.849, allocations: 3.821 MB / 1.134 GB, free: 4.414 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001808/1.85, allocations: 483.2 kB / 1.134 GB, free: 3.922 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004909/1.851, allocations: 24 kB / 1.134 GB, free: 3.898 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00362/1.855, allocations: 375.4 kB / 1.135 GB, free: 3.531 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003763/1.855, allocations: 108.7 kB / 1.135 GB, free: 3.426 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001885/1.855, allocations: 51.95 kB / 1.135 GB, free: 3.375 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.001835/1.857, allocations: 0.7644 MB / 1.136 GB, free: 2.613 MB / 0.8887 GB Notification: Performance of sort global known variables: time 3.71e-07/1.857, allocations: 0 / 1.136 GB, free: 2.613 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.008652/1.866, allocations: 1.458 MB / 1.137 GB, free: 1.148 MB / 0.8887 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.01588/1.882, allocations: 5.857 MB / 1.143 GB, free: 11.11 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.02626/1.908, allocations: 6.529 MB / 1.149 GB, free: 4.512 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.454e-05/1.908, allocations: 0 / 1.149 GB, free: 4.512 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.008353/1.916, allocations: 2.041 MB / 1.151 GB, free: 2.43 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002028/1.919, allocations: 153 kB / 1.151 GB, free: 2.281 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07696/1.996, allocations: 30.9 MB / 1.181 GB, free: 2.648 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004288/2, allocations: 2.285 MB / 1.184 GB, free: 340 kB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.006488/2.006, allocations: 1.279 MB / 1.185 GB, free: 15.05 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002493/2.009, allocations: 0.839 MB / 1.186 GB, free: 14.21 MB / 0.9512 GB Notification: Performance of SimCode: time 3.277e-06/2.009, allocations: 0 / 1.186 GB, free: 14.21 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1599/2.169, allocations: 39.41 MB / 1.224 GB, free: 7.09 MB / 0.9825 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0008871/2.17, allocations: 248.9 kB / 1.224 GB, free: 6.754 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.975/7.145, allocations: 4.062 kB / 1.224 GB, free: 6.75 MB / 0.9825 GB (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownDY.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownDY.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownDY.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownDY.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownDY_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_TransformerStepDownDY_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_TransformerStepDownDY.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownDY.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownDY_res.mat does not exist to compare? outputFormat=mat