Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerFull.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.TransformerFull,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerFull") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerFull,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerFull") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001071/0.001071, allocations: 106.6 kB / 16.37 MB, free: 5.539 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.001038/0.001038, allocations: 191.7 kB / 17.3 MB, free: 5.172 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.533/1.533, allocations: 205.1 MB / 223.2 MB, free: 12.29 MB / 190.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.834/1.834, allocations: 292.3 MB / 0.5496 GB, free: 17.62 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.001505/0.001505, allocations: 68.42 kB / 0.6729 GB, free: 5.816 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2499/0.2514, allocations: 114.6 MB / 0.7848 GB, free: 3.137 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerFull): time 0.4863/0.7378, allocations: 17.42 MB / 0.8018 GB, free: 40.76 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.01026/0.7481, allocations: 6.21 MB / 0.8079 GB, free: 36.57 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001532/0.7497, allocations: 55.34 kB / 0.8079 GB, free: 36.56 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.004272/0.7539, allocations: 1.575 MB / 0.8095 GB, free: 35.62 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.003459/0.7574, allocations: 1.076 MB / 0.8105 GB, free: 35.01 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.003336/0.7608, allocations: 1.121 MB / 0.8116 GB, free: 34.41 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.006656/0.7674, allocations: 4.424 MB / 0.8159 GB, free: 32.5 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008344/0.7758, allocations: 5.746 MB / 0.8216 GB, free: 30.45 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006451/0.7823, allocations: 1.945 MB / 0.8235 GB, free: 29.56 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005727/0.7881, allocations: 2.311 MB / 0.8257 GB, free: 28.56 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.001369/0.7895, allocations: 455.6 kB / 0.8261 GB, free: 28.56 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003447/0.7929, allocations: 1.14 MB / 0.8273 GB, free: 28.31 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.002917/0.7959, allocations: 1.787 MB / 0.829 GB, free: 27.59 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.004117/0.8, allocations: 1.777 MB / 0.8307 GB, free: 26.43 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.01094/0.811, allocations: 6.593 MB / 0.8372 GB, free: 24.41 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 7.033e-06/0.811, allocations: 0 / 0.8372 GB, free: 24.41 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.474e-06/0.811, allocations: 1.219 kB / 0.8372 GB, free: 24.41 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0002109/0.8112, allocations: 0 / 0.8372 GB, free: 24.41 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: 792 * Number of variables: 792 Notification: Performance of Generate backend data structure: time 0.01183/0.8231, allocations: 3.088 MB / 0.8402 GB, free: 22.65 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.837e-05/0.8231, allocations: 12.27 kB / 0.8402 GB, free: 22.65 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01341/0.8366, allocations: 2.164 MB / 0.8423 GB, free: 21.92 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00615/0.8428, allocations: 1.749 MB / 0.844 GB, free: 20.77 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002145/0.843, allocations: 219.9 kB / 0.8442 GB, free: 20.67 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001222/0.8442, allocations: 283.7 kB / 0.8445 GB, free: 20.57 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01641/0.8607, allocations: 5.909 MB / 0.8503 GB, free: 17.21 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.45e-05/0.8608, allocations: 5.312 kB / 0.8503 GB, free: 17.21 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005077/0.8613, allocations: 121.7 kB / 0.8504 GB, free: 17.11 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005782/0.8619, allocations: 261.6 kB / 0.8506 GB, free: 17.04 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01699/0.8789, allocations: 6.095 MB / 0.8566 GB, free: 13.94 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03337/0.9124, allocations: 22.34 MB / 0.8784 GB, free: 8.535 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006384/0.9188, allocations: 2.533 MB / 0.8809 GB, free: 5.938 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00478/0.9236, allocations: 1.71 MB / 0.8826 GB, free: 4.223 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002339/0.9239, allocations: 114.1 kB / 0.8827 GB, free: 4.094 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.672e-05/0.924, allocations: 43.56 kB / 0.8827 GB, free: 4.043 MB / 0.67 GB Notification: Performance of pre-optimization done (n=122): time 4.198e-06/0.924, allocations: 0 / 0.8827 GB, free: 4.043 MB / 0.67 GB Notification: Performance of matching and sorting (n=173): time 0.05517/0.9791, allocations: 14.64 MB / 0.897 GB, free: 5.32 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.54e-05/0.9792, allocations: 69.41 kB / 0.8971 GB, free: 5.238 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002632/0.9819, allocations: 1.155 MB / 0.8982 GB, free: 4.059 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0004256/0.9823, allocations: 61.7 kB / 0.8983 GB, free: 3.992 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.001222/0.9836, allocations: 1.262 MB / 0.8995 GB, free: 2.711 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.001081/0.9847, allocations: 0.5931 MB / 0.9001 GB, free: 2.109 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001521/0.9862, allocations: 496.1 kB / 0.9005 GB, free: 1.617 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0002351/0.9864, allocations: 345.9 kB / 0.9009 GB, free: 1.273 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005874/0.9923, allocations: 2.037 MB / 0.9029 GB, free: 15.22 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006615/0.999, allocations: 2.742 MB / 0.9055 GB, free: 12.16 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01251/1.012, allocations: 4.831 MB / 0.9103 GB, free: 7.016 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.025e-05/1.012, allocations: 4 kB / 0.9103 GB, free: 7.012 MB / 0.7012 GB Notification: Performance of matching and sorting (n=301) (initialization): time 0.01874/1.03, allocations: 6.257 MB / 0.9164 GB, free: 0.7227 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 8.051e-05/1.03, allocations: 16 kB / 0.9164 GB, free: 0.707 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.23e-05/1.031, allocations: 20 kB / 0.9164 GB, free: 0.6875 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005471/1.036, allocations: 1.524 MB / 0.9179 GB, free: 15.15 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004026/1.04, allocations: 0.7643 MB / 0.9186 GB, free: 14.38 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02535/1.065, allocations: 18.9 MB / 0.9371 GB, free: 10.65 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003992/1.069, allocations: 487 kB / 0.9376 GB, free: 10.18 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006202/1.07, allocations: 120 kB / 0.9377 GB, free: 10.06 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.008003/1.078, allocations: 3.139 MB / 0.9408 GB, free: 6.91 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.006093/1.084, allocations: 2.734 MB / 0.9434 GB, free: 3.852 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01147/1.096, allocations: 4.808 MB / 0.9481 GB, free: 14.73 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.934e-05/1.096, allocations: 8 kB / 0.9481 GB, free: 14.72 MB / 0.7481 GB Notification: Performance of matching and sorting (n=301) (initialization_lambda0): time 0.01765/1.113, allocations: 6.183 MB / 0.9542 GB, free: 8.504 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 3.695e-05/1.114, allocations: 16 kB / 0.9542 GB, free: 8.488 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.046e-05/1.114, allocations: 24 kB / 0.9542 GB, free: 8.465 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004684/1.118, allocations: 1.452 MB / 0.9556 GB, free: 6.996 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003807/1.122, allocations: 0.7565 MB / 0.9564 GB, free: 6.238 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02379/1.146, allocations: 18.74 MB / 0.9747 GB, free: 2.672 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004009/1.15, allocations: 479.1 kB / 0.9751 GB, free: 2.203 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006192/1.151, allocations: 116 kB / 0.9752 GB, free: 2.09 MB / 0.7637 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 102 * 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 (235): * Single equations (assignments): 229 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(3,9,100.0%), (3,9,100.0%), (3,9,100.0%), (3,9,100.0%), (3,9,100.0%), (3,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001039/1.152, allocations: 327.5 kB / 0.9755 GB, free: 1.762 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005525/1.152, allocations: 142.3 kB / 0.9757 GB, free: 1.621 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01556/1.168, allocations: 5.794 MB / 0.9813 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.182e-05/1.168, allocations: 19.94 kB / 0.9813 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.425e-05/1.168, allocations: 15.94 kB / 0.9814 GB, free: 11.74 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.021e-05/1.168, allocations: 7.969 kB / 0.9814 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02225/1.19, allocations: 9.603 MB / 0.9907 GB, free: 1.895 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.151e-05/1.19, allocations: 8 kB / 0.9908 GB, free: 1.887 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002797/1.193, allocations: 0.5186 MB / 0.9913 GB, free: 1.367 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004204/1.197, allocations: 1.273 MB / 0.9925 GB, free: 80 kB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003675/1.198, allocations: 55.95 kB / 0.9926 GB, free: 24 kB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02209/1.22, allocations: 18.08 MB / 1.01 GB, free: 13.11 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.105e-05/1.22, allocations: 11.94 kB / 1.01 GB, free: 13.09 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01405/1.234, allocations: 5.062 MB / 1.015 GB, free: 7.906 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001392/1.235, allocations: 0.5188 MB / 1.016 GB, free: 7.367 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006/1.236, allocations: 32 kB / 1.016 GB, free: 7.336 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003065/1.239, allocations: 439.3 kB / 1.016 GB, free: 6.906 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004913/1.24, allocations: 145 kB / 1.016 GB, free: 6.766 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002456/1.24, allocations: 67.95 kB / 1.016 GB, free: 6.699 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.001486/1.241, allocations: 0.8168 MB / 1.017 GB, free: 5.871 MB / 0.8106 GB Notification: Performance of sort global known variables: time 3e-07/1.241, allocations: 0 / 1.017 GB, free: 5.871 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.005926/1.247, allocations: 1.273 MB / 1.018 GB, free: 4.598 MB / 0.8106 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (104): * Single equations (assignments): 98 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(2,10,100.0%), (2,10,100.0%), (2,10,100.0%), (3,9,100.0%), (3,9,100.0%), (3,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005347/1.248, allocations: 158.9 kB / 1.019 GB, free: 4.434 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.02352/1.271, allocations: 9.495 MB / 1.028 GB, free: 10.79 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 9.678e-06/1.271, allocations: 0 / 1.028 GB, free: 10.79 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.008386/1.28, allocations: 3.276 MB / 1.031 GB, free: 7.438 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002425/1.282, allocations: 241.3 kB / 1.031 GB, free: 7.207 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02636/1.309, allocations: 8.209 MB / 1.039 GB, free: 14.88 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003048/1.312, allocations: 2.448 MB / 1.042 GB, free: 12.39 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001072/1.313, allocations: 167.3 kB / 1.042 GB, free: 12.22 MB / 0.8419 GB Notification: Performance of SimCode: time 1.152e-06/1.313, allocations: 4 kB / 1.042 GB, free: 12.22 MB / 0.8419 GB Notification: Performance of Templates: time 0.5823/1.895, allocations: 132.3 MB / 1.171 GB, free: 281.8 MB / 0.92 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerFull.makefile (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerFull.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerFull.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerFull.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerFull.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerFull -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerFull.pipe 2>&1)