Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownDY.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownDY,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_TransformerStepDownDY",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownDY,fileNamePrefix="Buildings_maint_7_0_x_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/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.523/1.523, allocations: 249.3 MB / 261.8 MB, free: 5.859 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001028/0.001028, allocations: 178.7 kB / 321.3 MB, free: 14.66 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.664/1.664, allocations: 205.2 MB / 0.572 GB, free: 10.61 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009499/0.0009497, allocations: 94.41 kB / 0.6764 GB, free: 15.58 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 4.326e-05/4.343e-05, allocations: 4 kB / 0.7881 GB, free: 96.99 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2573/0.2574, allocations: 106.3 MB / 0.8919 GB, free: 6.555 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8753/1.133, allocations: 181.2 MB / 1.069 GB, free: 3.777 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004819/1.133, allocations: 101.3 kB / 1.069 GB, free: 3.719 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.2671/1.401, allocations: 105.8 MB / 1.172 GB, free: 15.14 MB / 0.7917 GB Notification: Performance of FrontEnd: time 2.845e-06/1.401, allocations: 0 / 1.172 GB, free: 15.14 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 0.0001189/1.401, allocations: 63.92 kB / 1.172 GB, free: 15.08 MB / 0.7917 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.008535/1.409, allocations: 2.432 MB / 1.175 GB, free: 12.6 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 5.856e-05/1.409, allocations: 8.031 kB / 1.175 GB, free: 12.59 MB / 0.7917 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001609/1.411, allocations: 470.6 kB / 1.175 GB, free: 12.12 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01239/1.423, allocations: 1.908 MB / 1.177 GB, free: 10.2 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005584/1.429, allocations: 1.713 MB / 1.179 GB, free: 8.445 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002731/1.429, allocations: 226.1 kB / 1.179 GB, free: 8.223 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001727/1.431, allocations: 296 kB / 1.179 GB, free: 7.934 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01468/1.446, allocations: 4.934 MB / 1.184 GB, free: 2.902 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.965e-05/1.446, allocations: 3.938 kB / 1.184 GB, free: 2.898 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004925/1.446, allocations: 132 kB / 1.184 GB, free: 2.77 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004567/1.447, allocations: 204.9 kB / 1.184 GB, free: 2.566 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01002/1.457, allocations: 4.497 MB / 1.189 GB, free: 14.06 MB / 0.8073 GB Warning: The model contains alias variables with conflicting start and/or 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.03484/1.492, allocations: 22.77 MB / 1.211 GB, free: 5.27 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003154/1.495, allocations: 2.038 MB / 1.213 GB, free: 3.117 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002163/1.497, allocations: 1.328 MB / 1.214 GB, free: 1.77 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002239/1.497, allocations: 118 kB / 1.214 GB, free: 1.633 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.72e-05/1.498, allocations: 55.5 kB / 1.214 GB, free: 1.57 MB / 0.823 GB Notification: Performance of pre-optimization done (n=123): time 4.067e-06/1.498, allocations: 0 / 1.214 GB, free: 1.57 MB / 0.823 GB Notification: Performance of matching and sorting (n=153): time 0.02691/1.524, allocations: 8.888 MB / 1.223 GB, free: 8.633 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000128/1.525, allocations: 226.9 kB / 1.223 GB, free: 8.363 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00155/1.526, allocations: 0.9527 MB / 1.224 GB, free: 7.402 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 0.0002724/1.526, allocations: 49.7 kB / 1.224 GB, free: 7.348 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.000898/1.527, allocations: 1.258 MB / 1.226 GB, free: 6.07 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005783/1.528, allocations: 0.5316 MB / 1.226 GB, free: 5.531 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001471/1.528, allocations: 47.94 kB / 1.226 GB, free: 5.484 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0002754/1.528, allocations: 431 kB / 1.227 GB, free: 5.055 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002112/1.531, allocations: 1.312 MB / 1.228 GB, free: 3.738 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002574/1.533, allocations: 1.978 MB / 1.23 GB, free: 1.457 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002501/1.536, allocations: 1.657 MB / 1.231 GB, free: 15.8 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.659e-05/1.536, allocations: 8 kB / 1.231 GB, free: 15.79 MB / 0.8542 GB Notification: Performance of matching and sorting (n=282) (initialization): time 0.007487/1.543, allocations: 4.109 MB / 1.235 GB, free: 11.66 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.003453/1.547, allocations: 8.441 MB / 1.244 GB, free: 2.555 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.209e-05/1.547, allocations: 24 kB / 1.244 GB, free: 2.531 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002235/1.549, allocations: 0.7349 MB / 1.244 GB, free: 1.777 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003867/1.553, allocations: 0.7798 MB / 1.245 GB, free: 0.9961 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0142/1.567, allocations: 12.46 MB / 1.257 GB, free: 3.734 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003815/1.571, allocations: 471 kB / 1.258 GB, free: 3.273 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000373/1.571, allocations: 112 kB / 1.258 GB, free: 3.164 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.092e-05/1.571, allocations: 8 kB / 1.258 GB, free: 3.156 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.6203/2.192, allocations: 3.965 MB / 1.262 GB, free: 245.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001021/2.192, allocations: 21.28 kB / 1.262 GB, free: 245.8 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002028/2.194, allocations: 0.6812 MB / 1.262 GB, free: 245.7 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004133/2.198, allocations: 0.7764 MB / 1.263 GB, free: 245.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01272/2.211, allocations: 12.34 MB / 1.275 GB, free: 238.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003867/2.215, allocations: 448.5 kB / 1.276 GB, free: 238.3 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004552/2.215, allocations: 114 kB / 1.276 GB, free: 238.3 MB / 0.8698 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (240): * Single equations (assignments): 234 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006743/2.216, allocations: 246 kB / 1.276 GB, free: 238.2 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005144/2.216, allocations: 122.7 kB / 1.276 GB, free: 238.2 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009435/2.226, allocations: 3.588 MB / 1.28 GB, free: 238 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.315e-05/2.226, allocations: 14.47 kB / 1.28 GB, free: 238 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.56e-05/2.226, allocations: 12.31 kB / 1.28 GB, free: 238 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-05/2.226, allocations: 16.42 kB / 1.28 GB, free: 238 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01489/2.241, allocations: 7.24 MB / 1.287 GB, free: 236.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.141e-05/2.241, allocations: 7.094 kB / 1.287 GB, free: 236.9 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002763/2.244, allocations: 0.5266 MB / 1.287 GB, free: 236.9 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001964/2.246, allocations: 0.6362 MB / 1.288 GB, free: 236.8 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001987/2.246, allocations: 49.7 kB / 1.288 GB, free: 236.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01309/2.259, allocations: 12.01 MB / 1.3 GB, free: 229.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.065e-05/2.259, allocations: 11.72 kB / 1.3 GB, free: 229.3 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006626/2.266, allocations: 3.635 MB / 1.303 GB, free: 228.1 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001198/2.267, allocations: 0.4942 MB / 1.304 GB, free: 227.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002225/2.267, allocations: 37.2 kB / 1.304 GB, free: 227.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00254/2.27, allocations: 402.5 kB / 1.304 GB, free: 227.9 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004065/2.27, allocations: 132.6 kB / 1.304 GB, free: 227.9 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000154/2.27, allocations: 59.11 kB / 1.304 GB, free: 227.9 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.001303/2.272, allocations: 0.7541 MB / 1.305 GB, free: 227.8 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.7e-07/2.272, allocations: 1.219 kB / 1.305 GB, free: 227.8 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.005909/2.278, allocations: 1.191 MB / 1.306 GB, free: 227.8 MB / 0.8698 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (107): * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 6,(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.006575/2.284, allocations: 6.386 MB / 1.312 GB, free: 224 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.01222/2.296, allocations: 6.735 MB / 1.319 GB, free: 222.1 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.378e-05/2.296, allocations: 5.281 kB / 1.319 GB, free: 222.1 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.00328/2.3, allocations: 2.246 MB / 1.321 GB, free: 220.9 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001201/2.301, allocations: 155.3 kB / 1.321 GB, free: 220.8 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01832/2.319, allocations: 6.74 MB / 1.328 GB, free: 218.7 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00219/2.322, allocations: 2.389 MB / 1.33 GB, free: 217.6 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.00411/2.326, allocations: 1.319 MB / 1.332 GB, free: 217.6 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001374/2.327, allocations: 0.8656 MB / 1.332 GB, free: 216.9 MB / 0.8698 GB Notification: Performance of SimCode: time 1.102e-06/2.327, allocations: 3.188 kB / 1.332 GB, free: 216.9 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07591/2.403, allocations: 48.61 MB / 1.38 GB, free: 213.1 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001629/2.403, allocations: 230.9 kB / 1.38 GB, free: 212.9 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.372/5.775, allocations: 0 / 1.38 GB, free: 212.9 MB / 0.8698 GB (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownDY.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownDY.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownDY.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownDY.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_TransformerStepDownDY_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_TransformerStepDownDY.fmu > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownDY.pipe 2>&1)