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.001285/0.001285, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.0107/0.0107, allocations: 172.2 kB / 16.27 MB, free: 6.66 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.899/1.899, allocations: 205.4 MB / 222.4 MB, free: 5.562 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.855/1.855, allocations: 292.7 MB / 0.5502 GB, free: 14.5 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.0005921/0.0005921, allocations: 13.44 kB / 0.6743 GB, free: 25.82 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3033/0.3039, allocations: 116.3 MB / 0.7879 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD): time 0.01737/0.3213, allocations: 15.06 MB / 0.8026 GB, free: 12.46 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01023/0.3316, allocations: 5.753 MB / 0.8082 GB, free: 6.688 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001623/0.3333, allocations: 39.88 kB / 0.8083 GB, free: 6.648 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.0012/0.3345, allocations: 278 kB / 0.8085 GB, free: 6.375 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.003228/0.3377, allocations: 0.9382 MB / 0.8094 GB, free: 5.434 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.002665/0.3404, allocations: 0.7519 MB / 0.8102 GB, free: 4.684 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.006789/0.3472, allocations: 6.012 MB / 0.816 GB, free: 14.66 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01284/0.3601, allocations: 6.255 MB / 0.8221 GB, free: 8.312 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003816/0.364, allocations: 1.199 MB / 0.8233 GB, free: 7.109 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004235/0.3683, allocations: 1.815 MB / 0.8251 GB, free: 5.289 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.001149/0.3694, allocations: 180 kB / 0.8253 GB, free: 5.113 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003338/0.3728, allocations: 1.033 MB / 0.8263 GB, free: 4.078 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.002693/0.3755, allocations: 1.345 MB / 0.8276 GB, free: 2.73 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.003447/0.379, allocations: 1.296 MB / 0.8289 GB, free: 1.422 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.008452/0.3874, allocations: 5.701 MB / 0.8344 GB, free: 11.7 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.051e-06/0.3875, allocations: 0 / 0.8344 GB, free: 11.7 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.926e-06/0.3875, allocations: 4 kB / 0.8344 GB, free: 11.7 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0001465/0.3876, allocations: 3.938 kB / 0.8344 GB, free: 11.7 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.00583/0.3935, allocations: 2.294 MB / 0.8367 GB, free: 9.344 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.679e-05/0.3936, allocations: 8.031 kB / 0.8367 GB, free: 9.336 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01084/0.4044, allocations: 1.995 MB / 0.8386 GB, free: 7.336 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003768/0.4082, allocations: 1.53 MB / 0.8401 GB, free: 5.762 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002521/0.4085, allocations: 205.8 kB / 0.8403 GB, free: 5.559 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001202/0.4097, allocations: 272.2 kB / 0.8406 GB, free: 5.293 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01462/0.4243, allocations: 5.459 MB / 0.8459 GB, free: 15.73 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.282e-05/0.4245, allocations: 3.938 kB / 0.8459 GB, free: 15.73 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003851/0.4249, allocations: 112 kB / 0.846 GB, free: 15.62 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003369/0.4252, allocations: 196.5 kB / 0.8462 GB, free: 15.43 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01523/0.4404, allocations: 5.696 MB / 0.8518 GB, free: 9.711 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03261/0.4731, allocations: 21.27 MB / 0.8725 GB, free: 2.602 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006393/0.4795, allocations: 3.012 MB / 0.8755 GB, free: 15.42 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005396/0.485, allocations: 2.094 MB / 0.8775 GB, free: 13.31 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002691/0.4853, allocations: 122 kB / 0.8776 GB, free: 13.18 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.313e-05/0.4854, allocations: 67.48 kB / 0.8777 GB, free: 13.1 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=139): time 3.337e-06/0.4854, allocations: 0 / 0.8777 GB, free: 13.1 MB / 0.7012 GB Notification: Performance of matching and sorting (n=181): time 0.04279/0.5282, allocations: 12.95 MB / 0.8904 GB, free: 112 kB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001482/0.5284, allocations: 226.9 kB / 0.8906 GB, free: 15.84 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001648/0.53, allocations: 0.9843 MB / 0.8915 GB, free: 14.85 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0003593/0.5304, allocations: 49.7 kB / 0.8916 GB, free: 14.79 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007796/0.5312, allocations: 1.1 MB / 0.8927 GB, free: 13.68 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008448/0.5321, allocations: 0.6201 MB / 0.8933 GB, free: 13.05 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004575/0.5325, allocations: 182.2 kB / 0.8934 GB, free: 12.86 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001288/0.5327, allocations: 334 kB / 0.8938 GB, free: 12.53 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004928/0.5376, allocations: 1.917 MB / 0.8956 GB, free: 10.61 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005352/0.543, allocations: 2.509 MB / 0.8981 GB, free: 7.848 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01049/0.5535, allocations: 4.454 MB / 0.9024 GB, free: 3.148 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.011e-05/0.5536, allocations: 4 kB / 0.9024 GB, free: 3.145 MB / 0.7169 GB Notification: Performance of matching and sorting (n=290) (initialization): time 0.01439/0.568, allocations: 5.524 MB / 0.9078 GB, free: 13.6 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006153/0.5686, allocations: 0.6017 MB / 0.9084 GB, free: 12.75 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.345e-05/0.5687, allocations: 20 kB / 0.9084 GB, free: 12.73 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003583/0.5723, allocations: 1.221 MB / 0.9096 GB, free: 11.51 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003911/0.5762, allocations: 0.7448 MB / 0.9104 GB, free: 10.76 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.5552/1.131, allocations: 10.49 MB / 0.9206 GB, free: 124.6 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006506/1.138, allocations: 447.3 kB / 0.921 GB, free: 124.6 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006677/1.139, allocations: 113.8 kB / 0.9211 GB, free: 124.6 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.082e-05/1.139, allocations: 6 kB / 0.9211 GB, free: 124.6 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02347/1.162, allocations: 5.344 MB / 0.9264 GB, free: 124.4 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.001e-05/1.162, allocations: 19.66 kB / 0.9264 GB, free: 124.4 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00435/1.167, allocations: 0.944 MB / 0.9273 GB, free: 124.4 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005569/1.172, allocations: 0.7554 MB / 0.928 GB, free: 124.4 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01874/1.191, allocations: 10.36 MB / 0.9381 GB, free: 118.8 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003515/1.195, allocations: 441.9 kB / 0.9386 GB, free: 118.8 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006331/1.195, allocations: 112.2 kB / 0.9387 GB, free: 118.8 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.002681/1.198, allocations: 1.217 MB / 0.9399 GB, free: 118.2 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006576/1.199, allocations: 125.3 kB / 0.94 GB, free: 118.2 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01375/1.212, allocations: 5.215 MB / 0.9451 GB, free: 116.4 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.971e-05/1.213, allocations: 18 kB / 0.9451 GB, free: 116.4 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.768e-05/1.213, allocations: 13.16 kB / 0.9451 GB, free: 116.4 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.724e-05/1.213, allocations: 12.61 kB / 0.9451 GB, free: 116.4 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01795/1.231, allocations: 8.86 MB / 0.9538 GB, free: 112.8 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.928e-05/1.231, allocations: 12.23 kB / 0.9538 GB, free: 112.8 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002447/1.233, allocations: 0.5434 MB / 0.9543 GB, free: 112.6 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002525/1.236, allocations: 0.9626 MB / 0.9553 GB, free: 112.2 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002003/1.236, allocations: 64.11 kB / 0.9553 GB, free: 112.1 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01165/1.248, allocations: 9.972 MB / 0.9651 GB, free: 105.1 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.926e-06/1.248, allocations: 11.81 kB / 0.9651 GB, free: 105.1 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01044/1.258, allocations: 4.842 MB / 0.9698 GB, free: 102.2 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001063/1.259, allocations: 0.5333 MB / 0.9703 GB, free: 101.8 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003675/1.26, allocations: 44.44 kB / 0.9704 GB, free: 101.8 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002556/1.262, allocations: 402.1 kB / 0.9707 GB, free: 101.6 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003715/1.262, allocations: 166.6 kB / 0.9709 GB, free: 101.5 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001542/1.263, allocations: 69.3 kB / 0.971 GB, free: 101.5 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001013/1.264, allocations: 0.7252 MB / 0.9717 GB, free: 101.1 MB / 0.7325 GB Notification: Performance of sort global known variables: time 3.5e-07/1.264, allocations: 0 / 0.9717 GB, free: 101.1 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.004656/1.268, allocations: 1.181 MB / 0.9728 GB, free: 100.5 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.0004051/1.269, allocations: 152.4 kB / 0.973 GB, free: 100.4 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.01721/1.286, allocations: 8.157 MB / 0.9809 GB, free: 92.17 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.067e-05/1.286, allocations: 0 / 0.9809 GB, free: 92.17 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.005611/1.292, allocations: 2.674 MB / 0.9836 GB, free: 89.48 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002609/1.294, allocations: 194.6 kB / 0.9837 GB, free: 89.29 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02194/1.316, allocations: 8.42 MB / 0.992 GB, free: 80.75 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00325/1.32, allocations: 2.236 MB / 0.9941 GB, free: 78.48 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.00413/1.324, allocations: 1.282 MB / 0.9954 GB, free: 77.2 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006919/1.324, allocations: 127.3 kB / 0.9955 GB, free: 77.07 MB / 0.7325 GB Notification: Performance of SimCode: time 1.744e-06/1.324, allocations: 0 / 0.9955 GB, free: 77.07 MB / 0.7325 GB Notification: Performance of Templates: time 0.05224/1.377, allocations: 35.19 MB / 1.03 GB, free: 42.04 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: