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.437/1.437, allocations: 249.5 MB / 257 MB, free: 6.832 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.000976/0.0009759, allocations: 180.8 kB / 316.3 MB, free: 3.258 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.569/1.569, allocations: 205.3 MB / 0.5671 GB, free: 15.92 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.0009282/0.0009282, allocations: 96.72 kB / 0.6714 GB, free: 5.035 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.041e-05/2.043e-05, allocations: 4 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2255/0.2255, allocations: 106.3 MB / 0.8853 GB, free: 12.19 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7944/1.02, allocations: 181.5 MB / 1.063 GB, free: 6.227 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002528/1.02, allocations: 95.56 kB / 1.063 GB, free: 6.176 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.2581/1.278, allocations: 105.4 MB / 1.166 GB, free: 6.125 MB / 0.7761 GB Notification: Performance of FrontEnd: time 2.174e-06/1.279, allocations: 0 / 1.166 GB, free: 6.125 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 0.0001452/1.279, allocations: 60 kB / 1.166 GB, free: 6.066 MB / 0.7761 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.008375/1.287, allocations: 2.435 MB / 1.168 GB, free: 3.574 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 5.028e-05/1.287, allocations: 8.562 kB / 1.168 GB, free: 3.566 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01186/1.299, allocations: 1.908 MB / 1.17 GB, free: 1.652 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004613/1.304, allocations: 1.721 MB / 1.172 GB, free: 15.89 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001764/1.304, allocations: 100 kB / 1.172 GB, free: 15.79 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001378/1.305, allocations: 168 kB / 1.172 GB, free: 15.62 MB / 0.7917 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.009443/1.315, allocations: 4.065 MB / 1.176 GB, free: 11.55 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01301/1.328, allocations: 4.496 MB / 1.18 GB, free: 6.969 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001081/1.328, allocations: 3.938 kB / 1.18 GB, free: 6.965 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001049/1.329, allocations: 3.953 kB / 1.18 GB, free: 6.961 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003861/1.329, allocations: 201 kB / 1.18 GB, free: 6.762 MB / 0.7917 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.03059/1.36, allocations: 22.13 MB / 1.202 GB, free: 14.63 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002974/1.363, allocations: 1.993 MB / 1.204 GB, free: 12.52 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001748/1.365, allocations: 1.184 MB / 1.205 GB, free: 11.32 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000218/1.365, allocations: 122.3 kB / 1.205 GB, free: 11.18 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.738e-05/1.365, allocations: 59.83 kB / 1.205 GB, free: 11.11 MB / 0.823 GB Notification: Performance of pre-optimization done (n=123): time 4.278e-06/1.365, allocations: 0 / 1.205 GB, free: 11.11 MB / 0.823 GB Notification: Performance of matching and sorting (n=153): time 0.01614/1.381, allocations: 7.228 MB / 1.212 GB, free: 3.844 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001045/1.381, allocations: 226.9 kB / 1.213 GB, free: 3.574 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001456/1.383, allocations: 0.9134 MB / 1.213 GB, free: 2.652 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0002374/1.383, allocations: 29.7 kB / 1.213 GB, free: 2.617 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007798/1.384, allocations: 1.25 MB / 1.215 GB, free: 1.348 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.000613/1.385, allocations: 0.5043 MB / 1.215 GB, free: 0.8359 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002092/1.385, allocations: 3.938 kB / 1.215 GB, free: 0.832 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0002426/1.385, allocations: 431.2 kB / 1.216 GB, free: 412 kB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001903/1.387, allocations: 1.289 MB / 1.217 GB, free: 15.11 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002304/1.389, allocations: 1.954 MB / 1.219 GB, free: 12.84 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003491/1.393, allocations: 1.903 MB / 1.221 GB, free: 10.95 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.955e-05/1.393, allocations: 4 kB / 1.221 GB, free: 10.95 MB / 0.8386 GB Notification: Performance of matching and sorting (n=282) (initialization): time 0.008729/1.401, allocations: 4.23 MB / 1.225 GB, free: 6.691 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.003232/1.405, allocations: 8.45 MB / 1.233 GB, free: 13.58 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.253e-05/1.405, allocations: 20 kB / 1.233 GB, free: 13.56 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002162/1.407, allocations: 0.7465 MB / 1.234 GB, free: 12.79 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003635/1.411, allocations: 0.7721 MB / 1.235 GB, free: 12.02 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01428/1.425, allocations: 12.23 MB / 1.246 GB, free: 15.09 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003876/1.429, allocations: 430.9 kB / 1.247 GB, free: 14.67 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006344/1.43, allocations: 119.9 kB / 1.247 GB, free: 14.55 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.556e-05/1.43, allocations: 4 kB / 1.247 GB, free: 14.55 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008492/1.438, allocations: 3.952 MB / 1.251 GB, free: 10.58 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.668e-05/1.438, allocations: 20 kB / 1.251 GB, free: 10.56 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001653/1.44, allocations: 0.6534 MB / 1.252 GB, free: 9.887 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003639/1.444, allocations: 0.776 MB / 1.252 GB, free: 9.109 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.5405/1.984, allocations: 11.71 MB / 1.264 GB, free: 246.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003543/1.988, allocations: 409.8 kB / 1.264 GB, free: 246.4 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004238/1.988, allocations: 115 kB / 1.264 GB, free: 246.4 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.0005631/1.989, allocations: 171.8 kB / 1.264 GB, free: 246.3 MB / 0.8698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.006969/1.996, allocations: 3.104 MB / 1.267 GB, free: 246.2 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005225/1.996, allocations: 124.4 kB / 1.268 GB, free: 246.2 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008218/2.004, allocations: 3.646 MB / 1.271 GB, free: 246 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.723e-05/2.005, allocations: 15.69 kB / 1.271 GB, free: 246 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.346e-05/2.005, allocations: 8.969 kB / 1.271 GB, free: 246 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.678e-05/2.005, allocations: 8.5 kB / 1.271 GB, free: 246 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01379/2.018, allocations: 6.715 MB / 1.278 GB, free: 244.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.72e-05/2.018, allocations: 5.188 kB / 1.278 GB, free: 244.9 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002734/2.021, allocations: 0.5209 MB / 1.278 GB, free: 244.9 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001793/2.023, allocations: 0.6181 MB / 1.279 GB, free: 244.9 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002092/2.023, allocations: 30.78 kB / 1.279 GB, free: 244.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01155/2.035, allocations: 11.53 MB / 1.29 GB, free: 237.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-05/2.035, allocations: 10.25 kB / 1.29 GB, free: 237.8 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006727/2.042, allocations: 3.635 MB / 1.294 GB, free: 236.7 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001274/2.043, allocations: 0.4962 MB / 1.294 GB, free: 236.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002769/2.043, allocations: 9.391 kB / 1.294 GB, free: 236.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002678/2.046, allocations: 387.4 kB / 1.295 GB, free: 236.5 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003875/2.046, allocations: 127 kB / 1.295 GB, free: 236.5 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001445/2.046, allocations: 63.08 kB / 1.295 GB, free: 236.5 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.001104/2.048, allocations: 0.7037 MB / 1.295 GB, free: 236.4 MB / 0.8698 GB Notification: Performance of sort global known variables: time 2.51e-07/2.048, allocations: 3.281 kB / 1.295 GB, free: 236.4 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.004959/2.053, allocations: 1.072 MB / 1.296 GB, free: 236.4 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (105): * Single equations (assignments): 99 * 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.006256/2.059, allocations: 6.077 MB / 1.302 GB, free: 232.9 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.01173/2.071, allocations: 6.469 MB / 1.309 GB, free: 231.6 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.418e-05/2.071, allocations: 1.25 kB / 1.309 GB, free: 231.6 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.003754/2.074, allocations: 2.167 MB / 1.311 GB, free: 230.9 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001334/2.076, allocations: 129.7 kB / 1.311 GB, free: 230.9 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01747/2.093, allocations: 6.599 MB / 1.317 GB, free: 229.9 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002123/2.095, allocations: 2.371 MB / 1.32 GB, free: 229.1 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.003742/2.099, allocations: 1.332 MB / 1.321 GB, free: 229.1 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001218/2.1, allocations: 0.8624 MB / 1.322 GB, free: 228.8 MB / 0.8698 GB Notification: Performance of SimCode: time 1.373e-06/2.1, allocations: 0 / 1.322 GB, free: 228.8 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07196/2.172, allocations: 47.4 MB / 1.368 GB, free: 226.6 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002773/2.173, allocations: 198.2 kB / 1.368 GB, free: 226.4 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.803/4.976, allocations: 5.094 kB / 1.368 GB, free: 226.4 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)