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: 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001697/0.001697, allocations: 105.4 kB / 15.7 MB, free: 24 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002346/0.002346, allocations: 196.5 kB / 16.64 MB, free: 6.449 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.628/1.628, allocations: 205.1 MB / 222.5 MB, free: 4.578 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.757/1.757, allocations: 292.3 MB / 0.549 GB, free: 12.73 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.001509/0.001509, allocations: 67.91 kB / 0.6723 GB, free: 25.96 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2597/0.2612, allocations: 114.5 MB / 0.7841 GB, free: 12.69 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD): time 0.01933/0.2805, allocations: 15.72 MB / 0.7995 GB, free: 12.91 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01018/0.2908, allocations: 5.787 MB / 0.8051 GB, free: 7.105 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001701/0.2925, allocations: 43.88 kB / 0.8052 GB, free: 7.062 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.003658/0.2963, allocations: 1.252 MB / 0.8064 GB, free: 5.809 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.003135/0.2994, allocations: 0.9959 MB / 0.8074 GB, free: 4.809 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.003221/0.3026, allocations: 1.017 MB / 0.8084 GB, free: 3.789 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.005019/0.3077, allocations: 3.968 MB / 0.8122 GB, free: 15.81 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006973/0.3147, allocations: 5.048 MB / 0.8172 GB, free: 10.69 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003693/0.3184, allocations: 1.726 MB / 0.8189 GB, free: 8.961 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004348/0.3228, allocations: 2.096 MB / 0.8209 GB, free: 6.859 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.001346/0.3241, allocations: 404 kB / 0.8213 GB, free: 6.465 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003044/0.3272, allocations: 1.081 MB / 0.8223 GB, free: 5.383 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.002498/0.3297, allocations: 1.63 MB / 0.8239 GB, free: 3.75 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.002369/0.3321, allocations: 1.592 MB / 0.8255 GB, free: 2.152 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.006795/0.3389, allocations: 5.964 MB / 0.8313 GB, free: 12.17 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 7.464e-06/0.339, allocations: 0 / 0.8313 GB, free: 12.17 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.883e-06/0.339, allocations: 0 / 0.8313 GB, free: 12.17 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0001532/0.3391, allocations: 4 kB / 0.8313 GB, free: 12.17 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.006713/0.3459, allocations: 2.833 MB / 0.8341 GB, free: 9.277 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.691e-05/0.3459, allocations: 12.03 kB / 0.8341 GB, free: 9.266 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01089/0.3568, allocations: 1.983 MB / 0.836 GB, free: 7.277 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003945/0.3608, allocations: 1.554 MB / 0.8375 GB, free: 5.68 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001614/0.361, allocations: 209.8 kB / 0.8377 GB, free: 5.473 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006344/0.3616, allocations: 260.4 kB / 0.838 GB, free: 5.219 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01268/0.3743, allocations: 5.463 MB / 0.8433 GB, free: 15.66 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.243e-05/0.3744, allocations: 0 / 0.8433 GB, free: 15.66 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003567/0.3748, allocations: 112 kB / 0.8434 GB, free: 15.55 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003177/0.3751, allocations: 196.5 kB / 0.8436 GB, free: 15.35 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01489/0.39, allocations: 5.692 MB / 0.8492 GB, free: 9.641 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02753/0.4176, allocations: 21.07 MB / 0.8698 GB, free: 2.73 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005498/0.4231, allocations: 2.996 MB / 0.8727 GB, free: 15.57 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005093/0.4282, allocations: 2.114 MB / 0.8748 GB, free: 13.43 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001937/0.4284, allocations: 126 kB / 0.8749 GB, free: 13.29 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.176e-05/0.4285, allocations: 51.56 kB / 0.8749 GB, free: 13.23 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=139): time 3.567e-06/0.4285, allocations: 4 kB / 0.8749 GB, free: 13.23 MB / 0.7012 GB Notification: Performance of matching and sorting (n=181): time 0.03978/0.4683, allocations: 12.81 MB / 0.8874 GB, free: 384 kB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001329/0.4685, allocations: 234.9 kB / 0.8877 GB, free: 100 kB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001542/0.47, allocations: 0.9726 MB / 0.8886 GB, free: 15.12 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0003358/0.4704, allocations: 57.7 kB / 0.8887 GB, free: 15.05 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.000735/0.4711, allocations: 1.096 MB / 0.8897 GB, free: 13.94 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007021/0.4718, allocations: 0.6278 MB / 0.8903 GB, free: 13.3 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000795/0.4726, allocations: 468 kB / 0.8908 GB, free: 12.84 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001855/0.4728, allocations: 334 kB / 0.8911 GB, free: 12.51 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005201/0.478, allocations: 1.923 MB / 0.893 GB, free: 10.57 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006034/0.4841, allocations: 2.505 MB / 0.8954 GB, free: 7.812 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01111/0.4953, allocations: 4.454 MB / 0.8998 GB, free: 3.113 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.176e-05/0.4953, allocations: 8 kB / 0.8998 GB, free: 3.105 MB / 0.7169 GB Notification: Performance of matching and sorting (n=290) (initialization): time 0.01379/0.5091, allocations: 5.52 MB / 0.9052 GB, free: 13.57 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 4.529e-05/0.5092, allocations: 12.28 kB / 0.9052 GB, free: 13.55 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.922e-05/0.5093, allocations: 20 kB / 0.9052 GB, free: 13.54 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003357/0.5126, allocations: 1.213 MB / 0.9064 GB, free: 12.32 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003431/0.5161, allocations: 0.7448 MB / 0.9071 GB, free: 11.57 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.508/1.024, allocations: 11.41 MB / 0.9183 GB, free: 126.3 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003641/1.028, allocations: 453.6 kB / 0.9187 GB, free: 126.3 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004425/1.028, allocations: 121.4 kB / 0.9188 GB, free: 126.3 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.008421/1.037, allocations: 2.937 MB / 0.9217 GB, free: 126.2 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.005374/1.042, allocations: 2.496 MB / 0.9241 GB, free: 125.5 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01016/1.052, allocations: 4.429 MB / 0.9285 GB, free: 123.7 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.395e-05/1.052, allocations: 6.703 kB / 0.9285 GB, free: 123.7 MB / 0.7325 GB Notification: Performance of matching and sorting (n=290) (initialization_lambda0): time 0.01354/1.066, allocations: 5.449 MB / 0.9338 GB, free: 122 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.697e-05/1.066, allocations: 13.86 kB / 0.9338 GB, free: 122 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-05/1.066, allocations: 17.31 kB / 0.9338 GB, free: 122 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003013/1.069, allocations: 1.133 MB / 0.9349 GB, free: 121.8 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003794/1.073, allocations: 0.7412 MB / 0.9356 GB, free: 121.7 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01516/1.088, allocations: 11.23 MB / 0.9466 GB, free: 115.2 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003397/1.091, allocations: 447.2 kB / 0.947 GB, free: 115.2 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003101/1.092, allocations: 114.8 kB / 0.9471 GB, free: 115.2 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.0006389/1.092, allocations: 310.7 kB / 0.9474 GB, free: 114.9 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003972/1.093, allocations: 124.1 kB / 0.9476 GB, free: 114.9 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01194/1.105, allocations: 5.21 MB / 0.9526 GB, free: 113.1 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.409e-05/1.105, allocations: 17.25 kB / 0.9527 GB, free: 113.1 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.995e-05/1.105, allocations: 12.41 kB / 0.9527 GB, free: 113.1 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.223e-05/1.105, allocations: 11.88 kB / 0.9527 GB, free: 113.1 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01737/1.122, allocations: 8.857 MB / 0.9613 GB, free: 107.9 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.303e-05/1.122, allocations: 11.75 kB / 0.9613 GB, free: 107.9 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002358/1.125, allocations: 0.5402 MB / 0.9619 GB, free: 107.7 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002273/1.127, allocations: 0.961 MB / 0.9628 GB, free: 107.2 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001472/1.127, allocations: 62.61 kB / 0.9629 GB, free: 107.2 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01152/1.139, allocations: 10.87 MB / 0.9735 GB, free: 98.86 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.775e-06/1.139, allocations: 15.94 kB / 0.9735 GB, free: 98.84 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009717/1.148, allocations: 4.843 MB / 0.9782 GB, free: 93.87 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009987/1.15, allocations: 0.502 MB / 0.9787 GB, free: 93.35 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003056/1.15, allocations: 43.98 kB / 0.9788 GB, free: 93.3 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002412/1.152, allocations: 399.4 kB / 0.9791 GB, free: 92.91 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000338/1.153, allocations: 161.9 kB / 0.9793 GB, free: 92.76 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001371/1.153, allocations: 71.95 kB / 0.9794 GB, free: 92.69 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.000812/1.154, allocations: 0.7253 MB / 0.9801 GB, free: 91.96 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.3e-07/1.154, allocations: 0 / 0.9801 GB, free: 91.96 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.003735/1.157, allocations: 1.184 MB / 0.9812 GB, free: 90.78 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.0002813/1.158, allocations: 157.8 kB / 0.9814 GB, free: 90.62 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.01679/1.174, allocations: 8.124 MB / 0.9893 GB, free: 82.45 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.273e-05/1.174, allocations: 0 / 0.9893 GB, free: 82.45 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.005694/1.18, allocations: 2.684 MB / 0.9919 GB, free: 79.75 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00173/1.182, allocations: 200.3 kB / 0.9921 GB, free: 79.57 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01746/1.199, allocations: 7.224 MB / 0.9992 GB, free: 72.22 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001803/1.201, allocations: 2.235 MB / 1.001 GB, free: 69.95 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.004311/1.206, allocations: 1.281 MB / 1.003 GB, free: 68.67 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005072/1.206, allocations: 131.3 kB / 1.003 GB, free: 68.54 MB / 0.7325 GB Notification: Performance of SimCode: time 1.062e-06/1.206, allocations: 4 kB / 1.003 GB, free: 68.54 MB / 0.7325 GB Notification: Performance of Templates: time 0.04897/1.255, allocations: 36.87 MB / 1.039 GB, free: 31.88 MB / 0.7325 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)