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.001004/0.001003, allocations: 98.45 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.001059/0.001059, 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.163/2.163, allocations: 205.4 MB / 222.1 MB, free: 5.527 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.119/2.119, allocations: 292.6 MB / 0.5497 GB, free: 14.61 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.0005899/0.0005901, allocations: 12.84 kB / 0.6737 GB, free: 26.1 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.347/0.3477, allocations: 116.3 MB / 0.7872 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD): time 0.03147/0.3792, allocations: 13.94 MB / 0.8008 GB, free: 13.86 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01206/0.3914, allocations: 5.413 MB / 0.8061 GB, free: 8.434 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001707/0.3931, allocations: 31.94 kB / 0.8062 GB, free: 8.402 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001055/0.3942, allocations: 302.2 kB / 0.8065 GB, free: 8.105 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.002954/0.3972, allocations: 0.5996 MB / 0.807 GB, free: 7.504 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.00244/0.3997, allocations: 0.6199 MB / 0.8076 GB, free: 6.883 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.002969/0.4026, allocations: 1.692 MB / 0.8093 GB, free: 5.188 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008914/0.4116, allocations: 5.415 MB / 0.8146 GB, free: 15.71 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002257/0.4139, allocations: 0.997 MB / 0.8156 GB, free: 14.71 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002352/0.4162, allocations: 1.164 MB / 0.8167 GB, free: 13.54 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0003984/0.4167, allocations: 180 kB / 0.8169 GB, free: 13.37 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001652/0.4183, allocations: 0.5735 MB / 0.8174 GB, free: 12.79 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.001474/0.4198, allocations: 1.232 MB / 0.8186 GB, free: 11.56 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0007683/0.4206, allocations: 0.5044 MB / 0.8191 GB, free: 11.05 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.005578/0.4262, allocations: 4.975 MB / 0.824 GB, free: 6.059 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.4262, allocations: 0 / 0.824 GB, free: 6.059 MB / 0.6387 GB Notification: Performance of FrontEnd: time 3.226e-06/0.4262, allocations: 4 kB / 0.824 GB, free: 6.055 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.0001577/0.4264, allocations: 0 / 0.824 GB, free: 6.055 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: 729 * Number of variables: 729 Notification: Performance of Generate backend data structure: time 0.005782/0.4322, allocations: 2.31 MB / 0.8262 GB, free: 3.688 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 5.003e-05/0.4322, allocations: 8.031 kB / 0.8262 GB, free: 3.68 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008241/0.433, allocations: 416.6 kB / 0.8266 GB, free: 3.266 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01113/0.4442, allocations: 2.072 MB / 0.8287 GB, free: 1.188 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004931/0.4492, allocations: 1.514 MB / 0.8301 GB, free: 15.63 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001906/0.4494, allocations: 205.5 kB / 0.8303 GB, free: 15.43 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006948/0.4501, allocations: 264 kB / 0.8306 GB, free: 15.17 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01379/0.4639, allocations: 5.423 MB / 0.8359 GB, free: 9.648 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.788e-05/0.464, allocations: 0 / 0.8359 GB, free: 9.648 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003678/0.4644, allocations: 115.9 kB / 0.836 GB, free: 9.535 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003525/0.4647, allocations: 192.5 kB / 0.8362 GB, free: 9.344 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01449/0.4792, allocations: 5.677 MB / 0.8417 GB, free: 3.648 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03025/0.5095, allocations: 21.27 MB / 0.8625 GB, free: 12.54 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005846/0.5154, allocations: 3.002 MB / 0.8654 GB, free: 9.371 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002334/0.5157, allocations: 118 kB / 0.8655 GB, free: 9.238 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.76e-05/0.5157, allocations: 63.48 kB / 0.8656 GB, free: 9.168 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=139): time 3.286e-06/0.5158, allocations: 0 / 0.8656 GB, free: 9.168 MB / 0.6856 GB Notification: Performance of matching and sorting (n=139): time 0.01831/0.5341, allocations: 6.031 MB / 0.8715 GB, free: 3.105 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001316/0.5342, allocations: 226.6 kB / 0.8717 GB, free: 2.832 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001569/0.5358, allocations: 0.9803 MB / 0.8727 GB, free: 1.844 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0002251/0.5361, allocations: 49.7 kB / 0.8727 GB, free: 1.789 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008128/0.5369, allocations: 1.095 MB / 0.8738 GB, free: 0.6758 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005709/0.5375, allocations: 493 kB / 0.8743 GB, free: 192 kB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001359/0.5376, allocations: 40 kB / 0.8743 GB, free: 152 kB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0002718/0.5379, allocations: 422.7 kB / 0.8747 GB, free: 15.73 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004707/0.5426, allocations: 1.682 MB / 0.8763 GB, free: 14.04 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005044/0.5477, allocations: 2.235 MB / 0.8785 GB, free: 11.58 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00472/0.5524, allocations: 1.946 MB / 0.8804 GB, free: 9.629 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.325e-05/0.5525, allocations: 4 kB / 0.8804 GB, free: 9.625 MB / 0.7012 GB Notification: Performance of matching and sorting (n=248) (initialization): time 0.01112/0.5636, allocations: 4.505 MB / 0.8848 GB, free: 5.105 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 0.003333/0.5669, allocations: 6.708 MB / 0.8914 GB, free: 13.88 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.715e-05/0.567, allocations: 16 kB / 0.8914 GB, free: 13.86 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001736/0.5687, allocations: 0.6153 MB / 0.892 GB, free: 13.25 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003607/0.5724, allocations: 0.7331 MB / 0.8927 GB, free: 12.51 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007427/0.5798, allocations: 5.138 MB / 0.8977 GB, free: 7.234 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003618/0.5835, allocations: 0.5481 MB / 0.8983 GB, free: 6.684 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000362/0.5839, allocations: 99.95 kB / 0.8984 GB, free: 6.586 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.275e-05/0.5839, allocations: 4 kB / 0.8984 GB, free: 6.582 MB / 0.7169 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0108/0.5947, allocations: 4.348 MB / 0.9026 GB, free: 2.227 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.586e-05/0.5948, allocations: 20 kB / 0.9026 GB, free: 2.207 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001019/0.5958, allocations: 417.9 kB / 0.903 GB, free: 1.797 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003297/0.5991, allocations: 0.7409 MB / 0.9037 GB, free: 1.055 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007132/0.6063, allocations: 4.987 MB / 0.9086 GB, free: 11.93 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003407/0.6097, allocations: 0.5057 MB / 0.9091 GB, free: 11.42 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002891/0.61, allocations: 99.95 kB / 0.9092 GB, free: 11.32 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 77 * 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 (213): * Single equations (assignments): 212 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(6,77.8%) 30} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002675/0.6127, allocations: 1.172 MB / 0.9104 GB, free: 10.14 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004558/0.6132, allocations: 114.7 kB / 0.9105 GB, free: 10.03 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01036/0.6235, allocations: 4.067 MB / 0.9144 GB, free: 5.918 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.486e-05/0.6236, allocations: 19.95 kB / 0.9145 GB, free: 5.898 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.846e-06/0.6236, allocations: 4 kB / 0.9145 GB, free: 5.895 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.047e-05/0.6236, allocations: 11.97 kB / 0.9145 GB, free: 5.883 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.8806/1.504, allocations: 7.222 MB / 0.9215 GB, free: 124.1 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.828e-05/1.504, allocations: 6.5 kB / 0.9215 GB, free: 124.1 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005927/1.51, allocations: 0.5199 MB / 0.922 GB, free: 124.1 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002716/1.513, allocations: 448.9 kB / 0.9225 GB, free: 124.1 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005423/1.514, allocations: 45.66 kB / 0.9225 GB, free: 124.1 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01376/1.527, allocations: 5.032 MB / 0.9274 GB, free: 122.8 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.567e-05/1.528, allocations: 9.812 kB / 0.9274 GB, free: 122.8 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01931/1.547, allocations: 4.083 MB / 0.9314 GB, free: 121.6 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002165/1.549, allocations: 0.4904 MB / 0.9319 GB, free: 121.3 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005459/1.55, allocations: 30.77 kB / 0.9319 GB, free: 121.3 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004601/1.554, allocations: 382.2 kB / 0.9323 GB, free: 121.3 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004992/1.555, allocations: 106 kB / 0.9324 GB, free: 121.3 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002499/1.555, allocations: 61.02 kB / 0.9324 GB, free: 121.3 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.002043/1.557, allocations: 0.7126 MB / 0.9331 GB, free: 121 MB / 0.7325 GB Notification: Performance of sort global known variables: time 5.11e-07/1.557, allocations: 0 / 0.9331 GB, free: 121 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.007523/1.565, allocations: 1.392 MB / 0.9345 GB, free: 120.6 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 (98): * Single equations (assignments): 97 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(4,100.0%) 32} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.02077/1.586, allocations: 6.133 MB / 0.9405 GB, free: 116.8 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.03402/1.62, allocations: 6.454 MB / 0.9468 GB, free: 114.8 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-05/1.62, allocations: 3.141 kB / 0.9468 GB, free: 114.8 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.01063/1.63, allocations: 1.975 MB / 0.9487 GB, free: 114.2 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002345/1.633, allocations: 145.6 kB / 0.9489 GB, free: 114.1 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07255/1.705, allocations: 27.57 MB / 0.9758 GB, free: 94.31 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003129/1.709, allocations: 2.15 MB / 0.9779 GB, free: 92.86 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.007869/1.717, allocations: 1.259 MB / 0.9791 GB, free: 92.29 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002821/1.719, allocations: 0.761 MB / 0.9799 GB, free: 91.61 MB / 0.7325 GB Notification: Performance of SimCode: time 8.196e-06/1.723, allocations: 0 / 0.9799 GB, free: 91.61 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1194/1.842, allocations: 40.27 MB / 1.019 GB, free: 52.37 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002758/1.842, allocations: 240.8 kB / 1.019 GB, free: 52.12 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.927/4.769, allocations: 0 / 1.019 GB, free: 52.12 MB / 0.7325 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/linux/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) Environment - environmentSimulation: