Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_Transformer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer,fileNamePrefix="Buildings_8_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 8.1.4-maint.8.1.x/package.mo): time 1.916/1.916, allocations: 289.7 MB / 302.2 MB, free: 2.156 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001123/0.001124, allocations: 179 kB / 371.6 MB, free: 3.355 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.742/1.742, allocations: 205.2 MB / 0.6309 GB, free: 11.77 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008908/0.0008909, allocations: 91.89 kB / 0.745 GB, free: 54.72 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.81e-05/3.838e-05, allocations: 4 kB / 0.8663 GB, free: 14.93 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2374/0.2374, allocations: 116.3 MB / 0.9799 GB, free: 10.47 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8514/1.089, allocations: 188.8 MB / 1.164 GB, free: 8.668 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002924/1.089, allocations: 94.78 kB / 1.164 GB, free: 8.633 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.2514/1.341, allocations: 104.7 MB / 1.267 GB, free: 12.58 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.003e-06/1.341, allocations: 0 / 1.267 GB, free: 12.58 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 9.802e-05/1.341, allocations: 67.92 kB / 1.267 GB, free: 12.51 MB / 0.8386 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.005888/1.347, allocations: 2.359 MB / 1.269 GB, free: 10.1 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.209e-05/1.347, allocations: 8.031 kB / 1.269 GB, free: 10.09 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007589/1.348, allocations: 454.1 kB / 1.269 GB, free: 9.633 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01124/1.359, allocations: 1.903 MB / 1.271 GB, free: 7.727 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003832/1.363, allocations: 1.685 MB / 1.273 GB, free: 6 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001734/1.363, allocations: 217.9 kB / 1.273 GB, free: 5.785 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006921/1.364, allocations: 288 kB / 1.273 GB, free: 5.504 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009526/1.373, allocations: 4.799 MB / 1.278 GB, free: 0.6133 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.971e-05/1.373, allocations: 0 / 1.278 GB, free: 0.6133 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003622/1.374, allocations: 128 kB / 1.278 GB, free: 500 kB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003293/1.374, allocations: 196.8 kB / 1.278 GB, free: 300 kB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008091/1.382, allocations: 4.38 MB / 1.283 GB, free: 11.9 MB / 0.8542 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.03119/1.413, allocations: 22.77 MB / 1.305 GB, free: 3.086 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003389/1.417, allocations: 2.02 MB / 1.307 GB, free: 0.9492 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002007/1.419, allocations: 1.161 MB / 1.308 GB, free: 15.77 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002147/1.419, allocations: 110 kB / 1.308 GB, free: 15.64 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.41e-05/1.419, allocations: 59.5 kB / 1.308 GB, free: 15.57 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=116): time 3.888e-06/1.419, allocations: 0 / 1.308 GB, free: 15.57 MB / 0.8855 GB Notification: Performance of matching and sorting (n=146): time 0.02911/1.448, allocations: 8.752 MB / 1.317 GB, free: 6.773 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001467/1.448, allocations: 230.9 kB / 1.317 GB, free: 6.496 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001702/1.45, allocations: 0.9292 MB / 1.318 GB, free: 5.555 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0003191/1.45, allocations: 45.7 kB / 1.318 GB, free: 5.504 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.001011/1.451, allocations: 1.25 MB / 1.319 GB, free: 4.234 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007459/1.452, allocations: 0.5007 MB / 1.32 GB, free: 3.727 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003062/1.452, allocations: 44 kB / 1.32 GB, free: 3.684 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0003039/1.453, allocations: 423 kB / 1.32 GB, free: 3.262 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002381/1.455, allocations: 1.269 MB / 1.321 GB, free: 1.988 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002893/1.458, allocations: 1.941 MB / 1.323 GB, free: 15.74 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002681/1.461, allocations: 1.59 MB / 1.325 GB, free: 14.15 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.376e-05/1.461, allocations: 8 kB / 1.325 GB, free: 14.14 MB / 0.9011 GB Notification: Performance of matching and sorting (n=274) (initialization): time 0.007957/1.469, allocations: 3.995 MB / 1.329 GB, free: 10.12 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 0.003977/1.473, allocations: 8.61 MB / 1.337 GB, free: 0.832 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.476e-05/1.473, allocations: 24 kB / 1.337 GB, free: 0.8086 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002398/1.475, allocations: 0.7504 MB / 1.338 GB, free: 40 kB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003716/1.479, allocations: 0.7645 MB / 1.339 GB, free: 15.27 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01444/1.494, allocations: 12.49 MB / 1.351 GB, free: 1.977 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003789/1.497, allocations: 478.9 kB / 1.351 GB, free: 1.508 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006009/1.498, allocations: 112 kB / 1.351 GB, free: 1.398 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.406e-05/1.498, allocations: 8 kB / 1.351 GB, free: 1.391 MB / 0.9167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00808/1.506, allocations: 3.866 MB / 1.355 GB, free: 13.5 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.647e-05/1.506, allocations: 24 kB / 1.355 GB, free: 13.48 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001953/1.508, allocations: 0.6808 MB / 1.356 GB, free: 12.78 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00374/1.512, allocations: 0.7565 MB / 1.357 GB, free: 12.02 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0137/1.526, allocations: 12.4 MB / 1.369 GB, free: 14.82 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003501/1.529, allocations: 451.2 kB / 1.369 GB, free: 14.38 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005562/1.53, allocations: 115.9 kB / 1.369 GB, free: 14.27 MB / 0.948 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.000901/1.531, allocations: 236.9 kB / 1.369 GB, free: 14.03 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005885/1.531, allocations: 118.6 kB / 1.37 GB, free: 13.91 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007075/1.538, allocations: 3.376 MB / 1.373 GB, free: 10.49 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.469e-05/1.538, allocations: 16 kB / 1.373 GB, free: 10.47 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.132e-05/1.539, allocations: 11.94 kB / 1.373 GB, free: 10.46 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.582e-05/1.539, allocations: 11.97 kB / 1.373 GB, free: 10.45 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01425/1.553, allocations: 7.189 MB / 1.38 GB, free: 3.039 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.091e-05/1.553, allocations: 4 kB / 1.38 GB, free: 3.035 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002587/1.556, allocations: 0.5155 MB / 1.38 GB, free: 2.52 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001862/1.557, allocations: 0.6452 MB / 1.381 GB, free: 1.855 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002102/1.558, allocations: 47.95 kB / 1.381 GB, free: 1.809 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.5656/2.123, allocations: 12.03 MB / 1.393 GB, free: 212.7 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.552e-06/2.123, allocations: 8.75 kB / 1.393 GB, free: 212.7 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005708/2.129, allocations: 3.514 MB / 1.396 GB, free: 211.6 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001133/2.13, allocations: 0.4884 MB / 1.397 GB, free: 211.5 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000212/2.13, allocations: 33.2 kB / 1.397 GB, free: 211.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002593/2.133, allocations: 399.6 kB / 1.397 GB, free: 211.5 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003234/2.133, allocations: 125.5 kB / 1.397 GB, free: 211.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001544/2.133, allocations: 58.22 kB / 1.397 GB, free: 211.5 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001292/2.135, allocations: 0.7202 MB / 1.398 GB, free: 211.4 MB / 0.948 GB Notification: Performance of sort global known variables: time 4.11e-07/2.135, allocations: 0 / 1.398 GB, free: 211.4 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.005788/2.141, allocations: 1.16 MB / 1.399 GB, free: 211.4 MB / 0.948 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.006919/2.147, allocations: 5.979 MB / 1.405 GB, free: 208 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.01231/2.16, allocations: 6.6 MB / 1.411 GB, free: 206.6 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.364e-05/2.16, allocations: 3.188 kB / 1.411 GB, free: 206.6 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.003334/2.163, allocations: 2.219 MB / 1.414 GB, free: 205.9 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001069/2.164, allocations: 147.7 kB / 1.414 GB, free: 205.9 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01758/2.182, allocations: 6.609 MB / 1.42 GB, free: 204.9 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002043/2.184, allocations: 2.335 MB / 1.423 GB, free: 204.1 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.003828/2.188, allocations: 1.27 MB / 1.424 GB, free: 204.1 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001284/2.189, allocations: 0.8428 MB / 1.425 GB, free: 204.1 MB / 0.948 GB Notification: Performance of SimCode: time 1.272e-06/2.189, allocations: 0 / 1.425 GB, free: 204.1 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.073/2.262, allocations: 47.61 MB / 1.471 GB, free: 202.2 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001748/2.262, allocations: 200.5 kB / 1.471 GB, free: 202 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.034/5.297, allocations: 0 / 1.471 GB, free: 202 MB / 0.948 GB (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_Transformer_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_Transformer.fmu > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer.pipe 2>&1)