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/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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001213/0.001213, allocations: 99.7 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.001485/0.001485, 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 3.2.3+maint.om/package.mo): time 2.154/2.154, allocations: 205.4 MB / 222.1 MB, free: 5.523 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 2.267/2.267, allocations: 292.6 MB / 0.5497 GB, free: 14.62 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0006905/0.0006907, allocations: 19.92 kB / 0.6737 GB, free: 26.11 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3582/0.3589, allocations: 116.3 MB / 0.7872 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer): time 0.03322/0.3922, allocations: 15.18 MB / 0.8021 GB, free: 12.64 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.02048/0.4128, allocations: 5.763 MB / 0.8077 GB, free: 6.855 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002283/0.4152, allocations: 31.94 kB / 0.8077 GB, free: 6.824 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.002278/0.4175, allocations: 338 kB / 0.8081 GB, free: 6.492 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.004889/0.4225, allocations: 0.6191 MB / 0.8087 GB, free: 5.871 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.004413/0.4269, allocations: 0.6355 MB / 0.8093 GB, free: 5.234 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.005436/0.4324, allocations: 1.774 MB / 0.811 GB, free: 3.457 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01588/0.4483, allocations: 5.92 MB / 0.8168 GB, free: 13.48 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002573/0.4509, allocations: 1.063 MB / 0.8178 GB, free: 12.41 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002832/0.4538, allocations: 1.238 MB / 0.819 GB, free: 11.17 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0009762/0.4548, allocations: 188 kB / 0.8192 GB, free: 10.99 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0023/0.4571, allocations: 0.5775 MB / 0.8198 GB, free: 10.41 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.002482/0.4596, allocations: 1.326 MB / 0.8211 GB, free: 9.082 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.00161/0.4612, allocations: 0.5589 MB / 0.8216 GB, free: 8.516 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.007663/0.4689, allocations: 5.346 MB / 0.8268 GB, free: 3.156 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.469, allocations: 0 / 0.8268 GB, free: 3.156 MB / 0.6387 GB Notification: Performance of FrontEnd: time 5.099e-06/0.469, allocations: 0 / 0.8268 GB, free: 3.156 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.0002989/0.4693, allocations: 0 / 0.8268 GB, free: 3.156 MB / 0.6387 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.00879/0.4781, allocations: 2.432 MB / 0.8292 GB, free: 0.6641 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 5.062e-05/0.4781, allocations: 8.031 kB / 0.8292 GB, free: 0.6562 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001876/0.48, allocations: 450.1 kB / 0.8297 GB, free: 208 kB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0116/0.4916, allocations: 2.08 MB / 0.8317 GB, free: 14.11 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004939/0.4966, allocations: 1.592 MB / 0.8332 GB, free: 12.48 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003016/0.497, allocations: 217.9 kB / 0.8335 GB, free: 12.26 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001476/0.4985, allocations: 288 kB / 0.8337 GB, free: 11.98 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01691/0.5154, allocations: 5.721 MB / 0.8393 GB, free: 6.168 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001445/0.5156, allocations: 0 / 0.8393 GB, free: 6.168 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001262/0.5169, allocations: 127.8 kB / 0.8394 GB, free: 6.047 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004231/0.5173, allocations: 204.9 kB / 0.8396 GB, free: 5.844 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01636/0.5337, allocations: 5.795 MB / 0.8453 GB, free: 32 kB / 0.6544 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.03808/0.5718, allocations: 23.03 MB / 0.8678 GB, free: 6.941 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007129/0.579, allocations: 2.632 MB / 0.8704 GB, free: 4.188 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002497/0.5793, allocations: 122 kB / 0.8705 GB, free: 4.051 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.928e-05/0.5793, allocations: 51.56 kB / 0.8705 GB, free: 3.992 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=116): time 3.486e-06/0.5794, allocations: 4 kB / 0.8705 GB, free: 3.988 MB / 0.6856 GB Notification: Performance of matching and sorting (n=116): time 0.01602/0.5954, allocations: 5.187 MB / 0.8756 GB, free: 14.73 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001296/0.5955, allocations: 222.6 kB / 0.8758 GB, free: 14.46 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001943/0.5975, allocations: 1.039 MB / 0.8768 GB, free: 13.41 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0003159/0.5978, allocations: 45.7 kB / 0.8769 GB, free: 13.36 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.001074/0.5989, allocations: 1.25 MB / 0.8781 GB, free: 12.09 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007531/0.5997, allocations: 410.2 kB / 0.8785 GB, free: 11.68 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002182/0.5999, allocations: 40 kB / 0.8785 GB, free: 11.64 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0002977/0.6003, allocations: 418.7 kB / 0.8789 GB, free: 11.23 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005242/0.6055, allocations: 1.631 MB / 0.8805 GB, free: 9.594 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005387/0.6109, allocations: 2.301 MB / 0.8827 GB, free: 6.992 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005149/0.6161, allocations: 1.922 MB / 0.8846 GB, free: 5.07 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.123e-05/0.6162, allocations: 4 kB / 0.8846 GB, free: 5.066 MB / 0.7012 GB Notification: Performance of matching and sorting (n=244) (initialization): time 0.01241/0.6286, allocations: 4.394 MB / 0.8889 GB, free: 0.6523 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 0.005272/0.6339, allocations: 8.612 MB / 0.8973 GB, free: 7.363 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.869e-05/0.634, allocations: 20 kB / 0.8973 GB, free: 7.344 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002056/0.6361, allocations: 458.2 kB / 0.8978 GB, free: 6.887 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004112/0.6402, allocations: 0.7609 MB / 0.8985 GB, free: 6.125 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008373/0.6486, allocations: 6.54 MB / 0.9049 GB, free: 15.18 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003632/0.6523, allocations: 0.583 MB / 0.9055 GB, free: 14.6 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005074/0.6528, allocations: 107.9 kB / 0.9056 GB, free: 14.49 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.055e-05/0.6528, allocations: 4 kB / 0.9056 GB, free: 14.49 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01291/0.6658, allocations: 4.237 MB / 0.9097 GB, free: 10.24 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002304/0.6661, allocations: 20 kB / 0.9097 GB, free: 10.22 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00139/0.6675, allocations: 358.4 kB / 0.9101 GB, free: 9.859 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004273/0.6718, allocations: 0.7526 MB / 0.9108 GB, free: 9.105 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009154/0.681, allocations: 6.358 MB / 0.917 GB, free: 2.348 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003527/0.6846, allocations: 0.5136 MB / 0.9175 GB, free: 1.832 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005697/0.6852, allocations: 111.9 kB / 0.9176 GB, free: 1.723 MB / 0.7325 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (223): * Single equations (assignments): 220 * 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.002879/0.6881, allocations: 1.247 MB / 0.9189 GB, free: 476 kB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006175/0.6887, allocations: 118.6 kB / 0.919 GB, free: 356 kB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.844/1.533, allocations: 3.606 MB / 0.9225 GB, free: 123.6 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.656e-05/1.533, allocations: 12.41 kB / 0.9225 GB, free: 123.6 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.448e-05/1.533, allocations: 4.844 kB / 0.9225 GB, free: 123.6 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.185e-05/1.533, allocations: 8.5 kB / 0.9225 GB, free: 123.6 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02989/1.563, allocations: 6.982 MB / 0.9293 GB, free: 122.5 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.73e-05/1.563, allocations: 5.969 kB / 0.9293 GB, free: 122.5 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004298/1.567, allocations: 0.5132 MB / 0.9298 GB, free: 122.5 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001776/1.569, allocations: 353.3 kB / 0.9302 GB, free: 122.4 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003584/1.569, allocations: 51.91 kB / 0.9302 GB, free: 122.4 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01157/1.581, allocations: 6.406 MB / 0.9365 GB, free: 117.6 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.538e-05/1.581, allocations: 9.297 kB / 0.9365 GB, free: 117.6 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01824/1.599, allocations: 3.858 MB / 0.9403 GB, free: 115.9 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002197/1.602, allocations: 478.2 kB / 0.9407 GB, free: 115.7 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007758/1.602, allocations: 29.86 kB / 0.9407 GB, free: 115.7 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005679/1.608, allocations: 392.5 kB / 0.9411 GB, free: 115.7 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005959/1.609, allocations: 94.25 kB / 0.9412 GB, free: 115.6 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000383/1.609, allocations: 47.83 kB / 0.9413 GB, free: 115.6 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.002737/1.612, allocations: 0.7411 MB / 0.942 GB, free: 115.3 MB / 0.7325 GB Notification: Performance of sort global known variables: time 4.81e-07/1.612, allocations: 0 / 0.942 GB, free: 115.3 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.01154/1.624, allocations: 1.429 MB / 0.9434 GB, free: 114.9 MB / 0.7325 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 (92): * Single equations (assignments): 89 * 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.02148/1.645, allocations: 5.884 MB / 0.9491 GB, free: 111.3 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.03478/1.68, allocations: 6.526 MB / 0.9555 GB, free: 108.9 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.976e-05/1.68, allocations: 0 / 0.9555 GB, free: 108.9 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.009944/1.69, allocations: 2.067 MB / 0.9575 GB, free: 107.7 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002401/1.693, allocations: 145.8 kB / 0.9577 GB, free: 107.7 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08554/1.778, allocations: 31.03 MB / 0.988 GB, free: 82.12 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005319/1.784, allocations: 2.242 MB / 0.9901 GB, free: 79.85 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.008797/1.792, allocations: 1.228 MB / 0.9913 GB, free: 78.63 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003687/1.796, allocations: 0.8374 MB / 0.9922 GB, free: 77.8 MB / 0.7325 GB Notification: Performance of SimCode: time 3.997e-06/1.796, allocations: 0 / 0.9922 GB, free: 77.8 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09867/1.895, allocations: 39.15 MB / 1.03 GB, free: 38.96 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002264/1.895, allocations: 230.7 kB / 1.031 GB, free: 38.72 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.714/4.61, allocations: 0 / 1.031 GB, free: 38.72 MB / 0.7325 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) Environment - environmentSimulation: