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.TransformerDD.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.TransformerDD,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_TransformerDD",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD,fileNamePrefix="Buildings_maint_7_0_x_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/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.591/1.591, allocations: 252 MB / 267 MB, free: 10.96 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001107/0.001107, allocations: 180.8 kB / 326.6 MB, free: 2.215 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.17/2.17, allocations: 205.4 MB / 0.5777 GB, free: 20.51 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.0008545/0.0008544, allocations: 99.94 kB / 0.6823 GB, free: 13.32 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004582/0.0004588, allocations: 9.531 kB / 0.7965 GB, free: 134.9 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2672/0.2676, allocations: 106.3 MB / 0.9003 GB, free: 64.18 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD): time 0.01307/0.2807, allocations: 14.24 MB / 0.9142 GB, free: 49.89 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.008101/0.2889, allocations: 5.47 MB / 0.9196 GB, free: 44.4 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001231/0.2902, allocations: 31.94 kB / 0.9196 GB, free: 44.37 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0007136/0.2909, allocations: 282 kB / 0.9199 GB, free: 44.09 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.002116/0.2931, allocations: 0.7547 MB / 0.9206 GB, free: 43.34 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.002008/0.2951, allocations: 0.5833 MB / 0.9212 GB, free: 42.75 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.003938/0.299, allocations: 4.595 MB / 0.9257 GB, free: 38.15 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006716/0.3058, allocations: 5.403 MB / 0.9309 GB, free: 32.68 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002176/0.308, allocations: 1.222 MB / 0.9321 GB, free: 31.46 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002095/0.3101, allocations: 1.776 MB / 0.9339 GB, free: 29.68 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.0002834/0.3104, allocations: 180 kB / 0.934 GB, free: 29.5 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001461/0.3118, allocations: 0.5853 MB / 0.9346 GB, free: 28.91 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.001092/0.3129, allocations: 1.337 MB / 0.9359 GB, free: 27.57 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.000514/0.3135, allocations: 0.5122 MB / 0.9364 GB, free: 27.05 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.003436/0.3169, allocations: 4.983 MB / 0.9413 GB, free: 22.06 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.282e-06/0.3169, allocations: 0 / 0.9413 GB, free: 22.06 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.555e-06/0.3169, allocations: 0 / 0.9413 GB, free: 22.06 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 8.843e-05/0.317, allocations: 4 kB / 0.9413 GB, free: 22.05 MB / 0.6042 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.004359/0.3214, allocations: 2.317 MB / 0.9435 GB, free: 19.68 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.297e-05/0.3215, allocations: 15.97 kB / 0.9436 GB, free: 19.66 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004992/0.322, allocations: 420.6 kB / 0.944 GB, free: 19.25 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009814/0.3318, allocations: 1.994 MB / 0.9459 GB, free: 17.25 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003407/0.3353, allocations: 1.514 MB / 0.9474 GB, free: 15.69 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001524/0.3354, allocations: 205.5 kB / 0.9476 GB, free: 15.49 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005273/0.336, allocations: 264 kB / 0.9478 GB, free: 15.23 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0107/0.3467, allocations: 5.439 MB / 0.9531 GB, free: 9.691 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.967e-05/0.3468, allocations: 3.938 kB / 0.9532 GB, free: 9.688 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000361/0.3472, allocations: 112 kB / 0.9533 GB, free: 9.578 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002724/0.3474, allocations: 200.4 kB / 0.9534 GB, free: 9.379 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0148/0.3623, allocations: 5.673 MB / 0.959 GB, free: 3.688 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03145/0.3938, allocations: 21.26 MB / 0.9797 GB, free: 12.59 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006215/0.4, allocations: 3.008 MB / 0.9827 GB, free: 9.41 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005477/0.4056, allocations: 2.122 MB / 0.9848 GB, free: 7.273 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002748/0.4059, allocations: 118 kB / 0.9849 GB, free: 7.137 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.592e-05/0.406, allocations: 55.5 kB / 0.9849 GB, free: 7.074 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=139): time 4.298e-06/0.406, allocations: 0 / 0.9849 GB, free: 7.074 MB / 0.6355 GB Notification: Performance of matching and sorting (n=181): time 0.04328/0.4493, allocations: 12.95 MB / 0.9976 GB, free: 10.09 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001567/0.4495, allocations: 230.9 kB / 0.9978 GB, free: 9.816 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001671/0.4512, allocations: 0.9687 MB / 0.9987 GB, free: 8.836 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0004162/0.4516, allocations: 57.7 kB / 0.9988 GB, free: 8.773 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009693/0.4526, allocations: 1.096 MB / 0.9999 GB, free: 7.66 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.001014/0.4536, allocations: 0.62 MB / 1 GB, free: 7.031 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003389/0.454, allocations: 44 kB / 1.001 GB, free: 6.988 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0003148/0.4543, allocations: 439.2 kB / 1.001 GB, free: 6.551 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005054/0.4594, allocations: 1.901 MB / 1.003 GB, free: 4.645 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005468/0.4649, allocations: 2.478 MB / 1.005 GB, free: 1.918 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005459/0.4704, allocations: 2.231 MB / 1.007 GB, free: 15.69 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.561e-05/0.4704, allocations: 4 kB / 1.007 GB, free: 15.69 MB / 0.6667 GB Notification: Performance of matching and sorting (n=290) (initialization): time 0.01381/0.4842, allocations: 5.478 MB / 1.013 GB, free: 10.19 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006984/0.485, allocations: 0.6017 MB / 1.013 GB, free: 9.344 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.325e-05/0.485, allocations: 16 kB / 1.013 GB, free: 9.328 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003443/0.4885, allocations: 1.211 MB / 1.015 GB, free: 8.109 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003518/0.492, allocations: 0.7526 MB / 1.015 GB, free: 7.355 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01643/0.5085, allocations: 10.5 MB / 1.026 GB, free: 12.58 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003723/0.5123, allocations: 455.1 kB / 1.026 GB, free: 12.13 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005118/0.5128, allocations: 112 kB / 1.026 GB, free: 12.02 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.659e-05/0.5128, allocations: 7.953 kB / 1.026 GB, free: 12.02 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01308/0.5259, allocations: 5.313 MB / 1.031 GB, free: 6.691 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.922e-05/0.526, allocations: 19.98 kB / 1.031 GB, free: 6.672 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00255/0.5286, allocations: 0.9621 MB / 1.032 GB, free: 5.703 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003406/0.532, allocations: 0.7487 MB / 1.033 GB, free: 4.953 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01404/0.5461, allocations: 10.32 MB / 1.043 GB, free: 10.37 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00343/0.5495, allocations: 439.6 kB / 1.043 GB, free: 9.938 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003748/0.5499, allocations: 115.9 kB / 1.044 GB, free: 9.824 MB / 0.698 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(6,83.3%) 30,(6,83.3%) 30} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002604/0.5525, allocations: 1.218 MB / 1.045 GB, free: 8.594 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004971/0.553, allocations: 134.5 kB / 1.045 GB, free: 8.461 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0138/0.5668, allocations: 5.201 MB / 1.05 GB, free: 3.207 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.858e-05/0.5669, allocations: 19.95 kB / 1.05 GB, free: 3.188 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.523e-05/0.567, allocations: 12 kB / 1.05 GB, free: 3.176 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.242e-05/0.5671, allocations: 15.91 kB / 1.05 GB, free: 3.16 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.558/1.125, allocations: 8.85 MB / 1.059 GB, free: 137.2 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.977e-05/1.125, allocations: 5.969 kB / 1.059 GB, free: 137.2 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002678/1.128, allocations: 0.5398 MB / 1.059 GB, free: 137.2 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002922/1.131, allocations: 0.9601 MB / 1.06 GB, free: 137.2 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003111/1.131, allocations: 60.48 kB / 1.06 GB, free: 137.2 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01703/1.148, allocations: 9.953 MB / 1.07 GB, free: 134.6 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.26e-05/1.148, allocations: 8.906 kB / 1.07 GB, free: 134.6 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01233/1.161, allocations: 4.828 MB / 1.075 GB, free: 133.8 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001438/1.162, allocations: 0.5309 MB / 1.075 GB, free: 133.6 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003665/1.162, allocations: 40.25 kB / 1.075 GB, free: 133.6 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002758/1.165, allocations: 397.3 kB / 1.076 GB, free: 133.5 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005117/1.166, allocations: 164.5 kB / 1.076 GB, free: 133.5 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001763/1.166, allocations: 74.39 kB / 1.076 GB, free: 133.5 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001111/1.167, allocations: 0.7095 MB / 1.076 GB, free: 133.2 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.5e-07/1.167, allocations: 1.031 kB / 1.076 GB, free: 133.2 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.005276/1.172, allocations: 1.192 MB / 1.078 GB, free: 133.1 MB / 0.698 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(4,100.0%) 32,(7,63.3%) 29} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01241/1.185, allocations: 5.425 MB / 1.083 GB, free: 130.6 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.01974/1.205, allocations: 8.126 MB / 1.091 GB, free: 127.3 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.688e-05/1.205, allocations: 0 / 1.091 GB, free: 127.3 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.006187/1.211, allocations: 2.674 MB / 1.093 GB, free: 125.6 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001901/1.213, allocations: 199.5 kB / 1.094 GB, free: 125.4 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03795/1.251, allocations: 18.18 MB / 1.111 GB, free: 106.6 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002111/1.253, allocations: 2.236 MB / 1.114 GB, free: 104.3 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.003807/1.257, allocations: 1.275 MB / 1.115 GB, free: 103.1 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001103/1.258, allocations: 0.8116 MB / 1.116 GB, free: 102.3 MB / 0.698 GB Notification: Performance of SimCode: time 1.733e-06/1.258, allocations: 1.641 kB / 1.116 GB, free: 102.3 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07335/1.331, allocations: 51.69 MB / 1.166 GB, free: 50.9 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000184/1.331, allocations: 260 kB / 1.166 GB, free: 50.56 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.254/4.585, allocations: 0 / 1.166 GB, free: 50.56 MB / 0.698 GB (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_TransformerDD_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_TransformerDD.fmu > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD.pipe 2>&1)