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.Transformer.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.Transformer,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_Transformer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_Transformer",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.488/1.488, allocations: 249.3 MB / 261.8 MB, free: 5.91 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.001118/0.001119, allocations: 180.6 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.69 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.0008457/0.0008458, allocations: 90.52 kB / 0.6764 GB, free: 15.66 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.65e-05/3.704e-05, allocations: 4 kB / 0.788 GB, free: 97 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2432/0.2433, allocations: 106.3 MB / 0.8919 GB, free: 6.57 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8485/1.092, allocations: 181.6 MB / 1.069 GB, free: 3.484 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003178/1.092, allocations: 102 kB / 1.069 GB, free: 3.426 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.2566/1.349, allocations: 104.7 MB / 1.172 GB, free: 15.92 MB / 0.7917 GB Notification: Performance of FrontEnd: time 2.835e-06/1.349, allocations: 0 / 1.172 GB, free: 15.92 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 0.0001233/1.349, allocations: 52 kB / 1.172 GB, free: 15.87 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: 789 * Number of variables: 789 Notification: Performance of Generate backend data structure: time 0.009522/1.359, allocations: 2.365 MB / 1.174 GB, free: 13.45 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 8.767e-05/1.359, allocations: 8.031 kB / 1.174 GB, free: 13.44 MB / 0.7917 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001922/1.361, allocations: 450.1 kB / 1.174 GB, free: 12.99 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01231/1.373, allocations: 1.896 MB / 1.176 GB, free: 11.09 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005238/1.378, allocations: 1.682 MB / 1.178 GB, free: 9.359 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002595/1.379, allocations: 225.9 kB / 1.178 GB, free: 9.137 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001599/1.38, allocations: 284 kB / 1.178 GB, free: 8.859 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01331/1.393, allocations: 4.807 MB / 1.183 GB, free: 3.957 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.711e-05/1.394, allocations: 4 kB / 1.183 GB, free: 3.953 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005078/1.394, allocations: 123.9 kB / 1.183 GB, free: 3.832 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000387/1.394, allocations: 200.8 kB / 1.183 GB, free: 3.633 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01029/1.405, allocations: 4.373 MB / 1.188 GB, free: 15.25 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.03629/1.441, allocations: 22.76 MB / 1.21 GB, free: 6.43 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003301/1.444, allocations: 2.021 MB / 1.212 GB, free: 4.285 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001923/1.446, allocations: 1.153 MB / 1.213 GB, free: 3.113 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002148/1.447, allocations: 118 kB / 1.213 GB, free: 2.98 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.418e-05/1.447, allocations: 55.5 kB / 1.213 GB, free: 2.918 MB / 0.823 GB Notification: Performance of pre-optimization done (n=116): time 3.717e-06/1.447, allocations: 0 / 1.213 GB, free: 2.918 MB / 0.823 GB Notification: Performance of matching and sorting (n=146): time 0.03567/1.482, allocations: 8.76 MB / 1.222 GB, free: 10.11 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002415/1.483, allocations: 226.9 kB / 1.222 GB, free: 9.836 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002368/1.485, allocations: 0.9292 MB / 1.223 GB, free: 8.898 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 0.0004366/1.486, allocations: 49.7 kB / 1.223 GB, free: 8.844 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.001349/1.487, allocations: 1.239 MB / 1.224 GB, free: 7.586 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.00102/1.488, allocations: 0.5084 MB / 1.225 GB, free: 7.07 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002464/1.488, allocations: 48.03 kB / 1.225 GB, free: 7.023 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0003546/1.489, allocations: 419 kB / 1.225 GB, free: 6.605 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003495/1.492, allocations: 1.269 MB / 1.226 GB, free: 5.332 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00438/1.496, allocations: 1.941 MB / 1.228 GB, free: 3.078 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004207/1.501, allocations: 1.594 MB / 1.23 GB, free: 1.48 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.747e-05/1.501, allocations: 4 kB / 1.23 GB, free: 1.477 MB / 0.8386 GB Notification: Performance of matching and sorting (n=274) (initialization): time 0.0116/1.512, allocations: 4.003 MB / 1.234 GB, free: 13.45 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.004512/1.517, allocations: 8.614 MB / 1.242 GB, free: 4.156 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.087e-05/1.517, allocations: 20 kB / 1.242 GB, free: 4.137 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002782/1.52, allocations: 0.7466 MB / 1.243 GB, free: 3.371 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004383/1.524, allocations: 0.7565 MB / 1.243 GB, free: 2.613 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01427/1.539, allocations: 12.5 MB / 1.256 GB, free: 5.309 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0038/1.542, allocations: 482.9 kB / 1.256 GB, free: 4.836 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005288/1.543, allocations: 111.9 kB / 1.256 GB, free: 4.727 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.573e-05/1.543, allocations: 4 kB / 1.256 GB, free: 4.723 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007367/1.55, allocations: 3.869 MB / 1.26 GB, free: 0.832 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.2e-05/1.55, allocations: 20.55 kB / 1.26 GB, free: 0.8125 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001903/1.552, allocations: 0.6844 MB / 1.261 GB, free: 112 kB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.5919/2.144, allocations: 0.7593 MB / 1.261 GB, free: 247.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0118/2.156, allocations: 12.39 MB / 1.274 GB, free: 240.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003499/2.16, allocations: 452.8 kB / 1.274 GB, free: 240.2 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004535/2.16, allocations: 113.5 kB / 1.274 GB, free: 240.2 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 99 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (232): * Single equations (assignments): 226 * 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.0005932/2.161, allocations: 240.3 kB / 1.274 GB, free: 240.1 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004367/2.161, allocations: 121 kB / 1.274 GB, free: 240.1 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00704/2.168, allocations: 3.369 MB / 1.278 GB, free: 240 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.127e-05/2.168, allocations: 18.38 kB / 1.278 GB, free: 240 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.368e-05/2.168, allocations: 9.094 kB / 1.278 GB, free: 240 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.481e-05/2.168, allocations: 11.09 kB / 1.278 GB, free: 240 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01362/2.182, allocations: 7.192 MB / 1.285 GB, free: 238.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.992e-05/2.182, allocations: 6.031 kB / 1.285 GB, free: 238.8 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002776/2.185, allocations: 0.5176 MB / 1.285 GB, free: 238.8 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002003/2.187, allocations: 0.636 MB / 1.286 GB, free: 238.7 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002747/2.187, allocations: 50.08 kB / 1.286 GB, free: 238.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01204/2.199, allocations: 12.03 MB / 1.298 GB, free: 231.2 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.135e-05/2.199, allocations: 10.12 kB / 1.298 GB, free: 231.2 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006362/2.206, allocations: 3.514 MB / 1.301 GB, free: 230.1 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001312/2.207, allocations: 497.4 kB / 1.302 GB, free: 229.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002565/2.207, allocations: 31.34 kB / 1.302 GB, free: 229.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002717/2.21, allocations: 407.1 kB / 1.302 GB, free: 229.9 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005684/2.211, allocations: 130.1 kB / 1.302 GB, free: 229.9 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001837/2.211, allocations: 60.83 kB / 1.302 GB, free: 229.9 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.001591/2.212, allocations: 0.7209 MB / 1.303 GB, free: 229.8 MB / 0.8698 GB Notification: Performance of sort global known variables: time 2.4e-07/2.212, allocations: 1.438 kB / 1.303 GB, free: 229.8 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.006468/2.219, allocations: 1.161 MB / 1.304 GB, free: 229.8 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 (101): * Single equations (assignments): 95 * 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.007285/2.226, allocations: 5.982 MB / 1.31 GB, free: 226.3 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.01355/2.24, allocations: 6.601 MB / 1.316 GB, free: 224.9 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.654e-05/2.24, allocations: 1.531 kB / 1.316 GB, free: 224.9 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.003829/2.244, allocations: 2.212 MB / 1.319 GB, free: 223.6 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001468/2.245, allocations: 157 kB / 1.319 GB, free: 223.6 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02288/2.268, allocations: 6.602 MB / 1.325 GB, free: 221.6 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003301/2.271, allocations: 2.338 MB / 1.327 GB, free: 220.5 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.004698/2.276, allocations: 1.273 MB / 1.329 GB, free: 220.5 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001709/2.278, allocations: 0.8398 MB / 1.329 GB, free: 219.8 MB / 0.8698 GB Notification: Performance of SimCode: time 1.452e-06/2.278, allocations: 0 / 1.329 GB, free: 219.8 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.073/2.351, allocations: 47.62 MB / 1.376 GB, free: 217.3 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001576/2.351, allocations: 204.9 kB / 1.376 GB, free: 217.1 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.236/5.588, allocations: 0 / 1.376 GB, free: 217.1 MB / 0.8698 GB (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_Transformer_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_Transformer.fmu > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer.pipe 2>&1)