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/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: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.801/1.801, allocations: 292.3 MB / 308.1 MB, free: 4.293 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.001918/0.001917, allocations: 195.8 kB / 376.9 MB, free: 1.812 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.805/1.805, allocations: 205 MB / 0.6354 GB, free: 9.797 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.001058/0.001057, allocations: 99.56 kB / 0.748 GB, free: 61.17 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001593/0.001593, allocations: 55.92 kB / 0.8704 GB, free: 13.11 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2964/0.298, allocations: 114.5 MB / 0.9822 GB, free: 10.4 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD): time 0.01972/0.3178, allocations: 15.62 MB / 0.9975 GB, free: 10.72 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.009943/0.3277, allocations: 5.819 MB / 1.003 GB, free: 4.879 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00195/0.3297, allocations: 39.88 kB / 1.003 GB, free: 4.84 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.003523/0.3333, allocations: 1.167 MB / 1.004 GB, free: 3.668 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.003182/0.3365, allocations: 0.9343 MB / 1.005 GB, free: 2.73 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.002657/0.3391, allocations: 0.9357 MB / 1.006 GB, free: 1.793 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.006612/0.3458, allocations: 6.023 MB / 1.012 GB, free: 11.76 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008109/0.3539, allocations: 5.702 MB / 1.018 GB, free: 5.988 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00272/0.3567, allocations: 1.46 MB / 1.019 GB, free: 4.523 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002956/0.3596, allocations: 2.131 MB / 1.021 GB, free: 2.387 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.0005303/0.3602, allocations: 280 kB / 1.021 GB, free: 2.113 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00228/0.3625, allocations: 1.143 MB / 1.023 GB, free: 0.9688 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.5028/0.8652, allocations: 1.498 MB / 1.024 GB, free: 74.11 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.002915/0.8682, allocations: 1.463 MB / 1.025 GB, free: 73.98 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.006807/0.875, allocations: 5.886 MB / 1.031 GB, free: 73.62 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.8751, allocations: 2.875 kB / 1.031 GB, free: 73.62 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.022e-06/0.8751, allocations: 0 / 1.031 GB, free: 73.62 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 0.0001529/0.8752, allocations: 0 / 1.031 GB, free: 73.62 MB / 0.7448 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.007704/0.8829, allocations: 2.834 MB / 1.034 GB, free: 72.55 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.636e-05/0.883, allocations: 12.83 kB / 1.034 GB, free: 72.55 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0121/0.8951, allocations: 1.986 MB / 1.036 GB, free: 72.42 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005585/0.9007, allocations: 1.532 MB / 1.037 GB, free: 72.07 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003195/0.9011, allocations: 204.2 kB / 1.038 GB, free: 72.06 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001653/0.9028, allocations: 264.9 kB / 1.038 GB, free: 72.06 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01494/0.9177, allocations: 5.458 MB / 1.043 GB, free: 71.78 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.467e-05/0.9178, allocations: 8.844 kB / 1.043 GB, free: 71.77 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004195/0.9182, allocations: 110.9 kB / 1.043 GB, free: 71.77 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003541/0.9186, allocations: 200.8 kB / 1.043 GB, free: 71.77 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01497/0.9336, allocations: 5.693 MB / 1.049 GB, free: 71.73 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02584/0.9595, allocations: 21.2 MB / 1.07 GB, free: 58.11 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005694/0.9652, allocations: 3.001 MB / 1.073 GB, free: 56.62 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004824/0.9701, allocations: 2.111 MB / 1.075 GB, free: 56.04 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002109/0.9703, allocations: 128.5 kB / 1.075 GB, free: 55.94 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.337e-05/0.9704, allocations: 52.84 kB / 1.075 GB, free: 55.89 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=139): time 4.178e-06/0.9704, allocations: 0 / 1.075 GB, free: 55.89 MB / 0.7448 GB Notification: Performance of matching and sorting (n=181): time 0.03738/1.008, allocations: 12.81 MB / 1.087 GB, free: 51.79 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.684e-05/1.008, allocations: 232.7 kB / 1.088 GB, free: 51.54 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001202/1.009, allocations: 0.9835 MB / 1.089 GB, free: 51.13 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 0.0002251/1.009, allocations: 52.11 kB / 1.089 GB, free: 51.08 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004497/1.01, allocations: 1.098 MB / 1.09 GB, free: 50.24 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004809/1.01, allocations: 0.619 MB / 1.09 GB, free: 49.76 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007427/1.011, allocations: 474.3 kB / 1.091 GB, free: 49.55 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 8.591e-05/1.011, allocations: 333.5 kB / 1.091 GB, free: 49.24 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004396/1.016, allocations: 1.926 MB / 1.093 GB, free: 48.67 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004717/1.02, allocations: 2.504 MB / 1.095 GB, free: 47.41 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009057/1.029, allocations: 4.455 MB / 1.1 GB, free: 45.48 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.804e-05/1.029, allocations: 3.094 kB / 1.1 GB, free: 45.48 MB / 0.7448 GB Notification: Performance of matching and sorting (n=290) (initialization): time 0.01245/1.042, allocations: 5.519 MB / 1.105 GB, free: 43.82 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 4.597e-05/1.042, allocations: 17.31 kB / 1.105 GB, free: 43.82 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.96e-05/1.042, allocations: 16.59 kB / 1.105 GB, free: 43.82 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003115/1.045, allocations: 1.213 MB / 1.106 GB, free: 43.55 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003549/1.049, allocations: 0.7467 MB / 1.107 GB, free: 43.53 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01245/1.061, allocations: 10.48 MB / 1.117 GB, free: 37.41 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003538/1.065, allocations: 454.7 kB / 1.118 GB, free: 37.36 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005275/1.065, allocations: 112.1 kB / 1.118 GB, free: 37.34 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.006491/1.072, allocations: 2.937 MB / 1.121 GB, free: 36.36 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.005198/1.077, allocations: 2.49 MB / 1.123 GB, free: 35.11 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01055/1.088, allocations: 4.434 MB / 1.127 GB, free: 33.18 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.104e-05/1.088, allocations: 5.344 kB / 1.127 GB, free: 33.18 MB / 0.7448 GB Notification: Performance of matching and sorting (n=290) (initialization_lambda0): time 0.01475/1.102, allocations: 5.448 MB / 1.133 GB, free: 31.54 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 3.336e-05/1.103, allocations: 13.16 kB / 1.133 GB, free: 31.54 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.652e-05/1.103, allocations: 22.22 kB / 1.133 GB, free: 31.53 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002904/1.105, allocations: 1.136 MB / 1.134 GB, free: 31.26 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003815/1.109, allocations: 0.7376 MB / 1.135 GB, free: 31.25 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01511/1.124, allocations: 10.31 MB / 1.145 GB, free: 25.19 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003689/1.128, allocations: 445.5 kB / 1.145 GB, free: 25.14 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000412/1.129, allocations: 113.2 kB / 1.145 GB, free: 25.12 MB / 0.7448 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.0006435/1.129, allocations: 316.4 kB / 1.146 GB, free: 24.87 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004432/1.13, allocations: 130.8 kB / 1.146 GB, free: 24.8 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01338/1.143, allocations: 5.208 MB / 1.151 GB, free: 23.06 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.542e-05/1.143, allocations: 22.41 kB / 1.151 GB, free: 23.06 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.534e-05/1.143, allocations: 15.56 kB / 1.151 GB, free: 23.05 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.296e-05/1.143, allocations: 13.52 kB / 1.151 GB, free: 23.05 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01918/1.162, allocations: 8.87 MB / 1.16 GB, free: 19.51 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.691e-05/1.163, allocations: 11.53 kB / 1.16 GB, free: 19.51 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002571/1.165, allocations: 0.5373 MB / 1.16 GB, free: 19.5 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002592/1.168, allocations: 0.9676 MB / 1.161 GB, free: 19.26 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003168/1.168, allocations: 54.39 kB / 1.161 GB, free: 19.24 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01171/1.18, allocations: 9.951 MB / 1.171 GB, free: 13.05 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.435e-06/1.18, allocations: 15.38 kB / 1.171 GB, free: 13.05 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01512/1.195, allocations: 7.739 MB / 1.178 GB, free: 7.273 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001107/1.196, allocations: 0.5071 MB / 1.179 GB, free: 6.746 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002315/1.196, allocations: 48.64 kB / 1.179 GB, free: 6.699 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002458/1.199, allocations: 391.4 kB / 1.179 GB, free: 6.316 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003988/1.199, allocations: 163.8 kB / 1.179 GB, free: 6.16 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001438/1.199, allocations: 69.83 kB / 1.179 GB, free: 6.094 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0008742/1.2, allocations: 0.7254 MB / 1.18 GB, free: 5.371 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.1e-07/1.2, allocations: 0 / 1.18 GB, free: 5.371 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.004966/1.205, allocations: 1.188 MB / 1.181 GB, free: 4.184 MB / 0.7448 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.0003156/1.206, allocations: 164.6 kB / 1.181 GB, free: 4.031 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.01977/1.225, allocations: 8.092 MB / 1.189 GB, free: 12.02 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 1.378e-05/1.225, allocations: 4 kB / 1.189 GB, free: 12.02 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.006812/1.232, allocations: 2.671 MB / 1.192 GB, free: 9.363 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002077/1.234, allocations: 197.2 kB / 1.192 GB, free: 9.172 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02338/1.258, allocations: 9.448 MB / 1.201 GB, free: 15.6 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00293/1.261, allocations: 2.311 MB / 1.204 GB, free: 13.25 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.004123/1.265, allocations: 1.282 MB / 1.205 GB, free: 11.98 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005446/1.265, allocations: 131.3 kB / 1.205 GB, free: 11.86 MB / 0.7761 GB Notification: Performance of SimCode: time 3.51e-07/1.265, allocations: 3.938 kB / 1.205 GB, free: 11.85 MB / 0.7761 GB Notification: Performance of Templates: time 0.06063/1.326, allocations: 37.2 MB / 1.241 GB, free: 6.891 MB / 0.8073 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD.makefile (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 & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD.pipe 2>&1)