Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD.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.TransformerDD,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_TransformerDD",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_TransformerDD",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.0008976/0.0008976, allocations: 97.95 kB / 15.36 MB, free: 0.7344 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.005626/0.005626, allocations: 171.1 kB / 16.27 MB, free: 6.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.174/1.174, allocations: 205.4 MB / 222.4 MB, free: 5.574 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 1.547/1.547, allocations: 292.7 MB / 0.5502 GB, free: 14.48 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.0005381/0.0005381, allocations: 12.41 kB / 0.6744 GB, free: 25.65 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1799/0.1804, allocations: 116.3 MB / 0.788 GB, free: 11.51 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD): time 0.01487/0.1953, allocations: 15.08 MB / 0.8027 GB, free: 12.39 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.007248/0.2026, allocations: 5.745 MB / 0.8083 GB, free: 6.621 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004639/0.2031, allocations: 35.88 kB / 0.8084 GB, free: 6.586 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.0005135/0.2036, allocations: 278 kB / 0.8086 GB, free: 6.312 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.001431/0.205, allocations: 0.9421 MB / 0.8096 GB, free: 5.367 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.001214/0.2062, allocations: 0.7526 MB / 0.8103 GB, free: 4.613 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.004245/0.2105, allocations: 6.004 MB / 0.8162 GB, free: 14.6 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007018/0.2175, allocations: 6.269 MB / 0.8223 GB, free: 8.234 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001873/0.2194, allocations: 1.195 MB / 0.8234 GB, free: 7.035 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002177/0.2216, allocations: 1.819 MB / 0.8252 GB, free: 5.211 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0002349/0.2219, allocations: 176 kB / 0.8254 GB, free: 5.039 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001488/0.2234, allocations: 1.029 MB / 0.8264 GB, free: 4.008 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0009887/0.2243, allocations: 1.349 MB / 0.8277 GB, free: 2.656 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0009979/0.2254, allocations: 1.296 MB / 0.829 GB, free: 1.348 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.003776/0.2291, allocations: 5.705 MB / 0.8345 GB, free: 11.62 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.2291, allocations: 0 / 0.8345 GB, free: 11.62 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.473e-06/0.2292, allocations: 4 kB / 0.8345 GB, free: 11.62 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 2.637e-05/0.2292, allocations: 4 kB / 0.8346 GB, free: 11.62 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 729 * Number of variables: 729 Notification: Performance of Generate backend data structure: time 0.003495/0.2327, allocations: 2.283 MB / 0.8368 GB, free: 9.277 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.38e-05/0.2327, allocations: 12.03 kB / 0.8368 GB, free: 9.266 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004627/0.2332, allocations: 424.8 kB / 0.8372 GB, free: 8.844 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009802/0.243, allocations: 1.999 MB / 0.8391 GB, free: 6.84 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002046/0.2451, allocations: 1.534 MB / 0.8406 GB, free: 5.262 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001244/0.2452, allocations: 205.8 kB / 0.8408 GB, free: 5.059 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004363/0.2456, allocations: 260.3 kB / 0.8411 GB, free: 4.805 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008842/0.2545, allocations: 5.462 MB / 0.8464 GB, free: 15.25 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.931e-05/0.2546, allocations: 7.938 kB / 0.8464 GB, free: 15.24 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002994/0.2549, allocations: 112 kB / 0.8465 GB, free: 15.13 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000255/0.2551, allocations: 196.5 kB / 0.8467 GB, free: 14.93 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01088/0.266, allocations: 5.7 MB / 0.8523 GB, free: 9.215 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01777/0.2838, allocations: 21.28 MB / 0.8731 GB, free: 2.102 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004945/0.2888, allocations: 2.998 MB / 0.876 GB, free: 14.93 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004751/0.2935, allocations: 2.09 MB / 0.878 GB, free: 12.82 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001543/0.2937, allocations: 126 kB / 0.8782 GB, free: 12.69 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.798e-05/0.2937, allocations: 63.48 kB / 0.8782 GB, free: 12.62 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=139): time 2.625e-06/0.2937, allocations: 0 / 0.8782 GB, free: 12.62 MB / 0.7012 GB Notification: Performance of matching and sorting (n=181): time 0.03437/0.3281, allocations: 12.96 MB / 0.8909 GB, free: 15.62 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.081e-05/0.3282, allocations: 230.9 kB / 0.8911 GB, free: 15.35 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001023/0.3292, allocations: 0.9803 MB / 0.8921 GB, free: 14.36 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0001316/0.3294, allocations: 57.7 kB / 0.8921 GB, free: 14.3 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005133/0.3299, allocations: 1.096 MB / 0.8932 GB, free: 13.18 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004403/0.3304, allocations: 0.62 MB / 0.8938 GB, free: 12.55 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002665/0.3306, allocations: 182.2 kB / 0.894 GB, free: 12.37 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 9.279e-05/0.3307, allocations: 337.9 kB / 0.8943 GB, free: 12.04 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004177/0.3349, allocations: 1.921 MB / 0.8962 GB, free: 10.11 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004597/0.3395, allocations: 2.501 MB / 0.8986 GB, free: 7.355 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008915/0.3484, allocations: 4.458 MB / 0.903 GB, free: 2.652 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.185e-05/0.3485, allocations: 8 kB / 0.903 GB, free: 2.645 MB / 0.7169 GB Notification: Performance of matching and sorting (n=290) (initialization): time 0.01171/0.3602, allocations: 5.517 MB / 0.9083 GB, free: 13.11 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003057/0.3605, allocations: 0.6017 MB / 0.9089 GB, free: 12.27 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.768e-05/0.3605, allocations: 16 kB / 0.909 GB, free: 12.25 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002989/0.3635, allocations: 1.225 MB / 0.9101 GB, free: 11.02 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00298/0.3665, allocations: 0.7526 MB / 0.9109 GB, free: 10.27 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2994/0.666, allocations: 10.48 MB / 0.9211 GB, free: 123.3 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003098/0.6691, allocations: 452.2 kB / 0.9215 GB, free: 123.3 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002102/0.6693, allocations: 111.5 kB / 0.9217 GB, free: 123.3 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.037e-05/0.6693, allocations: 4.594 kB / 0.9217 GB, free: 123.3 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0111/0.6804, allocations: 5.34 MB / 0.9269 GB, free: 123.2 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.43e-05/0.6805, allocations: 17.19 kB / 0.9269 GB, free: 123.2 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002301/0.6828, allocations: 0.959 MB / 0.9278 GB, free: 123.2 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003252/0.6861, allocations: 0.7468 MB / 0.9286 GB, free: 123.1 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01158/0.6977, allocations: 10.36 MB / 0.9387 GB, free: 117.6 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002918/0.7006, allocations: 439 kB / 0.9391 GB, free: 117.6 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002357/0.7008, allocations: 107.8 kB / 0.9392 GB, free: 117.6 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 79 * 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 (220): * Single equations (assignments): 218 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(5,31,92.0%), (6,30,83.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001744/0.7026, allocations: 1.223 MB / 0.9404 GB, free: 117 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003548/0.703, allocations: 123.8 kB / 0.9405 GB, free: 117 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01165/0.7146, allocations: 5.22 MB / 0.9456 GB, free: 115.3 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.14e-05/0.7147, allocations: 18.56 kB / 0.9456 GB, free: 115.3 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.444e-05/0.7147, allocations: 14.09 kB / 0.9456 GB, free: 115.3 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.637e-05/0.7147, allocations: 13.58 kB / 0.9456 GB, free: 115.3 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01445/0.7292, allocations: 8.86 MB / 0.9543 GB, free: 111.5 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-05/0.7292, allocations: 16.27 kB / 0.9543 GB, free: 111.5 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002254/0.7315, allocations: 0.5375 MB / 0.9548 GB, free: 111.3 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002227/0.7337, allocations: 0.963 MB / 0.9558 GB, free: 110.9 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001229/0.7338, allocations: 58.7 kB / 0.9558 GB, free: 110.9 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00965/0.7435, allocations: 9.985 MB / 0.9656 GB, free: 103.8 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.5e-06/0.7435, allocations: 11.84 kB / 0.9656 GB, free: 103.8 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008843/0.7524, allocations: 4.833 MB / 0.9703 GB, free: 100.9 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00063/0.753, allocations: 0.5299 MB / 0.9708 GB, free: 100.5 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001952/0.7532, allocations: 45.72 kB / 0.9709 GB, free: 100.5 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00222/0.7554, allocations: 397.6 kB / 0.9713 GB, free: 100.3 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002447/0.7557, allocations: 168.2 kB / 0.9714 GB, free: 100.2 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001154/0.7558, allocations: 64.36 kB / 0.9715 GB, free: 100.2 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0006488/0.7565, allocations: 0.7202 MB / 0.9722 GB, free: 99.77 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.11e-07/0.7565, allocations: 0 / 0.9722 GB, free: 99.77 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002814/0.7593, allocations: 1.184 MB / 0.9733 GB, free: 99.36 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 36 * 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 (109): * Single equations (assignments): 107 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(4,32,100.0%), (7,29,63.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.008789/0.7681, allocations: 5.455 MB / 0.9787 GB, free: 93.77 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.01461/0.7827, allocations: 8.156 MB / 0.9866 GB, free: 85.58 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.7827, allocations: 448 / 0.9866 GB, free: 85.58 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.004904/0.7876, allocations: 2.671 MB / 0.9892 GB, free: 82.89 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001886/0.7895, allocations: 195.5 kB / 0.9894 GB, free: 82.7 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04174/0.8313, allocations: 27.08 MB / 1.016 GB, free: 54.48 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001461/0.8328, allocations: 2.236 MB / 1.018 GB, free: 52.2 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.003037/0.8358, allocations: 1.282 MB / 1.019 GB, free: 50.92 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008975/0.8367, allocations: 0.8116 MB / 1.02 GB, free: 50.11 MB / 0.7325 GB Notification: Performance of SimCode: time 6.71e-07/0.8367, allocations: 0 / 1.02 GB, free: 50.11 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 6.512/7.349, allocations: 51.15 MB / 1.07 GB, free: 15.32 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002061/7.349, allocations: 256.4 kB / 1.07 GB, free: 15.06 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.874/11.22, allocations: 0 / 1.07 GB, free: 15.06 MB / 0.7481 GB (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_TransformerDD_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_TransformerDD.fmu > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD.pipe 2>&1)