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/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 7.0.3-maint.7.0.x/package.mo", uses=false) 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) 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: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000872/0.0008717, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.0008127/0.0008128, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.712/1.712, allocations: 205.4 MB / 222.1 MB, free: 5.887 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.549/1.549, allocations: 252 MB / 0.5102 GB, free: 4.758 MB / 414.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.0006347/0.0006348, allocations: 19.94 kB / 0.6243 GB, free: 1.078 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6193/0.62, allocations: 106.3 MB / 0.7281 GB, free: 11.37 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD): time 0.01629/0.6363, allocations: 14.24 MB / 0.742 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.009044/0.6454, allocations: 5.474 MB / 0.7474 GB, free: 7.59 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001037/0.6464, allocations: 35.88 kB / 0.7474 GB, free: 7.555 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.000671/0.6471, allocations: 278 kB / 0.7477 GB, free: 7.281 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001727/0.6489, allocations: 0.7548 MB / 0.7484 GB, free: 6.523 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001677/0.6506, allocations: 0.5839 MB / 0.749 GB, free: 5.941 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.005158/0.6557, allocations: 4.587 MB / 0.7535 GB, free: 1.344 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00858/0.6643, allocations: 5.402 MB / 0.7588 GB, free: 11.88 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002616/0.667, allocations: 1.218 MB / 0.7599 GB, free: 10.66 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003016/0.67, allocations: 1.776 MB / 0.7617 GB, free: 8.875 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0003829/0.6704, allocations: 180 kB / 0.7619 GB, free: 8.699 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0016/0.672, allocations: 0.5931 MB / 0.7624 GB, free: 8.105 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.001505/0.6735, allocations: 1.341 MB / 0.7637 GB, free: 6.762 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.000731/0.6742, allocations: 0.5122 MB / 0.7642 GB, free: 6.242 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.00531/0.6796, allocations: 4.977 MB / 0.7691 GB, free: 1.254 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.6796, allocations: 0 / 0.7691 GB, free: 1.254 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.004e-06/0.6796, allocations: 0 / 0.7691 GB, free: 1.254 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0001349/0.6798, allocations: 0 / 0.7691 GB, free: 1.254 MB / 0.5762 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.005793/0.6855, allocations: 2.314 MB / 0.7714 GB, free: 14.88 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.879e-05/0.6856, allocations: 12.03 kB / 0.7714 GB, free: 14.87 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009907/0.6955, allocations: 1.994 MB / 0.7733 GB, free: 12.87 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003774/0.6993, allocations: 1.521 MB / 0.7748 GB, free: 11.31 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000205/0.6996, allocations: 201.5 kB / 0.775 GB, free: 11.11 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007306/0.7003, allocations: 271.9 kB / 0.7753 GB, free: 10.84 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01136/0.7117, allocations: 5.432 MB / 0.7806 GB, free: 5.312 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.745e-05/0.7117, allocations: 3.953 kB / 0.7806 GB, free: 5.309 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003129/0.7121, allocations: 116 kB / 0.7807 GB, free: 5.195 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002982/0.7124, allocations: 196.5 kB / 0.7809 GB, free: 5 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0122/0.7246, allocations: 5.677 MB / 0.7864 GB, free: 15.3 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02832/0.7529, allocations: 21.25 MB / 0.8072 GB, free: 8.215 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005385/0.7584, allocations: 3.013 MB / 0.8101 GB, free: 5.031 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004496/0.7629, allocations: 2.118 MB / 0.8122 GB, free: 2.898 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002062/0.7631, allocations: 126 kB / 0.8123 GB, free: 2.754 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.523e-05/0.7632, allocations: 47.56 kB / 0.8123 GB, free: 2.699 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=139): time 3.376e-06/0.7632, allocations: 0 / 0.8123 GB, free: 2.699 MB / 0.6231 GB Notification: Performance of matching and sorting (n=181): time 0.03619/0.7994, allocations: 12.95 MB / 0.825 GB, free: 5.715 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001921/0.7997, allocations: 238.9 kB / 0.8252 GB, free: 5.434 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001455/0.8011, allocations: 0.9648 MB / 0.8261 GB, free: 4.457 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0001829/0.8013, allocations: 57.7 kB / 0.8262 GB, free: 4.395 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007375/0.8021, allocations: 1.1 MB / 0.8273 GB, free: 3.277 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006079/0.8027, allocations: 0.6161 MB / 0.8279 GB, free: 2.652 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000158/0.8028, allocations: 48 kB / 0.8279 GB, free: 2.605 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0002277/0.8031, allocations: 427.3 kB / 0.8283 GB, free: 2.18 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004139/0.8072, allocations: 1.901 MB / 0.8302 GB, free: 280 kB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004713/0.8119, allocations: 2.49 MB / 0.8326 GB, free: 13.53 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004688/0.8167, allocations: 2.215 MB / 0.8348 GB, free: 11.32 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.406e-05/0.8167, allocations: 8 kB / 0.8348 GB, free: 11.31 MB / 0.6544 GB Notification: Performance of matching and sorting (n=290) (initialization): time 0.01226/0.829, allocations: 5.478 MB / 0.8401 GB, free: 5.816 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005202/0.8295, allocations: 0.6056 MB / 0.8407 GB, free: 4.965 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.905e-05/0.8296, allocations: 20 kB / 0.8407 GB, free: 4.945 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003015/0.8326, allocations: 1.22 MB / 0.8419 GB, free: 3.719 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003081/0.8357, allocations: 0.7409 MB / 0.8427 GB, free: 2.977 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0142/0.8499, allocations: 10.5 MB / 0.8529 GB, free: 8.195 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00315/0.8531, allocations: 459.1 kB / 0.8534 GB, free: 7.746 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004128/0.8535, allocations: 111.9 kB / 0.8535 GB, free: 7.637 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.138e-05/0.8535, allocations: 4 kB / 0.8535 GB, free: 7.633 MB / 0.67 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01208/0.8656, allocations: 5.322 MB / 0.8587 GB, free: 2.301 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.91e-05/0.8657, allocations: 19.98 kB / 0.8587 GB, free: 2.281 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002454/0.8682, allocations: 0.9466 MB / 0.8596 GB, free: 1.328 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003628/0.8719, allocations: 0.7565 MB / 0.8603 GB, free: 0.5703 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0139/0.8858, allocations: 10.33 MB / 0.8704 GB, free: 5.977 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003015/0.8889, allocations: 439.2 kB / 0.8708 GB, free: 5.547 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003347/0.8892, allocations: 115.9 kB / 0.871 GB, free: 5.434 MB / 0.6856 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.002284/0.8915, allocations: 1.207 MB / 0.8721 GB, free: 4.215 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000527/0.892, allocations: 138.5 kB / 0.8723 GB, free: 4.078 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01153/0.9036, allocations: 5.194 MB / 0.8773 GB, free: 14.83 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.164e-05/0.9037, allocations: 23.95 kB / 0.8774 GB, free: 14.81 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.732e-05/0.9037, allocations: 19.94 kB / 0.8774 GB, free: 14.79 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.874e-05/0.9037, allocations: 15.97 kB / 0.8774 GB, free: 14.77 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01695/0.9207, allocations: 8.847 MB / 0.886 GB, free: 5.75 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.919e-05/0.9208, allocations: 8 kB / 0.886 GB, free: 5.742 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002317/0.9231, allocations: 0.5381 MB / 0.8866 GB, free: 5.203 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002402/0.9255, allocations: 0.9662 MB / 0.8875 GB, free: 4.23 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002833/0.9258, allocations: 59.95 kB / 0.8876 GB, free: 4.172 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01321/0.939, allocations: 9.951 MB / 0.8973 GB, free: 9.945 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.257e-06/0.9391, allocations: 11.94 kB / 0.8973 GB, free: 9.934 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01073/0.9498, allocations: 4.826 MB / 0.902 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001289/0.9512, allocations: 0.5344 MB / 0.9025 GB, free: 4.426 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004537/0.9516, allocations: 44 kB / 0.9026 GB, free: 4.383 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002514/0.9542, allocations: 399.3 kB / 0.903 GB, free: 3.992 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004613/0.9547, allocations: 164.9 kB / 0.9031 GB, free: 3.832 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001895/0.9549, allocations: 67.95 kB / 0.9032 GB, free: 3.766 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001383/0.9563, allocations: 0.7176 MB / 0.9039 GB, free: 3.051 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.31e-07/0.9563, allocations: 0 / 0.9039 GB, free: 3.051 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.005401/0.9617, allocations: 1.18 MB / 0.905 GB, free: 1.871 MB / 0.7169 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.0004443/0.9622, allocations: 169.2 kB / 0.9052 GB, free: 1.703 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.4353/1.397, allocations: 8.107 MB / 0.9131 GB, free: 165.8 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.784e-05/1.398, allocations: 1.438 kB / 0.9131 GB, free: 165.8 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.006651/1.404, allocations: 2.67 MB / 0.9157 GB, free: 165.5 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001665/1.406, allocations: 189.9 kB / 0.9159 GB, free: 165.5 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01704/1.423, allocations: 8.199 MB / 0.9239 GB, free: 162.1 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001914/1.425, allocations: 2.236 MB / 0.9261 GB, free: 161.1 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.003592/1.428, allocations: 1.277 MB / 0.9273 GB, free: 160.9 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000481/1.429, allocations: 135.4 kB / 0.9275 GB, free: 160.9 MB / 0.7169 GB Notification: Performance of SimCode: time 9.01e-07/1.429, allocations: 0 / 0.9275 GB, free: 160.9 MB / 0.7169 GB Notification: Performance of Templates: time 0.04429/1.473, allocations: 34.58 MB / 0.9612 GB, free: 128.8 MB / 0.7169 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD.makefile Environment - environmentSimulation: (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 & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD.pipe 2>&1) Environment - environmentSimulation: